Cannot add selectionHandler [message #1006753] |
Fri, 01 February 2013 16:47 |
Eclipse User |
|
|
|
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)


Thanks,
John
|
|
|
Powered by
FUDForum. Page generated in 0.03184 seconds