Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » WindowBuilder » Cannot add selectionHandler
Cannot add selectionHandler [message #1006753] Fri, 01 February 2013 16:47
John Rellis is currently offline John Rellis
Messages: 1
Registered: February 2013
Junior Member
Hi,

I am creating an SWT/JFace application, the application was working fine last week.

Now I started up eclipse, copied the project and I am seeing some very strange behaviour, the first of which is i cannot add a selectionHandler to a menu item, I get a null pointer exception.

I have attached screens and the bug report. I hope this is a simple configuration issue. If anyone could help that would be great!

Internal Error
WindowBuilder encountered unexpected internal error. 

This could be caused by a WindowBuilder bug or by a misconfiguration issue, conflict, partial update, etc.



Show stack trace. 
Hide stack trace. 

Stack trace:
java.lang.NullPointerException
	at org.eclipse.jdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:540)
	at org.eclipse.jdt.internal.core.JavaElement.getElementInfo(JavaElement.java:255)
	at org.eclipse.jdt.internal.core.JavaElement.getElementInfo(JavaElement.java:241)
	at org.eclipse.jdt.internal.core.JavaElement.exists(JavaElement.java:159)
	at org.eclipse.wb.internal.core.utils.jdt.core.CodeUtils.getResolvedTypeName_resolveTypeVariable(CodeUtils.java:659)
	at org.eclipse.wb.internal.core.utils.jdt.core.CodeUtils.getResolvedTypeName(CodeUtils.java:647)
	at org.eclipse.wb.internal.core.utils.jdt.core.CodeUtils.getMethodSignature(CodeUtils.java:609)
	at org.eclipse.wb.internal.core.utils.jdt.core.CodeUtils.findMethodSingleType(CodeUtils.java:541)
	at org.eclipse.wb.internal.core.utils.jdt.core.CodeUtils.findMethod(CodeUtils.java:503)
	at org.eclipse.wb.internal.core.model.property.event.ListenerMethodProperty.addListenerMethod(ListenerMethodProperty.java:577)
	at org.eclipse.wb.internal.core.model.property.event.ListenerMethodProperty.ensureListenerMethod(ListenerMethodProperty.java:536)





index.php/fa/13263/0/

index.php/fa/13264/0/

Thanks,
John
Previous Topic:Plzz Help me
Next Topic:WindowBuilder needs confirmation of JOptionPane.showMessageDialog
Goto Forum:
  


Current Time: Fri Oct 31 07:51:51 GMT 2014

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

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