Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » WindowBuilder » WB not working in Linux and Windows 7 + Photon 4.8.0RC1
WB not working in Linux and Windows 7 + Photon 4.8.0RC1 [message #1787586] Tue, 29 May 2018 16:23 Go to next message
Vincenzo Caselli is currently offline Vincenzo CaselliFriend
Messages: 235
Registered: January 2012
Senior Member

Hi,
maybe the problem is only due to the undergoing work on the Photon Eclipse Train, but just in case I would like to make it known.
I am testing WB (1.9.0, from IDE Marketplace) on latest Photon build

Quote:
Eclipse IDE for RCP and RAP Developers
Version: Photon Release Candidate 1 (4.8.0RC1)
Build id: 20180524-1423
OS: Linux, v.4.15.0-22-generic, x86_64 / gtk 3.22.30, WebKit 2.20.2
Java version: 1.8.0_171

Linux=Ubuntu LTS 18.04 / GNOME
Windows=Windows 7


but when I try to open a view I see an empty area while the Error Log shows:


Unhandled event loop exception
java.lang.NullPointerException
	at org.eclipse.wb.internal.core.editor.UndoManager.addSelectionListener(UndoManager.java:187)
	at org.eclipse.wb.internal.core.editor.UndoManager.refreshDesignerEditor(UndoManager.java:382)
	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:249)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86)
	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5686)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1370)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1396)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1379)
	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1164)
	at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:3195)
	at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:1878)
	at org.eclipse.swt.custom.CTabFolder.lambda$0(CTabFolder.java:328)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86)
	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5686)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1370)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4940)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4518)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1170)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1059)
	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:153)
	at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:683)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:597)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:152)
	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:388)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:656)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:592)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1498)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1471)



Is there some others having the same issue?
Thank you very much
Vincenzo

[Updated on: Wed, 30 May 2018 10:43]

Report message to a moderator

Re: WB not working in Linux and Windows 7 + Photon 4.8.0RC1 [message #1790031 is a reply to message #1787586] Sun, 03 June 2018 17:01 Go to previous messageGo to next message
Avi Abrami is currently offline Avi AbramiFriend
Messages: 31
Registered: December 2017
Member
I'm not answering your question, but rather using it to make a non-related point.
File "UndoManager.java" is _not_ in the Git repository that [supposedly] contains the WindowBuilder source code. Why is that?
Re: WB not working in Linux and Windows 7 + Photon 4.8.0RC1 [message #1790070 is a reply to message #1787586] Mon, 04 June 2018 11:47 Go to previous messageGo to next message
Rüdiger Hain is currently offline Rüdiger HainFriend
Messages: 1
Registered: June 2018
Junior Member
Got the same problem. Did you open a bug?
Re: WB not working in Linux and Windows 7 + Photon 4.8.0RC1 [message #1790225 is a reply to message #1790070] Thu, 07 June 2018 09:15 Go to previous messageGo to next message
Vincenzo Caselli is currently offline Vincenzo CaselliFriend
Messages: 235
Registered: January 2012
Senior Member

Hi,
I opened it now
https://bugs.eclipse.org/bugs/show_bug.cgi?id=535642

please integrate with any additional info you may have.
Thank you
Vincenzo
Re: WB not working in Linux and Windows 7 + Photon 4.8.0RC1 [message #1790273 is a reply to message #1790031] Thu, 07 June 2018 17:24 Go to previous messageGo to next message
Vincenzo Caselli is currently offline Vincenzo CaselliFriend
Messages: 235
Registered: January 2012
Senior Member

Avi Abrami wrote on Sun, 03 June 2018 19:01
I'm not answering your question, but rather using it to make a non-related point.
File "UndoManager.java" is _not_ in the Git repository that [supposedly] contains the WindowBuilder source code. Why is that?


Hi Avi,
I cloned WB source code from its Git repository (see also https://www.eclipse.org/forums/index.php/t/1093240/)
which is the following

git://git.eclipse.org/gitroot/windowbuilder/org.eclipse.windowbuilder.git

and I can assure that file "UndoManager.java" is there (see image)


index.php/fa/33042/0/

You'll see it also here:
https://git.eclipse.org/c/windowbuilder/org.eclipse.windowbuilder.git/tree/org.eclipse.wb.core.java/src/org/eclipse/wb/internal/core/editor

Are you cloning from the same Git repository?
  • Attachment: WB-class.png
    (Size: 226.56KB, Downloaded 2604 times)

[Updated on: Thu, 07 June 2018 17:31]

Report message to a moderator

Re: WB not working in Linux and Windows 7 + Photon 4.8.0RC1 [message #1790431 is a reply to message #1790273] Sun, 10 June 2018 18:59 Go to previous messageGo to next message
Avi Abrami is currently offline Avi AbramiFriend
Messages: 31
Registered: December 2017
Member
Thank you Vincenzo.
Your screen shot led me to discovering how to correctly download the WindowBuilder source code.

Thanks!
Re: WB not working in Linux and Windows 7 + Photon 4.8.0RC1 [message #1790735 is a reply to message #1787586] Fri, 15 June 2018 08:22 Go to previous messageGo to next message
Vincenzo Caselli is currently offline Vincenzo CaselliFriend
Messages: 235
Registered: January 2012
Senior Member

Hi all,
I tested latest Photon release

Quote:
Eclipse IDE for RCP and RAP Developers
Version: Photon Release Candidate 3 (4.8.0RC3)
Build id: 20180607-0625
OS: Linux, v.4.15.0-23-generic, x86_64 / gtk 3.22.30
Java version: 1.8.0_171

with latest WB release 1.9.1.201806150629
taken from
http://download.eclipse.org/windowbuilder/WB/integration/4.8

but the problem on Linux (I am using Ubuntu 18.04) is still there (the IDE crashes as soon as I try to open the WB Design view).

Bug was also posted here
https://bugs.eclipse.org/bugs/show_bug.cgi?id=535642

@WB Project Team: is there something I can do on my environment to make WB work on Linux?
@WB Users on Linux: are you having the same problem? If otherwise it works for you, can you provide details on your Linux environment (distro, version, desktop environment, ..)?

Thank you very much
Vincenzo

Re: WB not working in Linux and Windows 7 + Photon 4.8.0RC1 [message #1790854 is a reply to message #1790735] Tue, 19 June 2018 07:07 Go to previous messageGo to next message
Lars Vogel is currently offline Lars VogelFriend
Messages: 1098
Registered: July 2009
Senior Member

Try version 1.9.1 http://download.eclipse.org/windowbuilder/WB/integration/4.8/
Re: WB not working in Linux and Windows 7 + Photon 4.8.0RC1 [message #1790857 is a reply to message #1790854] Tue, 19 June 2018 07:21 Go to previous message
Lars Vogel is currently offline Lars VogelFriend
Messages: 1098
Registered: July 2009
Senior Member

I updated the marketplace entry.
Previous Topic:Windowbuilder design tab problem
Next Topic:WindowBuilder Crashes
Goto Forum:
  


Current Time: Fri Apr 19 22:07:34 GMT 2024

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

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

Back to the top