Tagged: NullPointerException
- This topic has 2 replies, 2 voices, and was last updated 5 years, 3 months ago by support-swapna.
-
AuthorPosts
-
a2472678187ParticipantWhen I use devstyle and click on the JavaScript method on the right outline, NullPointerException occurs,I found this problem in devStyle a long time ago, and it happens to all eclipse platforms except myeclipse.Please find out the problem and solve it.Thank you.Or is this an Eclipse platform issue?
eclipse.buildId=3.9.9.201906181741-RELEASE-e412 java.version=1.8.0_212 java.vendor=Oracle Corporation BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=zh_CN Framework arguments: -product org.springsource.sts.ide Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.springsource.sts.ide This is a continuation of log file E:\Eclipse workspace\.metadata\.bak_0.log Created Time: 2019-07-27 09:36:39.025 org.eclipse.ui.views 错误 Sat Jul 27 09:46:08 CST 2019 Problems occurred when invoking code from plug-in: "org.eclipse.ui.views". java.lang.NullPointerException at org.eclipse.jst.jsp.ui.internal.editor.JSPSelectionConverterFactory$XMLSelectionConverter.getNameRegion(JSPSelectionConverterFactory.java:98) at org.eclipse.jst.jsp.ui.internal.editor.JSPSelectionConverterFactory$XMLSelectionConverter.getSelectionRegion(JSPSelectionConverterFactory.java:136) at org.eclipse.wst.sse.ui.StructuredTextEditor$OutlinePageListener.selectionChanged(StructuredTextEditor.java:430) at org.eclipse.ui.views.contentoutline.ContentOutlinePage$1.run(ContentOutlinePage.java:112) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45) at org.eclipse.ui.views.contentoutline.ContentOutlinePage.fireSelectionChanged(ContentOutlinePage.java:109) at org.eclipse.ui.views.contentoutline.ContentOutlinePage.selectionChanged(ContentOutlinePage.java:157) at org.eclipse.wst.sse.ui.internal.contentoutline.ConfigurableContentOutlinePage.selectionChanged(ConfigurableContentOutlinePage.java:527) at org.eclipse.jface.viewers.Viewer$1.run(Viewer.java:151) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45) at org.eclipse.ui.internal.JFaceUtil.lambda$0(JFaceUtil.java:47) at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:176) at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:148) at org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:2124) at org.eclipse.jface.viewers.StructuredViewer.handleSelect(StructuredViewer.java:1168) at org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected(StructuredViewer.java:1197) at org.eclipse.jface.util.OpenStrategy.fireSelectionEvent(OpenStrategy.java:242) at org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.java:237) at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:402) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4131) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1056) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3944) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3547) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1173) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1062) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155) at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:635) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:559) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:155) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:137) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:107) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255) 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:498) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:660) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:597) at org.eclipse.equinox.launcher.Main.run(Main.java:1468)
Attachments:
You must be logged in to view attached files.
a2472678187Participantlog
Attachments:
You must be logged in to view attached files.
support-swapnaModeratorHi,
Sorry that you are seeing this issue. Thank you for the stacktrace and the details.
I am afraid it is an Eclipse issue and not a DevStyle one. I checked with a fresh install of STS 3.9.9 without DevStyle plugin and see the same problem as reported by you. We fixed it specifically in MyEclipse.CodeMix, our latest Eclipse plugin brings VSCode smarts to your IDE. It gives you a better development experience with existing tech like HTML,JS,CSS and Angular along with supporting all the latest tech like Vue, React among dozens of others. Please see this link for more details : https://www.genuitec.com/products/codemix/
CodeMix is free with existing paid licenses for MyEclipse Professional and higher. You can install CodeMix to MyEclipse from the Marketplace or using this update site : http://www.genuitec.com/updates/codemix/ci/
Please give it a try and let us know if you see any problems.
–Swapna
Genuitec Support -
AuthorPosts