| Summary: | Error on clickking a js file with conflict | ||
|---|---|---|---|
| Product: | [WebTools] JSDT | Reporter: | Diamantis Karagkiaouris <d.karagkiaouris> |
| Component: | General | Assignee: | Project Inbox <jsdt.javascript-inbox> |
| Status: | CLOSED DUPLICATE | QA Contact: | Victor Rubezhny <vrubezhny> |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | matthias.sohn, twolf, vrubezhny |
| Version: | unspecified | ||
| Target Milestone: | Future | ||
| Hardware: | PC | ||
| OS: | Windows 10 | ||
| Whiteboard: | |||
|
Description
Diamantis Karagkiaouris
And also this error: java.lang.NullPointerException at org.eclipse.ui.internal.PartSite.getShell(PartSite.java:477) at org.eclipse.ui.forms.editor.FormEditor.close(FormEditor.java:651) at org.eclipse.mylyn.internal.tasks.ui.editors.TaskMigrator.closeEditor(TaskMigrator.java:158) at org.eclipse.mylyn.internal.tasks.ui.editors.TaskMigrator.execute(TaskMigrator.java:118) at org.eclipse.mylyn.tasks.ui.editors.AbstractTaskEditorPage$SubmitTaskJobListener$1.run(AbstractTaskEditorPage.java:230) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:40) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:185) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3919) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3550) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1173) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:339) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1062) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156) at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:636) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:339) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:563) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:151) 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(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:659) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:595) at org.eclipse.equinox.launcher.Main.run(Main.java:1501) The first problem rather looks like a problem in org.eclipse.compare. The NPE seems to be a Mylyn issue. comment 0 appears to be a JSDT problem. What is set as input in Preferences->Git, "Merge Tool content"? If it's "Workspace (pre-merged by git)", the file will contain the merge markers <<<<<, =====, >>>>>, which probably throw off the JSDT parser such that it creates AST nodes with invalid document ranges. Does the problem also appear if you change that preference to "Last HEAD (unmerged)"? *** This bug has been marked as a duplicate of bug 509820 *** |