Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » WindowBuilder » SWT Installation Error(WindowBuilder couldn't start)
SWT Installation Error [message #1701573] Tue, 14 July 2015 08:38 Go to next message
Oguz Ozcan is currently offline Oguz OzcanFriend
Messages: 1
Registered: July 2015
Junior Member
Hello all,

I tried to install the SWT packages to my Eclipse Mars. I installed all the packages below :

SWT Designer
SWT Designer Core
SWT Designer Documentation
SWT Designer SWT_AWT Support
SWT Designer XWT Support (requires Eclipse WTP/WST)
WindowBuilder Core
WindowBuilder Core Documentation
WindowBuilder Core UI
WindowBuilder GroupLayout Support
WindowBuilder Java Core
WindowBuilder XML Core

But when i tried to use designer tool it gives me strange exception :

Full stacktrace of the exception, i also attached the eclipse report of the log file. :

org.eclipse.wb.os.OSSupportError: Can't initialize the support for current OS:
at org.eclipse.wb.os.OSSupport.getInstance(OSSupport.java:67)
at org.eclipse.wb.os.OSSupport.<clinit>(OSSupport.java:40)
at org.eclipse.wb.internal.rcp.support.ToolkitSupportImpl.beginShot(ToolkitSupportImpl.java:111)
at org.eclipse.wb.internal.swt.support.ToolkitSupport.beginShot(ToolkitSupport.java:85)
at org.eclipse.wb.internal.swt.model.widgets.ControlInfo.refresh_fetch(ControlInfo.java:181)
at org.eclipse.wb.internal.swt.model.widgets.ControlInfo.refresh_fetch(ControlInfo.java:157)
at org.eclipse.wb.internal.swt.model.widgets.ControlInfo.refresh_fetch(ControlInfo.java:124)
at org.eclipse.wb.internal.swt.model.widgets.ScrollableInfo.refresh_fetch(ScrollableInfo.java:49)
at org.eclipse.wb.internal.swt.model.widgets.CompositeInfo.refresh_fetch(CompositeInfo.java:301)
at org.eclipse.wb.core.model.ObjectInfo$6$1.run(ObjectInfo.java:496)
at org.eclipse.wb.internal.core.utils.execution.ExecutionUtils.runDesignTime(ExecutionUtils.java:145)
at org.eclipse.wb.core.model.ObjectInfo$6.run(ObjectInfo.java:494)
at org.eclipse.wb.core.model.ObjectInfo.execRefreshOperation(ObjectInfo.java:514)
at org.eclipse.wb.core.model.ObjectInfo.refresh(ObjectInfo.java:492)
at org.eclipse.wb.internal.core.editor.DesignPage.internal_refreshGEF(DesignPage.java:580)
at org.eclipse.wb.internal.core.editor.DesignPage.access$9(DesignPage.java:522)
at org.eclipse.wb.internal.core.editor.DesignPage$8$1.run(DesignPage.java:449)
at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:186)
at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:145)
at org.eclipse.swt.widgets.Display.syncExec(Display.java:4761)
at org.eclipse.wb.internal.core.editor.DesignPage$8.run(DesignPage.java:446)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:463)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:371)
at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:500)
at org.eclipse.wb.internal.core.editor.DesignPage.internal_refreshGEF_withProgress(DesignPage.java:465)
at org.eclipse.wb.internal.core.editor.DesignPage.internal_refreshGEF(DesignPage.java:415)
at org.eclipse.wb.internal.core.editor.UndoManager.refreshDesignerEditor(UndoManager.java:381)
at org.eclipse.wb.internal.core.editor.UndoManager.activate(UndoManager.java:90)
at org.eclipse.wb.internal.core.editor.DesignPage.handleActiveState_True(DesignPage.java:263)
at org.eclipse.wb.internal.core.editor.DesignPage.handleActiveState(DesignPage.java:241)
at org.eclipse.wb.internal.core.editor.multi.DefaultMultiMode.showPage(DefaultMultiMode.java:125)
at org.eclipse.wb.internal.core.editor.multi.DefaultMultiMode$1.widgetSelected(DefaultMultiMode.java:63)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4362)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1113)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1137)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1122)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:788)
at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:3158)
at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:1841)
at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:330)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4362)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1113)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4180)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3769)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:654)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:598)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
at org.eclipse.equinox.launcher.Main.run(Main.java:1515)
Caused by: java.lang.UnsatisfiedLinkError: no wbp in java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at org.eclipse.wb.internal.os.win32.OSSupportWin32.<clinit>(OSSupportWin32.java:45)
at sun.misc.Unsafe.ensureClassInitialized(Native Method)
at sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(Unknown Source)
at sun.reflect.ReflectionFactory.newFieldAccessor(Unknown Source)
at java.lang.reflect.Field.acquireFieldAccessor(Unknown Source)
at java.lang.reflect.Field.getFieldAccessor(Unknown Source)
at java.lang.reflect.Field.get(Unknown Source)
at org.eclipse.wb.os.OSSupport.getInstance(OSSupport.java:63)
... 67 more



Could you please look into that one ? Many tahnks in advance!
Re: SWT Installation Error [message #1703658 is a reply to message #1701573] Mon, 03 August 2015 22:52 Go to previous messageGo to next message
Dana Smoot is currently offline Dana SmootFriend
Messages: 4
Registered: August 2015
Junior Member
Did you ever find an answer to this issue? I'm seeing the same thing. I'm trying to go through the tutorial from the Vogella website on using WindowBuilder and I get the same error you posted.
Re: SWT Installation Error [message #1704151 is a reply to message #1703658] Fri, 07 August 2015 16:41 Go to previous messageGo to next message
Eric Clayberg is currently offline Eric ClaybergFriend
Messages: 979
Registered: July 2009
Location: Boston, MA
Senior Member
Looks like an installation problem. I see lots of installation errors in the .log file you supplied.

The actual exception is the result of the plugin only being partially installed (and thus missing pieces).
Re: SWT Installation Error [message #1705758 is a reply to message #1704151] Tue, 18 August 2015 20:40 Go to previous messageGo to next message
Dana Smoot is currently offline Dana SmootFriend
Messages: 4
Registered: August 2015
Junior Member
I just ran Install New Software, pointed it to http://download.eclipse.org/releases/mars and selected:
-WindowBuilder Core 1.8.0r45x20150611xxxx
-WindowBuilder Core Documentation 1.8.0r45x20150611xxxx
-WindowBuilder Core UI 1.8.0r45x20150611xxxx
-WindowBuilder GroupLayout Support 1.8.0r45x20150611xxxx
-WindowBuilder Java Core 1.8.0r45x20150611xxxx
-WindowBuilder XML Core 1.8.0r45x20150611xxxx

Im new to using eclipse, is there some other prerequisite that I'm missing?

Dana

FYI, here is my exact stack trace:
org.eclipse.wb.os.OSSupportError: Can't initialize the support for current OS:
at org.eclipse.wb.os.OSSupport.getInstance(OSSupport.java:67)
at org.eclipse.wb.os.OSSupport.<clinit>(OSSupport.java:40)
at org.eclipse.wb.internal.rcp.support.ToolkitSupportImpl.beginShot(ToolkitSupportImpl.java:111)
at org.eclipse.wb.internal.swt.support.ToolkitSupport.beginShot(ToolkitSupport.java:85)
at org.eclipse.wb.internal.swt.model.widgets.ControlInfo.refresh_fetch(ControlInfo.java:181)
at org.eclipse.wb.internal.swt.model.widgets.ControlInfo.refresh_fetch(ControlInfo.java:157)
at org.eclipse.wb.internal.swt.model.widgets.ControlInfo.refresh_fetch(ControlInfo.java:124)
at org.eclipse.wb.internal.swt.model.widgets.ScrollableInfo.refresh_fetch(ScrollableInfo.java:49)
at org.eclipse.wb.internal.swt.model.widgets.CompositeInfo.refresh_fetch(CompositeInfo.java:301)
at org.eclipse.wb.internal.rcp.model.e4.E4PartInfo.refresh_fetch(E4PartInfo.java:94)
at org.eclipse.wb.core.model.ObjectInfo$6$1.run(ObjectInfo.java:496)
at org.eclipse.wb.internal.core.utils.execution.ExecutionUtils.runDesignTime(ExecutionUtils.java:145)
at org.eclipse.wb.core.model.ObjectInfo$6.run(ObjectInfo.java:494)
at org.eclipse.wb.core.model.ObjectInfo.execRefreshOperation(ObjectInfo.java:514)
at org.eclipse.wb.core.model.ObjectInfo.refresh(ObjectInfo.java:492)
at org.eclipse.wb.internal.core.editor.DesignPage.internal_refreshGEF(DesignPage.java:580)
at org.eclipse.wb.internal.core.editor.DesignPage.access$9(DesignPage.java:522)
at org.eclipse.wb.internal.core.editor.DesignPage$8$1.run(DesignPage.java:449)
at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:186)
at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:145)
at org.eclipse.swt.widgets.Display.syncExec(Display.java:4633)
at org.eclipse.wb.internal.core.editor.DesignPage$8.run(DesignPage.java:446)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:463)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:371)
at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:500)
at org.eclipse.wb.internal.core.editor.DesignPage.internal_refreshGEF_withProgress(DesignPage.java:465)
at org.eclipse.wb.internal.core.editor.DesignPage.internal_refreshGEF(DesignPage.java:415)
at org.eclipse.wb.internal.core.editor.UndoManager.refreshDesignerEditor(UndoManager.java:381)
at org.eclipse.wb.internal.core.editor.UndoManager.activate(UndoManager.java:90)
at org.eclipse.wb.internal.core.editor.DesignPage.handleActiveState_True(DesignPage.java:263)
at org.eclipse.wb.internal.core.editor.DesignPage.handleActiveState(DesignPage.java:241)
at org.eclipse.wb.internal.core.editor.multi.DefaultMultiMode.showPage(DefaultMultiMode.java:125)
at org.eclipse.wb.internal.core.editor.multi.DefaultMultiMode$1.widgetSelected(DefaultMultiMode.java:63)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4481)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1327)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1351)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1336)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1117)
at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:3158)
at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:1841)
at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:330)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4481)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1327)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3819)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3430)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:654)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:598)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
at org.eclipse.equinox.launcher.Main.run(Main.java:1515)
at org.eclipse.equinox.launcher.Main.main(Main.java:1488)
Caused by: java.lang.UnsatisfiedLinkError: /home/dsmoot/.eclipse/org.eclipse.platform_4.5.0_1374891323_linux_gtk_x86_64/configuration/org.eclipse.osgi/317/0/.cp/os/linux/x86_64/libwbp.so: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /home/dsmoot/.eclipse/org.eclipse.platform_4.5.0_1374891323_linux_gtk_x86_64/configuration/org.eclipse.osgi/317/0/.cp/os/linux/x86_64/libwbp.so)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1965)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1890)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1864)
at java.lang.Runtime.loadLibrary0(Runtime.java:849)
at java.lang.System.loadLibrary(System.java:1088)
at org.eclipse.wb.internal.os.linux.OSSupportLinux.<clinit>(OSSupportLinux.java:65)
at sun.misc.Unsafe.ensureClassInitialized(Native Method)
at sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(UnsafeFieldAccessorFactory.java:43)
at sun.reflect.ReflectionFactory.newFieldAccessor(ReflectionFactory.java:140)
at java.lang.reflect.Field.acquireFieldAccessor(Field.java:1057)
at java.lang.reflect.Field.getFieldAccessor(Field.java:1038)
at java.lang.reflect.Field.get(Field.java:379)
at org.eclipse.wb.os.OSSupport.getInstance(OSSupport.java:63)
... 69 more
Re: SWT Installation Error [message #1705767 is a reply to message #1705758] Wed, 19 August 2015 01:24 Go to previous messageGo to next message
Eric Clayberg is currently offline Eric ClaybergFriend
Messages: 979
Registered: July 2009
Location: Boston, MA
Senior Member
You need to also install SWT Designer and/or Swing Designer. WindowBuilder by itself is just a framework and does not provide any tools.
Re: SWT Installation Error [message #1705872 is a reply to message #1705767] Wed, 19 August 2015 16:33 Go to previous messageGo to next message
Dana Smoot is currently offline Dana SmootFriend
Messages: 4
Registered: August 2015
Junior Member
Thanks, I installed the SWT and Swing Designers and I still get the same problem. Attached is a screenshot of my installation details along with the report created when WindowBuilder crashed.

Thanks,
Dana
Re: SWT Installation Error [message #1705910 is a reply to message #1705872] Thu, 20 August 2015 00:24 Go to previous message
Dana Smoot is currently offline Dana SmootFriend
Messages: 4
Registered: August 2015
Junior Member
Ended up doing some digging and it looks like since the error is requesting glibc 2.14 or greater, it won't work. The system I'm using is Centos 6.6 with glibc 2.12, and is hard to upgrade.

I'm guessing that my best bet is to downgrade to an older version of Eclipse and WindowBuilder. Anyone know what version of glibc is required for Luna?
Previous Topic:Crashing WindowBuilder and I invisible structure in Eclipse Mars
Next Topic:WindowBuilder for JavaFX
Goto Forum:
  


Current Time: Fri Sep 21 07:57:24 GMT 2018

Powered by FUDForum. Page generated in 0.02006 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top