Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » XWT and visual designer problem(java.lang.NullPointerException)
XWT and visual designer problem [message #662503] Wed, 30 March 2011 20:33 Go to next message
Kevin Smit is currently offline Kevin SmitFriend
Messages: 8
Registered: March 2011
Junior Member
When i add a new xwt file and want to add a component from the palette to the XWT source view I get a java.lang.NullPointerException, if I type it direct in the editor and run the widget (lets say an button for example) it wil show. It wil not show in design mode only in runtime mode

the software i have installed on a new 4.1 M6 is the following:

Eclipse e4 Enhanced Resources (Incubation) 0.10.0.v20100211-0930-17738s735446561463B org.eclipse.e4.resources.feature.feature.group
Eclipse e4 Enhanced Resources Source (Incubation) 0.10.0.v20100211-0930-17738s735446561463B org.eclipse.e4.resources.source.feature.feature.group
Eclipse e4 Modeled Workbench Source (Incubation) 0.9.1.v20110121-1000-7B9n7DFPJtAHosNPhbs0U-26CA4 org.eclipse.e4.ui.source.feature.feature.group
Eclipse e4 Runtime Support (Incubation) 0.9.1.v20100917-1000-7Q6A7F9JgLWMN_OFCerfs org.eclipse.e4.runtime.feature.feature.group
Eclipse e4 Toolkit Model (Incubation) 0.9.1.v20091029-1300-17q2CcNBC0HCMw5G_EB org.eclipse.e4.tm.feature.feature.group
Eclipse e4 Tools (Incubation) 0.9.0.v20110309-1330-57f1EVVFNMFbN58QfFD org.eclipse.e4.core.tools.feature.feature.group
Eclipse e4 Tools Bridge for 3.x (Incubation) 0.9.0.v20110302-1508-7E8k3FIhIewKnQvxVJz-LY org.eclipse.e4.tools.e3x.bridge.feature.feature.group
Eclipse e4 Tools Bridge for 3.x Source (Incubation) 0.9.0.v20110302-1508 org.eclipse.e4.tools.e3x.bridge.source.feature.feature.group
Eclipse e4 Tools Source (Incubation) 0.9.0.v20110309-1330-57f1EVVFNMFbN58QfFD org.eclipse.e4.core.tools.source.feature.feature.group
Eclipse e4 XWT (Incubation) 0.9.1.v20091126-1500-17Z2AkF7B89GCW27M55 org.eclipse.e4.xwt.feature.feature.group
Eclipse e4 XWT CSS (Incubation) 0.9.0.v20090609-1530-178-7w3121172803211 org.eclipse.e4.xwt.css.feature.feature.group
Eclipse e4 XWT CSS Source (Incubation) 0.9.0.v20090609-1530-178-7w3121172803211 org.eclipse.e4.xwt.css.source.feature.feature.group
Eclipse e4 XWT CSS Workbench (Incubation) 0.9.0.v20100618-178-7w3121222A01911 org.eclipse.e4.xwt.workbench.source.feature.feature.group
Eclipse e4 XWT EMF (Incubation) 0.9.0.v20090624-1330-178-7w3121172803211 org.eclipse.e4.xwt.emf.feature.feature.group
Eclipse e4 XWT EMF Source (Incubation) 0.9.0.v20090624-1330-178-7w3121172803211 org.eclipse.e4.xwt.emf.source.feature.feature.group
Eclipse E4 XWT Source (Incubation) 0.9.1.v20091126-1500-17Z2AkF7B89GCW27M55 org.eclipse.e4.xwt.source.feature.feature.group
Eclipse e4 XWT Tools (Incubation) 0.9.0.v20100705-2130-28g5FAFkNZPRz0eJ7RdIF org.eclipse.e4.xwt.tools.feature.feature.group
Eclipse e4 XWT Tools Source (Incubation) 0.9.0.v20100705-2130-28g5FAFkNZPRz0eJ7RdIF org.eclipse.e4.xwt.tools.source.feature.feature.group
Eclipse e4 XWT Workbench (Incubation) 0.9.0.v20100618-178-7w3121222A01911 org.eclipse.e4.xwt.workbench.feature.feature.group
Eclipse SDK 4.1.0.I20110329-2200 org.eclipse.sdk.ide
Re: XWT and visual designer problem [message #662830 is a reply to message #662503] Fri, 01 April 2011 06:56 Go to previous messageGo to next message
Kevin Smit is currently offline Kevin SmitFriend
Messages: 8
Registered: March 2011
Junior Member
Steps to reproduce:

1) Installed fresh copy of 4.1 M6 win32
2) Installed e4 XWT
3) Created a e4 application with the e4 application wizard
4) change perspective to XWT
5) Created a new UI element in my project, Now i see the ui element, xml source, properties and the SWT an jFace palette
6) drag an component from the pallette (button or any other) to the source view

now i get the java.lang.NullPointerReference.

Am i missing some references, or do i need to instal extra features like emf. I think emf is already in the feature package xwt
Re: XWT and visual designer problem [message #841912 is a reply to message #662830] Wed, 11 April 2012 21:15 Go to previous messageGo to next message
Christopher Riley is currently offline Christopher RileyFriend
Messages: 9
Registered: March 2012
Junior Member
Hi,

I am having similar problems here. Except when I pull up the XWT Designer, the interface builder never loads. Has anyone had success using these tools with M6?

If so the steps you took to get things working would be much appreciated!

Thanks,

~Chris
Re: XWT and visual designer problem [message #842448 is a reply to message #841912] Thu, 12 April 2012 09:55 Go to previous message
Erdal Karaca is currently offline Erdal KaracaFriend
Messages: 756
Registered: July 2009
Senior Member
AFAIK, the XWT Designer is deprecated, you must/should use the WindowBuilder which has support for XWT, too.

http://www.eclipse.org/windowbuilder
Previous Topic:Readiness of replacing a RCP app with e4
Next Topic:E4 jvm crash at startup on Suse 10
Goto Forum:
  


Current Time: Sun Dec 21 10:09:39 GMT 2014

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

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