Community
Participate
Working Groups
Thread [main] (Suspended (exception java.lang.NullPointerException)) org.eclipse.emf.facet.widgets.nattable.internal.handlers.RemoveLineHandler.isEnabled() line: 56 org.eclipse.ui.internal.handlers.HandlerProxy.isEnabled() line: 320 org.eclipse.core.commands.Command.isEnabled() line: 833 org.eclipse.core.commands.Command.setHandler(org.eclipse.core.commands.IHandler) line: 965 org.eclipse.ui.internal.handlers.HandlerAuthority.updateCommand(java.lang.String, org.eclipse.ui.handlers.IHandlerActivation) line: 459 org.eclipse.ui.internal.handlers.HandlerAuthority.processChangedCommands() line: 638 org.eclipse.ui.internal.handlers.HandlerAuthority.access$1(org.eclipse.ui.internal.handlers.HandlerAuthority) line: 610 org.eclipse.ui.internal.handlers.HandlerAuthority$1.propertyChange(org.eclipse.jface.util.PropertyChangeEvent) line: 175 org.eclipse.ui.internal.services.EvaluationAuthority$1.run() line: 252 org.eclipse.core.runtime.SafeRunner.run(org.eclipse.core.runtime.ISafeRunnable) line: 42 org.eclipse.ui.internal.services.EvaluationAuthority.fireServiceChange(java.lang.String, java.lang.Object, java.lang.Object) line: 246 org.eclipse.ui.internal.services.EvaluationAuthority.endSourceChange(java.lang.String[]) line: 197 org.eclipse.ui.internal.services.EvaluationAuthority.sourceChanged(java.lang.String[]) line: 135 org.eclipse.ui.internal.services.EvaluationAuthority(org.eclipse.ui.internal.services.ExpressionAuthority).sourceChanged(int, java.lang.String[]) line: 311 org.eclipse.ui.internal.services.EvaluationAuthority(org.eclipse.ui.internal.services.ExpressionAuthority).sourceChanged(int, java.util.Map) line: 290 org.eclipse.ui.internal.services.WorkbenchSourceProvider(org.eclipse.ui.AbstractSourceProvider).fireSourceChanged(int, java.util.Map) line: 99 org.eclipse.ui.internal.services.WorkbenchSourceProvider.checkActivePart(boolean) line: 401 org.eclipse.ui.internal.services.WorkbenchSourceProvider.checkActivePart() line: 300 org.eclipse.ui.internal.services.WorkbenchSourceProvider$1.partDeactivated(org.eclipse.ui.IWorkbenchPart) line: 247 org.eclipse.ui.internal.PartListenerList$4.run() line: 117 org.eclipse.core.runtime.SafeRunner.run(org.eclipse.core.runtime.ISafeRunnable) line: 42 org.eclipse.core.runtime.Platform.run(org.eclipse.core.runtime.ISafeRunnable) line: 852 org.eclipse.ui.internal.PartListenerList.fireEvent(org.eclipse.jface.util.SafeRunnable, org.eclipse.ui.IPartListener, org.eclipse.ui.IWorkbenchPart, java.lang.String) line: 57 org.eclipse.ui.internal.PartListenerList.firePartDeactivated(org.eclipse.ui.IWorkbenchPart) line: 115 org.eclipse.ui.internal.PartService.firePartDeactivated(org.eclipse.ui.IWorkbenchPartReference) line: 238 org.eclipse.ui.internal.PartService.setActivePart(org.eclipse.ui.IWorkbenchPartReference) line: 300 org.eclipse.ui.internal.WWinPartService.updateActivePart() line: 134 org.eclipse.ui.internal.WWinPartService.access$0(org.eclipse.ui.internal.WWinPartService) line: 125 org.eclipse.ui.internal.WWinPartService$WWinListener.partDeactivated(org.eclipse.ui.IWorkbenchPartReference) line: 50 org.eclipse.ui.internal.PartListenerList2$4.run() line: 115 org.eclipse.core.runtime.SafeRunner.run(org.eclipse.core.runtime.ISafeRunnable) line: 42 org.eclipse.core.runtime.Platform.run(org.eclipse.core.runtime.ISafeRunnable) line: 852 org.eclipse.ui.internal.PartListenerList2.fireEvent(org.eclipse.jface.util.SafeRunnable, org.eclipse.ui.IPartListener2, org.eclipse.ui.IWorkbenchPartReference, java.lang.String) line: 55 org.eclipse.ui.internal.PartListenerList2.firePartDeactivated(org.eclipse.ui.IWorkbenchPartReference) line: 113 org.eclipse.ui.internal.PartService.firePartDeactivated(org.eclipse.ui.IWorkbenchPartReference) line: 242 org.eclipse.ui.internal.PartService.setActivePart(org.eclipse.ui.IWorkbenchPartReference) line: 300 org.eclipse.ui.internal.WorkbenchPagePartList.fireActivePartChanged(org.eclipse.ui.IWorkbenchPartReference, org.eclipse.ui.IWorkbenchPartReference) line: 57 org.eclipse.ui.internal.WorkbenchPagePartList(org.eclipse.ui.internal.PartList).setActivePart(org.eclipse.ui.IWorkbenchPartReference) line: 136 org.eclipse.ui.internal.WorkbenchPage.setActivePart(org.eclipse.ui.IWorkbenchPart, boolean) line: 3640 org.eclipse.ui.internal.WorkbenchPage.requestActivation(org.eclipse.ui.IWorkbenchPart) line: 3163 org.eclipse.ui.internal.ViewPane(org.eclipse.ui.internal.PartPane).requestActivation() line: 281 org.eclipse.ui.internal.ViewPane(org.eclipse.ui.internal.PartPane).handleEvent(org.eclipse.swt.widgets.Event) line: 239 org.eclipse.swt.widgets.EventTable.sendEvent(org.eclipse.swt.widgets.Event) line: 84 org.eclipse.swt.widgets.Composite(org.eclipse.swt.widgets.Widget).sendEvent(org.eclipse.swt.widgets.Event) line: 1053 org.eclipse.swt.widgets.Composite(org.eclipse.swt.widgets.Widget).sendEvent(int, org.eclipse.swt.widgets.Event, boolean) line: 1077 org.eclipse.swt.widgets.Composite(org.eclipse.swt.widgets.Widget).sendEvent(int) line: 1058 org.eclipse.swt.widgets.Shell.setActiveControl(org.eclipse.swt.widgets.Control) line: 1447 org.eclipse.swt.browser.WebSite(org.eclipse.swt.widgets.Control).sendFocusEvent(int) line: 2836 org.eclipse.swt.browser.WebSite(org.eclipse.swt.widgets.Widget).wmSetFocus(int, int, int) line: 2403 org.eclipse.swt.browser.WebSite(org.eclipse.swt.widgets.Control).WM_SETFOCUS(int, int) line: 5152 org.eclipse.swt.browser.WebSite(org.eclipse.swt.widgets.Control).windowProc(int, int, int, int) line: 4598 org.eclipse.swt.widgets.Display.windowProc(int, int, int, int) line: 4985 org.eclipse.swt.internal.win32.OS.SetFocus(int) line: not available [native method] org.eclipse.swt.browser.WebSite(org.eclipse.swt.widgets.Control).forceFocus() line: 1098 org.eclipse.swt.browser.WebSite(org.eclipse.swt.widgets.Control).setSavedFocus() line: 3599 org.eclipse.swt.widgets.Shell(org.eclipse.swt.widgets.Decorations).restoreFocus() line: 838 org.eclipse.swt.widgets.Shell(org.eclipse.swt.widgets.Decorations).WM_ACTIVATE(int, int) line: 1668 org.eclipse.swt.widgets.Shell.WM_ACTIVATE(int, int) line: 2145 org.eclipse.swt.widgets.Shell(org.eclipse.swt.widgets.Control).windowProc(int, int, int, int) line: 4525 org.eclipse.swt.widgets.Shell(org.eclipse.swt.widgets.Canvas).windowProc(int, int, int, int) line: 341 org.eclipse.swt.widgets.Shell(org.eclipse.swt.widgets.Decorations).windowProc(int, int, int, int) line: 1627 org.eclipse.swt.widgets.Shell.windowProc(int, int, int, int) line: 2069 org.eclipse.swt.widgets.Display.windowProc(int, int, int, int) line: 4972 org.eclipse.swt.internal.win32.OS.DestroyWindow(int) line: not available [native method] org.eclipse.swt.widgets.Shell(org.eclipse.swt.widgets.Control).destroyWidget() line: 780 org.eclipse.swt.widgets.Shell.destroyWidget() line: 698 org.eclipse.swt.widgets.Shell(org.eclipse.swt.widgets.Widget).release(boolean) line: 818 org.eclipse.swt.widgets.Shell(org.eclipse.swt.widgets.Widget).dispose() line: 446 org.eclipse.swt.widgets.Shell(org.eclipse.swt.widgets.Decorations).dispose() line: 448 org.eclipse.swt.widgets.Shell.dispose() line: 715 org.eclipse.ui.internal.progress.BlockedJobsDialog(org.eclipse.jface.window.Window).close() line: 335 org.eclipse.ui.internal.progress.BlockedJobsDialog(org.eclipse.jface.dialogs.Dialog).close() line: 979 org.eclipse.ui.internal.progress.BlockedJobsDialog.close() line: 434 org.eclipse.ui.internal.progress.BlockedJobsDialog.close(org.eclipse.core.runtime.IProgressMonitor) line: 422 org.eclipse.ui.internal.progress.BlockedJobsDialog.clear(org.eclipse.core.runtime.IProgressMonitor) line: 236 org.eclipse.ui.internal.dialogs.WorkbenchDialogBlockedHandler.clearBlocked() line: 48 org.eclipse.ui.internal.dialogs.EventLoopProgressMonitor.clearBlocked() line: 73 org.eclipse.core.internal.jobs.JobManager.reportUnblocked(org.eclipse.core.runtime.IProgressMonitor) line: 1043 org.eclipse.core.internal.jobs.ThreadJob.waitEnd(org.eclipse.core.internal.jobs.ThreadJob, boolean, org.eclipse.core.runtime.IProgressMonitor) line: 424 org.eclipse.core.internal.jobs.ThreadJob.waitForRun(org.eclipse.core.internal.jobs.ThreadJob, org.eclipse.core.runtime.IProgressMonitor, org.eclipse.core.internal.jobs.InternalJob, java.lang.Thread) line: 292 org.eclipse.core.internal.jobs.ThreadJob.joinRun(org.eclipse.core.internal.jobs.ThreadJob, org.eclipse.core.runtime.IProgressMonitor) line: 197 org.eclipse.core.internal.jobs.ImplicitJobs.begin(org.eclipse.core.runtime.jobs.ISchedulingRule, org.eclipse.core.runtime.IProgressMonitor, boolean) line: 92 org.eclipse.core.internal.jobs.JobManager.beginRule(org.eclipse.core.runtime.jobs.ISchedulingRule, org.eclipse.core.runtime.IProgressMonitor) line: 286 org.eclipse.core.internal.resources.WorkManager.checkIn(org.eclipse.core.runtime.jobs.ISchedulingRule, org.eclipse.core.runtime.IProgressMonitor) line: 118 org.eclipse.core.internal.resources.Workspace.prepareOperation(org.eclipse.core.runtime.jobs.ISchedulingRule, org.eclipse.core.runtime.IProgressMonitor) line: 2282 org.eclipse.core.internal.resources.Project.open(int, org.eclipse.core.runtime.IProgressMonitor) line: 1084 org.eclipse.core.internal.resources.Project.open(org.eclipse.core.runtime.IProgressMonitor) line: 1178 org.eclipse.emf.facet.widgets.nattable.tests.NatTableHandlersTests.initResource() line: 65 sun.reflect.NativeMethodAccessorImpl.invoke0(java.lang.reflect.Method, java.lang.Object, java.lang.Object[]) line: not available [native method] sun.reflect.NativeMethodAccessorImpl.invoke(java.lang.Object, java.lang.Object[]) line: 39 sun.reflect.DelegatingMethodAccessorImpl.invoke(java.lang.Object, java.lang.Object[]) line: 25 java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object...) line: 585 org.junit.runners.model.FrameworkMethod$1.runReflectiveCall() line: 44 org.junit.runners.model.FrameworkMethod$1(org.junit.internal.runners.model.ReflectiveCallable).run() line: 15 org.junit.runners.model.FrameworkMethod.invokeExplosively(java.lang.Object, java.lang.Object...) line: 41 org.junit.internal.runners.statements.RunBefores.evaluate() line: 27 org.junit.internal.runners.statements.RunAfters.evaluate() line: 31 org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(org.junit.runners.model.FrameworkMethod, org.junit.internal.runners.model.EachTestNotifier) line: 79 org.junit.runners.BlockJUnit4ClassRunner.runChild(org.junit.runners.model.FrameworkMethod, org.junit.runner.notification.RunNotifier) line: 71 org.junit.runners.BlockJUnit4ClassRunner.runChild(java.lang.Object, org.junit.runner.notification.RunNotifier) line: 49 org.junit.runners.ParentRunner$3.run() line: 193 org.junit.runners.ParentRunner$1.schedule(java.lang.Runnable) line: 52 org.junit.runners.BlockJUnit4ClassRunner(org.junit.runners.ParentRunner<T>).runChildren(org.junit.runner.notification.RunNotifier) line: 191 org.junit.runners.ParentRunner<T>.access$000(org.junit.runners.ParentRunner, org.junit.runner.notification.RunNotifier) line: 42 org.junit.runners.ParentRunner$2.evaluate() line: 184 org.junit.runners.BlockJUnit4ClassRunner(org.junit.runners.ParentRunner<T>).run(org.junit.runner.notification.RunNotifier) line: 236 org.junit.runners.Suite.runChild(org.junit.runner.Runner, org.junit.runner.notification.RunNotifier) line: 128 org.junit.runners.Suite.runChild(java.lang.Object, org.junit.runner.notification.RunNotifier) line: 24 org.junit.runners.ParentRunner$3.run() line: 193 org.junit.runners.ParentRunner$1.schedule(java.lang.Runnable) line: 52 org.junit.runners.Suite(org.junit.runners.ParentRunner<T>).runChildren(org.junit.runner.notification.RunNotifier) line: 191 org.junit.runners.ParentRunner<T>.access$000(org.junit.runners.ParentRunner, org.junit.runner.notification.RunNotifier) line: 42 org.junit.runners.ParentRunner$2.evaluate() line: 184 org.junit.runners.Suite(org.junit.runners.ParentRunner<T>).run(org.junit.runner.notification.RunNotifier) line: 236 org.junit.runners.Suite.runChild(org.junit.runner.Runner, org.junit.runner.notification.RunNotifier) line: 128 org.junit.runners.Suite.runChild(java.lang.Object, org.junit.runner.notification.RunNotifier) line: 24 org.junit.runners.ParentRunner$3.run() line: 193 org.junit.runners.ParentRunner$1.schedule(java.lang.Runnable) line: 52 org.junit.runners.Suite(org.junit.runners.ParentRunner<T>).runChildren(org.junit.runner.notification.RunNotifier) line: 191 org.junit.runners.ParentRunner<T>.access$000(org.junit.runners.ParentRunner, org.junit.runner.notification.RunNotifier) line: 42 org.junit.runners.ParentRunner$2.evaluate() line: 184 org.junit.runners.Suite(org.junit.runners.ParentRunner<T>).run(org.junit.runner.notification.RunNotifier) line: 236 org.eclipse.jdt.internal.junit4.runner.JUnit4TestClassReference(org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference).run(org.eclipse.jdt.internal.junit.runner.TestExecution) line: 50 org.eclipse.jdt.internal.junit.runner.TestExecution.run(org.eclipse.jdt.internal.junit.runner.ITestReference[]) line: 38 org.eclipse.pde.internal.junit.runtime.RemotePluginTestRunner(org.eclipse.jdt.internal.junit.runner.RemoteTestRunner).runTests(java.lang.String[], java.lang.String, org.eclipse.jdt.internal.junit.runner.TestExecution) line: 467 org.eclipse.pde.internal.junit.runtime.RemotePluginTestRunner(org.eclipse.jdt.internal.junit.runner.RemoteTestRunner).runTests(org.eclipse.jdt.internal.junit.runner.TestExecution) line: 683 org.eclipse.pde.internal.junit.runtime.RemotePluginTestRunner(org.eclipse.jdt.internal.junit.runner.RemoteTestRunner).run() line: 390 org.eclipse.pde.internal.junit.runtime.RemotePluginTestRunner.main(java.lang.String[]) line: 62 org.eclipse.pde.internal.junit.runtime.PlatformUITestHarness$1.run() line: 47 org.eclipse.swt.widgets.RunnableLock.run() line: 35 org.eclipse.ui.internal.UISynchronizer(org.eclipse.swt.widgets.Synchronizer).runAsyncMessages(boolean) line: 135 org.eclipse.swt.widgets.Display.runAsyncMessages(boolean) line: 4140 org.eclipse.swt.widgets.Display.readAndDispatch() line: 3757 org.eclipse.ui.internal.Workbench.runEventLoop(org.eclipse.jface.window.Window$IExceptionHandler, org.eclipse.swt.widgets.Display) line: 2701 org.eclipse.ui.internal.Workbench.runUI() line: 2665 org.eclipse.ui.internal.Workbench.access$4(org.eclipse.ui.internal.Workbench) line: 2499 org.eclipse.ui.internal.Workbench$7.run() line: 679 org.eclipse.core.databinding.observable.Realm.runWithDefault(org.eclipse.core.databinding.observable.Realm, java.lang.Runnable) line: 332 org.eclipse.ui.internal.Workbench.createAndRunWorkbench(org.eclipse.swt.widgets.Display, org.eclipse.ui.application.WorkbenchAdvisor) line: 668 org.eclipse.ui.PlatformUI.createAndRunWorkbench(org.eclipse.swt.widgets.Display, org.eclipse.ui.application.WorkbenchAdvisor) line: 149 org.eclipse.ui.internal.ide.application.IDEApplication.start(org.eclipse.equinox.app.IApplicationContext) line: 124 org.eclipse.pde.internal.junit.runtime.UITestApplication(org.eclipse.pde.internal.junit.runtime.NonUIThreadTestApplication).runApp(java.lang.Object, org.eclipse.equinox.app.IApplicationContext, java.lang.String[]) line: 54 org.eclipse.pde.internal.junit.runtime.UITestApplication.runApp(java.lang.Object, org.eclipse.equinox.app.IApplicationContext, java.lang.String[]) line: 41 org.eclipse.pde.internal.junit.runtime.UITestApplication(org.eclipse.pde.internal.junit.runtime.NonUIThreadTestApplication).start(org.eclipse.equinox.app.IApplicationContext) line: 48 org.eclipse.equinox.internal.app.EclipseAppHandle.run(java.lang.Object) line: 196 org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(java.lang.Object) line: 110 org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(java.lang.Object) line: 79 org.eclipse.core.runtime.adaptor.EclipseStarter.run(java.lang.Object) line: 352 org.eclipse.core.runtime.adaptor.EclipseStarter.run(java.lang.String[], java.lang.Runnable) line: 179 sun.reflect.NativeMethodAccessorImpl.invoke0(java.lang.reflect.Method, java.lang.Object, java.lang.Object[]) line: not available [native method] sun.reflect.NativeMethodAccessorImpl.invoke(java.lang.Object, java.lang.Object[]) line: 39 sun.reflect.DelegatingMethodAccessorImpl.invoke(java.lang.Object, java.lang.Object[]) line: 25 java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object...) line: 585 org.eclipse.equinox.launcher.Main.invokeFramework(java.lang.String[], java.net.URL[]) line: 624 org.eclipse.equinox.launcher.Main.basicRun(java.lang.String[]) line: 579 org.eclipse.equinox.launcher.Main.run(java.lang.String[]) line: 1433 org.eclipse.equinox.launcher.Main.main(java.lang.String[]) line: 1409
I'm seeing this on RC2 in a New nested Workspace with no projects or editors. Why is EMF Facet active at this point.
(In reply to comment #1) > I'm seeing this on RC2 in a New nested Workspace with no projects or editors. > > Why is EMF Facet active at this point. Good question, thanks ! I've investigated and discovered abusive use of menu contribution to 'popup:org.eclipse.ui.popup.any'.
(In reply to comment #2) > I've investigated and discovered abusive use of menu > contribution to 'popup:org.eclipse.ui.popup.any'. To track this problem, I've open the bug 381069.
(In reply to comment #2) > (In reply to comment #1) > > I'm seeing this on RC2 in a New nested Workspace with no projects or editors. > > > > Why is EMF Facet active at this point. > > Good question, thanks ! I've investigated and discovered abusive use of menu > contribution to 'popup:org.eclipse.ui.popup.any'. Ping. What progress. As a source of damage to non-EMF facet users surely this should have been fixed in Juno. Hopefully the fix will be in Juno SR2 since it makes Papyrus debugging hard.
(In reply to comment #4) > Hopefully the fix will be in Juno SR2 since it makes Papyrus debugging hard. Fixing all the null pointer problems, may cause to many changes for a service release. To wait a full fix, may be you could use the breakpoint filtering properties: http://help.eclipse.org/juno/index.jsp?topic=%2Forg.eclipse.jdt.doc.user%2Ftasks%2Ftasks-create-exception-filter-expression.htm Since there is a workaround, I won't commit any modification to fix this bug in the RC3 or RC4. Regards, Grégoire
(In reply to comment #5) > (In reply to comment #4) > > Hopefully the fix will be in Juno SR2 since it makes Papyrus debugging hard. > > Since there is a workaround, I won't commit any modification to fix this bug > in the RC3 or RC4. You seem to have misread my SR2 comment as SR1.
Created attachment 220728 [details] Patch fixing a NullPointerException in org.eclipse.emf.facet.util.core.internal.BuildPropertiesUtils Here is a patch fixing a null pointer exception. (a) I, Gregoire Dupe, wrote 100% of the code I've provided. (b) I have the right to contribute the code to Eclipse. (c) I contribute the content under the EPL. (d) This contribution contains no Cryptography features.
Probably the same bug again: Eclipse Application [Eclipse Application] org.eclipse.equinox.launcher.Main at localhost:49629 Thread [main] (Suspended (exception NullPointerException)) RemoveLineHandler.isEnabled() line: 56 HandlerProxy.isEnabled() line: 317 E4HandlerProxy.canExecute(IEclipseContext, IEvaluationContext) line: 59 GeneratedMethodAccessor5.invoke(Object, Object[]) line: not available DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25 Method.invoke(Object, Object...) line: 597 MethodRequestor.execute() line: 56 InjectorImpl.invokeUsingClass(Object, Class<?>, Class<Annotation>, Object, PrimaryObjectSupplier, PrimaryObjectSupplier, boolean) line: 231 InjectorImpl.invoke(Object, Class<Annotation>, Object, PrimaryObjectSupplier, PrimaryObjectSupplier) line: 212 ContextInjectionFactory.invoke(Object, Class<Annotation>, IEclipseContext, IEclipseContext, Object) line: 131 HandlerServiceImpl.canExecute(ParameterizedCommand, IEclipseContext) line: 110 MenuManagerRendererFilter.updateElementVisibility(MMenu, MenuManagerRenderer, MenuManager, IEclipseContext, int, boolean) line: 218 MenuManagerShowProcessor.showMenu(Menu, MMenu, MenuManager) line: 226 MenuManagerShowProcessor.menuAboutToHide(IMenuManager) line: 118 MenuManagerEventHelper.showEventPostHelper(MenuManager) line: 55 DiagramEditorContextMenuProvider(MenuManager).handleAboutToShow() line: 476 MenuManager.access$1(MenuManager) line: 470 MenuManager$2.menuShown(MenuEvent) line: 500 TypedListener.handleEvent(Event) line: 255 EventTable.sendEvent(Event) line: 84
Comment on attachment 220728 [details] Patch fixing a NullPointerException in org.eclipse.emf.facet.util.core.internal.BuildPropertiesUtils According to the comments, this patch has not been commited, that why I'm tagging it with ‘iplog-‘.
(I think iplog is irrelevant for committers. Your good work is assessed from the GIT history.) The fix seems trivial. Easier to commit than keep postponing.