Lots of NullPointerException
Hello,
JIM works fine enough but I have frequent bugs.
One that always occurs is when I open a prototype, I close it and I open another prototype or the same one.
At this time, I get lots of "Widget is disposed" errors and NullPointException into the .metadata/.log file...
- !ENTRY org.eclipse.ui.workbench 4 2 2016-10-25 19:28:12.202
- !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".
- !STACK 0
- java.lang.NullPointerException
- at com.justinmind.evc.igu.main.editor.actions.m.selectionChanged(m.java)
- at org.eclipse.gef.ui.parts.AbstractEditPartViewer.fireSelectionChanged(AbstractEditPartViewer.java:247)
- at org.eclipse.gef.ui.parts.AbstractEditPartViewer$1.run(AbstractEditPartViewer.java:131)
- at org.eclipse.gef.SelectionManager.fireSelectionChanged(SelectionManager.java:144)
- at com.justinmind.evc.igu.gef.a.b(a.java)
- at com.justinmind.evc.igu.gef.a.a(a.java)
- at com.justinmind.evc.igu.gef.a.deselectAll(a.java)
- at org.eclipse.gef.ui.parts.AbstractEditPartViewer.deselectAll(AbstractEditPartViewer.java:209)
- at com.justinmind.evc.igu.main.editor.LayoutEditor.partDeactivated(LayoutEditor.java)
- at org.eclipse.ui.internal.PartListenerList$4.run(PartListenerList.java:117)
- at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
- at org.eclipse.core.runtime.Platform.run(Platform.java:857)
- at org.eclipse.ui.internal.PartListenerList.fireEvent(PartListenerList.java:57)
- at org.eclipse.ui.internal.PartListenerList.firePartDeactivated(PartListenerList.java:115)
- at org.eclipse.ui.internal.PartService.firePartDeactivated(PartService.java:238)
- at org.eclipse.ui.internal.PartService.setActivePart(PartService.java:300)
- at org.eclipse.ui.internal.WorkbenchPagePartList.fireActivePartChanged(WorkbenchPagePartList.java:57)
- at org.eclipse.ui.internal.PartList.setActivePart(PartList.java:136)
- at org.eclipse.ui.internal.WorkbenchPage.setActivePart(WorkbenchPage.java:3640)
- at org.eclipse.ui.internal.WorkbenchPage.internalActivate(WorkbenchPage.java:691)
- at org.eclipse.ui.internal.WorkbenchPage.activate(WorkbenchPage.java:663)
- at com.justinmind.evc.igu.actions.db.run(db.java)
- at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:180)
- at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)
- at org.eclipse.swt.widgets.Display.syncExec(Display.java:4687)
- at com.justinmind.evc.igu.actions.te.b(te.java)
- at com.justinmind.teamwork.kb.run(kb.java)
- at com.justinmind.teamwork.nb.a(nb.java)
- at com.justinmind.teamwork.pb.run(pb.java)
- at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
- at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
- at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
- at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
- at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
- at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
- at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4169)
- at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3758)
- at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)
- at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
- at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
- at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
- at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
- at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
- at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
- at com.justinmind.evc.igu.main.Application.run(Application.java)
- 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:483)
- at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:587)
- at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:198)
- 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:353)
- at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
- 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:483)
- at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
- at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
- at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
- !ENTRY org.eclipse.ui.workbench 4 2 2016-10-25 19:28:12.206
- !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".
- !STACK 0
- java.lang.NullPointerException
- at com.justinmind.evc.igu.main.editor.actions.m.selectionChanged(m.java)
- at org.eclipse.gef.ui.parts.AbstractEditPartViewer.fireSelectionChanged(AbstractEditPartViewer.java:247)
- at org.eclipse.gef.ui.parts.AbstractEditPartViewer$1.run(AbstractEditPartViewer.java:131)
- at org.eclipse.gef.SelectionManager.fireSelectionChanged(SelectionManager.java:144)
- at com.justinmind.evc.igu.gef.a.b(a.java)
- at com.justinmind.evc.igu.gef.a.a(a.java)
- at com.justinmind.evc.igu.gef.a.deselectAll(a.java)
- at org.eclipse.gef.ui.parts.AbstractEditPartViewer.deselectAll(AbstractEditPartViewer.java:209)
- at com.justinmind.evc.igu.main.editor.LayoutEditor.partDeactivated(LayoutEditor.java)
- at org.eclipse.ui.internal.PartListenerList$4.run(PartListenerList.java:117)
- at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
- at org.eclipse.core.runtime.Platform.run(Platform.java:857)
- at org.eclipse.ui.internal.PartListenerList.fireEvent(PartListenerList.java:57)
- at org.eclipse.ui.internal.PartListenerList.firePartDeactivated(PartListenerList.java:115)
- at org.eclipse.ui.internal.PartService.firePartDeactivated(PartService.java:238)
- at org.eclipse.ui.internal.PartService.setActivePart(PartService.java:300)
- at org.eclipse.ui.internal.WorkbenchPagePartList.fireActivePartChanged(WorkbenchPagePartList.java:57)
- at org.eclipse.ui.internal.PartList.setActivePart(PartList.java:136)
- at org.eclipse.ui.internal.WorkbenchPage.setActivePart(WorkbenchPage.java:3640)
- at org.eclipse.ui.internal.WorkbenchPage.internalActivate(WorkbenchPage.java:691)
- at org.eclipse.ui.internal.WorkbenchPage.activate(WorkbenchPage.java:663)
- at com.justinmind.evc.igu.actions.db.run(db.java)
- at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:180)
- at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)
- at org.eclipse.swt.widgets.Display.syncExec(Display.java:4687)
- at com.justinmind.evc.igu.actions.te.b(te.java)
- at com.justinmind.teamwork.kb.run(kb.java)
- at com.justinmind.teamwork.nb.a(nb.java)
- at com.justinmind.teamwork.pb.run(pb.java)
- at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
- at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
- at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
- at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
- at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
- at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
- at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4169)
- at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3758)
- at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)
- at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
- at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
- at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
- at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
- at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
- at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
- at com.justinmind.evc.igu.main.Application.run(Application.java)
- 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:483)
- at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:587)
- at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:198)
- 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:353)
- at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
- 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:483)
- at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
- at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
- at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
- !ENTRY org.eclipse.ui.workbench 4 2 2016-10-25 19:29:04.184
- !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".
- !STACK 0
- java.lang.NullPointerException
- at com.justinmind.evc.igu.main.editor.actions.m.selectionChanged(m.java)
- at org.eclipse.gef.ui.parts.AbstractEditPartViewer.fireSelectionChanged(AbstractEditPartViewer.java:247)
- at org.eclipse.gef.ui.parts.AbstractEditPartViewer$1.run(AbstractEditPartViewer.java:131)
- at org.eclipse.gef.SelectionManager.fireSelectionChanged(SelectionManager.java:144)
- at com.justinmind.evc.igu.gef.a.b(a.java)
- at com.justinmind.evc.igu.gef.a.a(a.java)
- at com.justinmind.evc.igu.gef.a.deselectAll(a.java)
- at org.eclipse.gef.ui.parts.AbstractEditPartViewer.deselectAll(AbstractEditPartViewer.java:209)
- at com.justinmind.evc.igu.main.editor.LayoutEditor.partDeactivated(LayoutEditor.java)
- at org.eclipse.ui.internal.PartListenerList$4.run(PartListenerList.java:117)
- at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
- at org.eclipse.core.runtime.Platform.run(Platform.java:857)
- at org.eclipse.ui.internal.PartListenerList.fireEvent(PartListenerList.java:57)
- at org.eclipse.ui.internal.PartListenerList.firePartDeactivated(PartListenerList.java:115)
- at org.eclipse.ui.internal.PartService.firePartDeactivated(PartService.java:238)
- at org.eclipse.ui.internal.PartService.setActivePart(PartService.java:300)
- at org.eclipse.ui.internal.WorkbenchPagePartList.fireActivePartChanged(WorkbenchPagePartList.java:57)
- at org.eclipse.ui.internal.PartList.setActivePart(PartList.java:136)
- at org.eclipse.ui.internal.WorkbenchPage.setActivePart(WorkbenchPage.java:3640)
- at org.eclipse.ui.internal.WorkbenchPage.makeActive(WorkbenchPage.java:1322)
- at org.eclipse.ui.internal.WorkbenchPage.updateActivePart(WorkbenchPage.java:1308)
- at org.eclipse.ui.internal.WorkbenchPage.handleDeferredEvents(WorkbenchPage.java:1500)
- at org.eclipse.ui.internal.WorkbenchPage.deferUpdates(WorkbenchPage.java:1489)
- at org.eclipse.ui.internal.WorkbenchPage.closeEditors(WorkbenchPage.java:1463)
- at org.eclipse.ui.internal.WorkbenchPage.closeAllEditors(WorkbenchPage.java:1266)
- at com.justinmind.evc.igu.actions.cd.d(cd.java)
- at com.justinmind.evc.igu.actions.cd.run(cd.java)
- at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
- at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
- at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
- at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
- at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
- at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
- at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4169)
- at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3758)
- at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)
- at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
- at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
- at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
- at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
- at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
- at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
- at com.justinmind.evc.igu.main.Application.run(Application.java)
- 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:483)
- at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:587)
- at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:198)
- 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:353)
- at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
- 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:483)
- at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
- at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
- at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
It also seems that synchronizing shared prototypes is not properly managed. I have difficulties to discard changes and unlock Screens. Even after a restart of JIM.
I can supply more logs if you want.
I would be surprised to be the only one facing those issues.
Please, do your best to fix all that.
Thank you.
Files:
bugs_widget_is_...
Hi Laurent,
This is a very unusual bug. We suggest reinstalling Justinmind as a preliminary step. You can reinstall from here: justinmind.com/download
If you're still seeing this after reinstalling, please see the proposed solution below:1. Close Justinmind application.
2. Open a new Hard drive search window and navigate to your user folder.
3. Delete the "Justinmind" folder.
4. Restart the application.
Best,
Danielle
Hi Laurent,
This is a very unusual bug. We suggest reinstalling Justinmind as a preliminary step. You can reinstall from here: justinmind.com/download
If you're still seeing this after reinstalling, please see the proposed solution below:1. Close Justinmind application.
2. Open a new Hard drive search window and navigate to your user folder.
3. Delete the "Justinmind" folder.
4. Restart the application.
Best,
Danielle
I installed the latest version (7.9.2) and I confirm it looks good.
I installed the latest version (7.9.2) and I confirm it looks good.
Replies have been locked on this page!