0xCAB / idocit

Automatically exported from code.google.com/p/idocit
0 stars 0 forks source link

NullPointerException in TreeViewer an MacOS X #58

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem ?
1. Open an WSDL-interface with iDocIt!
2. Click on the white area below the interface-tree.

What is the expected output? What do you see instead?
iDocIt! should do nothing or at least select the last item of the tree. But it 
crashes with a NullPointerException.

!ENTRY org.eclipse.jface 4 2 2011-07-21 21:28:41.215
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface".
!STACK 0
java.lang.NullPointerException
    at de.akra.idocit.ui.composites.EditArtifactDocumentationComposite$1.selectionChanged(EditArtifactDocumentationComposite.java:210)
    at de.akra.idocit.ui.composites.EditArtifactDocumentationComposite$1.selectionChanged(EditArtifactDocumentationComposite.java:1)
    at org.pocui.swt.composites.AbsComposite.fireChangeEvent(AbsComposite.java:127)
    at de.akra.idocit.ui.composites.SelectSignatureElementComposite.treeSelectionChanged(SelectSignatureElementComposite.java:186)
    at de.akra.idocit.ui.composites.SelectSignatureElementComposite.access$2(SelectSignatureElementComposite.java:175)
    at de.akra.idocit.ui.composites.SelectSignatureElementComposite$1.selectionChanged(SelectSignatureElementComposite.java:127)
    at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:162)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
    at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
    at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:160)
    at org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:2162)
    at org.eclipse.jface.viewers.StructuredViewer.handleSelect(StructuredViewer.java:1190)
    at org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected(StructuredViewer.java:1220)
    at org.eclipse.jface.util.OpenStrategy.fireSelectionEvent(OpenStrategy.java:228)
    at org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.java:222)
    at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:389)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Display.sendEvent(Display.java:3783)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1375)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1398)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1383)
    at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1195)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3629)
    at org.eclipse.swt.widgets.Display.applicationNextEventMatchingMask(Display.java:4486)
    at org.eclipse.swt.widgets.Display.applicationProc(Display.java:4746)
    at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
    at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:220)
    at org.eclipse.swt.widgets.Widget.mouseDownSuper(Widget.java:1025)
    at org.eclipse.swt.widgets.Tree.mouseDownSuper(Tree.java:1975)
    at org.eclipse.swt.widgets.Widget.mouseDown(Widget.java:1021)
    at org.eclipse.swt.widgets.Control.mouseDown(Control.java:2263)
    at org.eclipse.swt.widgets.Tree.mouseDown(Tree.java:1942)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:4983)
    at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
    at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:220)
    at org.eclipse.swt.widgets.Widget.windowSendEvent(Widget.java:1959)
    at org.eclipse.swt.widgets.Shell.windowSendEvent(Shell.java:2025)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:5047)
    at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
    at org.eclipse.swt.widgets.Display.applicationSendEvent(Display.java:4589)
    at org.eclipse.swt.widgets.Display.applicationProc(Display.java:4666)
    at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
    at org.eclipse.swt.internal.cocoa.NSApplication.sendEvent(NSApplication.java:115)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3281)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
    at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1408)

Original issue reported on code.google.com by krauseda...@web.de on 21 Jul 2011 at 7:34

GoogleCodeExporter commented 8 years ago
I think I have fixed it, but I can not test it, because I have no Mac. Jan, 
please verify if the exception still occurs.

Original comment by dirk.mei...@gmail.com on 30 Aug 2011 at 2:15

GoogleCodeExporter commented 8 years ago
It works on my Mac :).

Original comment by krauseda...@web.de on 13 Sep 2011 at 9:51