Community
Participate
Working Groups
Hello committers, we received a new error report for Eclipse 4.5.0.I20140918-0330. General Information: anonymous-id: b522fd4f-ee14-4b7f-8945-df59c6da9c6c eclipse-build-id: 4.5.0.I20140918-0330 eclipse-product: org.eclipse.epp.package.committers.product operating system: Linux 3.16.0 (x86_64) - gtk java-runtime-version: 1.7.0_65-b32 The following plug-ins were present on the execution stack (*): 1. org.eclipse.core.databinding.observable_1.4.1.v20140910-2107 2. org.eclipse.core.databinding_1.4.100.v20140910-2107 3. org.eclipse.core.runtime_3.10.0.v20140724-1132 4. org.eclipse.e4.ui.workbench_1.2.0.v20140905-1352 5. org.eclipse.e4.ui.workbench.swt_0.12.100.v20140908-1525 6. org.eclipse.equinox.app_1.3.200.v20130910-1609 7. org.eclipse.equinox.launcher_1.3.0.v20140415-2008 8. org.eclipse.jface.text_3.9.100.v20140904-1814 9. org.eclipse.jface_3.11.0.v20140822-0942 10. org.eclipse.oomph.version.ui_1.0.0.v20141008-1738 11. org.eclipse.oomph.version_1.0.0.v20141008-1738 12. org.eclipse.pde.ui_3.8.200.v20140915-1250 13. org.eclipse.pde_3.8.200.v20140918-0330 14. org.eclipse.swt_3.104.0.v20140916-1012 15. org.eclipse.ui_3.107.0.v20140911-1616 16. org.eclipse.ui.ide.application_1.0.600.v20140909-1818 17. org.eclipse.ui.ide_3.10.100.v20140905-0917 Error Status: code: 0 plugin: org.eclipse.oomph.version.ui_1.0.0.v20141008-1738 message: java.lang.NullPointerException fingerprint: b771df08 exception class: java.lang.NullPointerException exception message: - number of children: 0 java.lang.NullPointerException: null at java.util.regex.Pattern.<init>(Pattern.java:1336) at java.util.regex.Pattern.compile(Pattern.java:1047) at org.eclipse.oomph.version.ui.quickfixes.ReplaceResolution.apply(ReplaceResolution.java:101) at org.eclipse.oomph.version.ui.quickfixes.AbstractDocumentResolution.apply(AbstractDocumentResolution.java:44) at org.eclipse.oomph.version.ui.quickfixes.AbstractResolution.run(AbstractResolution.java:125) at org.eclipse.pde.internal.ui.editor.text.PDEQuickAssistAssistant$PDECompletionProposal.apply(PDEQuickAssistAssistant.java:53) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.insertProposal(CompletionProposalPopup.java:968) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.insertSelectedProposalWithMask(CompletionProposalPopup.java:914) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.verifyKey(CompletionProposalPopup.java:1358) at org.eclipse.jface.text.contentassist.ContentAssistant$InternalListener.verifyKey(ContentAssistant.java:808) at org.eclipse.jface.text.TextViewer$VerifyKeyListenersManager.verifyKey(TextViewer.java:492) at org.eclipse.swt.custom.StyledTextListener.handleEvent(StyledTextListener.java:66) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4464) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1388) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1412) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1397) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1182) at org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.java:5979) at org.eclipse.swt.custom.StyledText$7.handleEvent(StyledText.java:5661) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4464) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1388) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1412) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1397) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1424) at org.eclipse.swt.widgets.Widget.gtk_key_press_event(Widget.java:824) at org.eclipse.swt.widgets.Control.gtk_key_press_event(Control.java:3274) at org.eclipse.swt.widgets.Composite.gtk_key_press_event(Composite.java:773) at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:2098) at org.eclipse.swt.widgets.Control.windowProc(Control.java:5515) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4680) at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(OS.java:-2) at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(OS.java:9137) at org.eclipse.swt.widgets.Display.eventProc(Display.java:1253) at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(OS.java:-2) at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:2482) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3411) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:637) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:580) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:141) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235) at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603) at org.eclipse.equinox.launcher.Main.run(Main.java:1465) at org.eclipse.equinox.launcher.Main.main(Main.java:1438) Messages, stacktraces, and nested status objects may be shortened. Please visit http://dev.eclipse.org/recommenders/committers/confess/0.5/reports/54441dd3e4b073e55266ffae for the complete error log. Some general information and guidelines about how to use this bug report: 1. Feel free to move this bug to your own product and components. Please note that this bug is only accessible to Eclipse committers. If you move this bug please make sure that it's still in the "Security Advisor" group. 2. The bug contents of the fields status, resolution, keywords, and whitelist are presented to reporters. If you needs more information, please set the keyword "needinfo". This will trigger a specialized dialog asking the user to provide further details. 3. Use the following resolutions for the following situations: * CLOSED / FIXED: This bug has been fixed. Please provide additional information in the whiteboard field. * CLOSED / WORKSFORME: Use this resolution if you can't reproduce this issue and request further information. Please use the whiteboard text to specify more details what a user should provide and how. * CLOSED / INVALID: Use this resolution if the reported problem is a 'user-configuration' problem. Please consider giving hints how to fix these issues in the whiteboard field. * CLOSED / NOT ECLIPSE: Use this if the problem is caused by another plugin not developed at Eclipse.org * CLOSED / MOVED: If this bug has been moved else where. Please provide more information (e.g. a link) in the whiteboard field. 4. Please remember that only committers can view and comment on this bug. You may, however, manually add the reporting user to the bug's cc list. But keep in mind that the report may contains sensitive information. 5. If you are missing a feature, please file a enhancement request here: https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Recommenders.Incubator&component=Stacktraces Thank you for your assistance. Your friendly error-reports-inbox. -- * Note: The list of present bundles and their respective versions was calculated by package naming heuristics. This may or may not reflect reality.
I've looked up the (to date) top-3 most similar bug groups and listed the closest bug of each group below. This report may or may not be duplicate of those (low or similar scores for all entries may indicate that this hasn't been reported yet): > 1. Bug 446841: [rec] Session processor ‘class com.codetrails.connect.internal.hippie.rcp.completio... (err_grp: 9db521ae) – 0,9 > 2. Bug 446287: Error reading manifest for E:\Codetrails\Git\plugins\org.eclipse.recommenders... (err_grp: 3a397a7c) – 0,7 > 3. Bug 445578: Unhandled event loop exception (err_grp: bf95b1bc) – 0,6 If this report actually is a duplicate of those, please mark it as such. This information helps me to improve the recommendations further for the next issue. Thank you for your assistance. Your friendly error-reports-inbox.
Without further information about what steps were executed it's hard to find a reason why null could end up at that place. Because this problem came up at the same time as bug 447892, which was caused by platform changes, it's not unlikely that this problem is fixed together with bug 447892.
I'll mark this as a duplicate. Looking at the code a org.eclipse.oomph.version.ui.quickfixes.ReplaceResolution.ReplaceResolution(IMarker, String, String) is created only by org.eclipse.oomph.version.ui.quickfixes.VersionResolutionGenerator.getResolutions(IMarker) and only String regEx = Markers.getQuickFixPattern(marker); if (regEx != null) So it seems generally not possible that regex be null during apply: String regEx = Markers.getQuickFixPattern(marker); String replacement = getQuickFixReplacement(marker); Pattern pattern = Pattern.compile(regEx, Pattern.MULTILINE | Pattern.DOTALL); So most likely this is an issue of operating on the wrong thread... *** This bug has been marked as a duplicate of bug 447892 ***