Hello everyone,
I am almost certain that this is a PDT<->Subclipse issue, and I
thought by asking here I would get something from someone who also had
the issue. As I surfed the web for a while now and couldnt find
anything useful.
The reason why I think this is a PDT/Subclipse issue is that when I
try to open files from a remote location (ie. from the 'SVN
Repository' view), any file type that is handled by an PDT editor
gives me the error below, any other file types (.txt, .java) opens
with no problems. Also when I set the .php files to be opened by a
text editor (from the preference) they open with no problems as well
(of course this will take away all the rich features that the php
editor has).
This happens with all files with .php extension and in all the SVN
repos I added.
So anybody's familiar with such a thing? Here is the errors I get
(Linked screenshot and error stack below when clicking the Details
button).
java.lang.NullP ointerException
at
org.eclipse.php .internal.ui.ed itor.PHPStructu redEditor.getFi le(Unknown
Source)
at org.eclipse.php .internal.ui.ed itor.PHPStructu redEditor
$1.getProject(U nknown Source)
at
org.eclipse.php .internal.core. project.propert ies.handlers.Ph pVersionChanged Handler.addPhpV ersionChangedLi stener(Unknown
Source)
at
org.eclipse.php .internal.ui.ed itor.PHPStructu redEditor.init( Unknown
Source)
at
org.eclipse.ui. internal.Editor Manager.createS ite(EditorManag er.java:
840)
at
org.eclipse.ui. internal.Editor Reference.creat ePartHelper(Edi torReference.ja va:
583)
at
org.eclipse.ui. internal.Editor Reference.creat ePart(EditorRef erence.java:
372)
at
org.eclipse.ui. internal.Workbe nchPartReferenc e.getPart(Workb enchPartReferen ce.java:
566)
at org.eclipse.ui. internal.PartPa ne.setVisible(P artPane.java:29 0)
at
org.eclipse.ui. internal.presen tations.Present ablePart.setVis ible(Presentabl ePart.java:
140)
at
org.eclipse.ui. internal.presen tations.util.Pr esentablePartFo lder.select(Pre sentablePartFol der.java:
268)
at
org.eclipse.ui. internal.presen tations.util.Le ftToRightTabOrd er.select(LeftT oRightTabOrder. java:
65)
at
org.eclipse.ui. internal.presen tations.util.Ta bbedStackPresen tation.selectPa rt(TabbedStackP resentation.jav a:
394)
at
org.eclipse.ui. internal.PartSt ack.refreshPres entationSelecti on(PartStack.ja va:
1144)
at org.eclipse.ui. internal.PartSt ack.setSelectio n(PartStack.jav a:
1097)
at org.eclipse.ui. internal.PartSt ack.showPart(Pa rtStack.java:13 11)
at org.eclipse.ui. internal.PartSt ack.add(PartSta ck.java:455)
at org.eclipse.ui. internal.Editor Stack.add(Edito rStack.java:102 )
at org.eclipse.ui. internal.PartSt ack.add(PartSta ck.java:441)
at org.eclipse.ui. internal.Editor Stack.add(Edito rStack.java:111 )
at
org.eclipse.ui. internal.Editor SashContainer.a ddEditor(Editor SashContainer.j ava:
60)
at
org.eclipse.ui. internal.Editor AreaHelper.addT oLayout(EditorA reaHelper.java:
217)
at
org.eclipse.ui. internal.Editor AreaHelper.addE ditor(EditorAre aHelper.java:
207)
at
org.eclipse.ui. internal.Editor Manager.createE ditorTab(Editor Manager.java:
820)
at
org.eclipse.ui. internal.Editor Manager.openEdi torFromDescript or(EditorManage r.java:
719)
at
org.eclipse.ui. internal.Editor Manager.openEdi tor(EditorManag er.java:
680)
at
org.eclipse.ui. internal.Workbe nchPage.busyOpe nEditorBatched( WorkbenchPage.j ava:
2593)
at
org.eclipse.ui. internal.Workbe nchPage.busyOpe nEditor(Workben chPage.java:
2528)
at org.eclipse.ui. internal.Workbe nchPage.access
$10(WorkbenchPa ge.java:2520)
at org.eclipse.ui. internal.Workbe nchPage$9.run(W orkbenchPage.ja va:
2505)
at
org.eclipse.swt .custom.BusyInd icator.showWhil e(BusyIndicator .java:67)
at
org.eclipse.ui. internal.Workbe nchPage.openEdi tor(WorkbenchPa ge.java:
2500)
at
org.eclipse.ui. internal.Workbe nchPage.openEdi tor(WorkbenchPa ge.java:
2477)
at org.tigris.subv ersion.subclips e.ui.actions.Op enRemoteFileAct ion
$1.run(OpenRemo teFileAction.ja va:59)
at
org.tigris.subv ersion.subclips e.ui.repository .RepositoryMana ger.run(Reposit oryManager.java :
375)
at org.tigris.subv ersion.subclips e.ui.actions.SV NAction
$1.run(SVNActio n.java:226)
at org.tigris.subv ersion.subclips e.ui.actions.SV NAction
$2.run(SVNActio n.java:235)
at
org.eclipse.swt .custom.BusyInd icator.showWhil e(BusyIndicator .java:67)
at
org.tigris.subv ersion.subclips e.ui.actions.SV NAction.run(SVN Action.java:
232)
at
org.tigris.subv ersion.subclips e.ui.actions.Op enRemoteFileAct ion.execute(Ope nRemoteFileActi on.java:
36)
at
org.tigris.subv ersion.subclips e.ui.actions.SV NAction.run(SVN Action.java:
56)
at
org.tigris.subv ersion.subclips e.ui.repository .RepositoriesVi ew.handleDouble Click(Repositor iesView.java:
530)
at
org.tigris.subv ersion.subclips e.ui.repository .RepositoriesVi ew.access
$2(Repositories View.java:520)
at org.tigris.subv ersion.subclips e.ui.repository .RepositoriesVi ew
$11.doubleClick (RepositoriesVi ew.java:395)
at org.eclipse.jfa ce.viewers.Stru cturedViewer
$1.run(Structur edViewer.java:7 96)
at org.eclipse.cor e.runtime.SafeR unner.run(SafeR unner.java:37)
at org.eclipse.cor e.runtime.Platf orm.run(Platfor m.java:843)
at org.eclipse.ui. internal.JFaceU til$1.run(JFace Util.java:44)
at org.eclipse.jfa ce.util.SafeRun nable.run(SafeR unnable.java:14 9)
at
org.eclipse.jfa ce.viewers.Stru cturedViewer.fi reDoubleClick(S tructuredViewer .java:
794)
at
org.eclipse.jfa ce.viewers.Abst ractTreeViewer. handleDoubleSel ect(AbstractTre eViewer.java:
1227)
at org.eclipse.jfa ce.viewers.Stru cturedViewer
$4.widgetDefaul tSelected(Struc turedViewer.jav a:1158)
at
org.eclipse.jfa ce.util.OpenStr ategy.fireDefau ltSelectionEven t(OpenStrategy. java:
223)
at org.eclipse.jfa ce.util.OpenStr ategy.access$0( OpenStrategy.ja va:
220)
at org.eclipse.jfa ce.util.OpenStr ategy
$1.handleEvent( OpenStrategy.ja va:281)
at org.eclipse.swt .widgets.EventT able.sendEvent( EventTable.java :
66)
at org.eclipse.swt .widgets.Widget .sendEvent(Widg et.java:928)
at org.eclipse.swt .widgets.Displa y.runDeferredEv ents(Display.ja va:
3348)
at org.eclipse.swt .widgets.Displa y.readAndDispat ch(Display.java :
2968)
at org.eclipse.ui. internal.Workbe nch.runEventLoo p(Workbench.jav a:
1914)
at org.eclipse.ui. internal.Workbe nch.runUI(Workb ench.java:1878)
at
org.eclipse.ui. internal.Workbe nch.createAndRu nWorkbench(Work bench.java:
419)
at org.eclipse.ui. PlatformUI.crea teAndRunWorkben ch(PlatformUI.j ava:
149)
at
org.eclipse.ui. internal.ide.ID EApplication.ru n(IDEApplicatio n.java:95)
at org.eclipse.cor e.internal.runt ime.PlatformAct ivator
$1.run(Platform Activator.java: 78)
at
org.eclipse.cor e.runtime.inter nal.adaptor.Ecl ipseAppLauncher .runApplication (EclipseAppLaun cher.java:
92)
at
org.eclipse.cor e.runtime.inter nal.adaptor.Ecl ipseAppLauncher .start(EclipseA ppLauncher.java :
68)
at
org.eclipse.cor e.runtime.adapt or.EclipseStart er.run(EclipseS tarter.java:
400)
at
org.eclipse.cor e.runtime.adapt or.EclipseStart er.run(EclipseS tarter.java:
177)
at sun.reflect.Nat iveMethodAccess orImpl.invoke0( Native Method)
at sun.reflect.Nat iveMethodAccess orImpl.invoke(U nknown Source)
at sun.reflect.Del egatingMethodAc cessorImpl.invo ke(Unknown Source)
at java.lang.refle ct.Method.invok e(Unknown Source)
at org.eclipse.cor e.launcher.Main .invokeFramewor k(Main.java:336 )
at org.eclipse.cor e.launcher.Main .basicRun(Main. java:280)
at org.eclipse.cor e.launcher.Main .run(Main.java: 977)
at org.eclipse.cor e.launcher.Main .main(Main.java :952)
I am almost certain that this is a PDT<->Subclipse issue, and I
thought by asking here I would get something from someone who also had
the issue. As I surfed the web for a while now and couldnt find
anything useful.
The reason why I think this is a PDT/Subclipse issue is that when I
try to open files from a remote location (ie. from the 'SVN
Repository' view), any file type that is handled by an PDT editor
gives me the error below, any other file types (.txt, .java) opens
with no problems. Also when I set the .php files to be opened by a
text editor (from the preference) they open with no problems as well
(of course this will take away all the rich features that the php
editor has).
This happens with all files with .php extension and in all the SVN
repos I added.
So anybody's familiar with such a thing? Here is the errors I get
(Linked screenshot and error stack below when clicking the Details
button).
java.lang.NullP ointerException
at
org.eclipse.php .internal.ui.ed itor.PHPStructu redEditor.getFi le(Unknown
Source)
at org.eclipse.php .internal.ui.ed itor.PHPStructu redEditor
$1.getProject(U nknown Source)
at
org.eclipse.php .internal.core. project.propert ies.handlers.Ph pVersionChanged Handler.addPhpV ersionChangedLi stener(Unknown
Source)
at
org.eclipse.php .internal.ui.ed itor.PHPStructu redEditor.init( Unknown
Source)
at
org.eclipse.ui. internal.Editor Manager.createS ite(EditorManag er.java:
840)
at
org.eclipse.ui. internal.Editor Reference.creat ePartHelper(Edi torReference.ja va:
583)
at
org.eclipse.ui. internal.Editor Reference.creat ePart(EditorRef erence.java:
372)
at
org.eclipse.ui. internal.Workbe nchPartReferenc e.getPart(Workb enchPartReferen ce.java:
566)
at org.eclipse.ui. internal.PartPa ne.setVisible(P artPane.java:29 0)
at
org.eclipse.ui. internal.presen tations.Present ablePart.setVis ible(Presentabl ePart.java:
140)
at
org.eclipse.ui. internal.presen tations.util.Pr esentablePartFo lder.select(Pre sentablePartFol der.java:
268)
at
org.eclipse.ui. internal.presen tations.util.Le ftToRightTabOrd er.select(LeftT oRightTabOrder. java:
65)
at
org.eclipse.ui. internal.presen tations.util.Ta bbedStackPresen tation.selectPa rt(TabbedStackP resentation.jav a:
394)
at
org.eclipse.ui. internal.PartSt ack.refreshPres entationSelecti on(PartStack.ja va:
1144)
at org.eclipse.ui. internal.PartSt ack.setSelectio n(PartStack.jav a:
1097)
at org.eclipse.ui. internal.PartSt ack.showPart(Pa rtStack.java:13 11)
at org.eclipse.ui. internal.PartSt ack.add(PartSta ck.java:455)
at org.eclipse.ui. internal.Editor Stack.add(Edito rStack.java:102 )
at org.eclipse.ui. internal.PartSt ack.add(PartSta ck.java:441)
at org.eclipse.ui. internal.Editor Stack.add(Edito rStack.java:111 )
at
org.eclipse.ui. internal.Editor SashContainer.a ddEditor(Editor SashContainer.j ava:
60)
at
org.eclipse.ui. internal.Editor AreaHelper.addT oLayout(EditorA reaHelper.java:
217)
at
org.eclipse.ui. internal.Editor AreaHelper.addE ditor(EditorAre aHelper.java:
207)
at
org.eclipse.ui. internal.Editor Manager.createE ditorTab(Editor Manager.java:
820)
at
org.eclipse.ui. internal.Editor Manager.openEdi torFromDescript or(EditorManage r.java:
719)
at
org.eclipse.ui. internal.Editor Manager.openEdi tor(EditorManag er.java:
680)
at
org.eclipse.ui. internal.Workbe nchPage.busyOpe nEditorBatched( WorkbenchPage.j ava:
2593)
at
org.eclipse.ui. internal.Workbe nchPage.busyOpe nEditor(Workben chPage.java:
2528)
at org.eclipse.ui. internal.Workbe nchPage.access
$10(WorkbenchPa ge.java:2520)
at org.eclipse.ui. internal.Workbe nchPage$9.run(W orkbenchPage.ja va:
2505)
at
org.eclipse.swt .custom.BusyInd icator.showWhil e(BusyIndicator .java:67)
at
org.eclipse.ui. internal.Workbe nchPage.openEdi tor(WorkbenchPa ge.java:
2500)
at
org.eclipse.ui. internal.Workbe nchPage.openEdi tor(WorkbenchPa ge.java:
2477)
at org.tigris.subv ersion.subclips e.ui.actions.Op enRemoteFileAct ion
$1.run(OpenRemo teFileAction.ja va:59)
at
org.tigris.subv ersion.subclips e.ui.repository .RepositoryMana ger.run(Reposit oryManager.java :
375)
at org.tigris.subv ersion.subclips e.ui.actions.SV NAction
$1.run(SVNActio n.java:226)
at org.tigris.subv ersion.subclips e.ui.actions.SV NAction
$2.run(SVNActio n.java:235)
at
org.eclipse.swt .custom.BusyInd icator.showWhil e(BusyIndicator .java:67)
at
org.tigris.subv ersion.subclips e.ui.actions.SV NAction.run(SVN Action.java:
232)
at
org.tigris.subv ersion.subclips e.ui.actions.Op enRemoteFileAct ion.execute(Ope nRemoteFileActi on.java:
36)
at
org.tigris.subv ersion.subclips e.ui.actions.SV NAction.run(SVN Action.java:
56)
at
org.tigris.subv ersion.subclips e.ui.repository .RepositoriesVi ew.handleDouble Click(Repositor iesView.java:
530)
at
org.tigris.subv ersion.subclips e.ui.repository .RepositoriesVi ew.access
$2(Repositories View.java:520)
at org.tigris.subv ersion.subclips e.ui.repository .RepositoriesVi ew
$11.doubleClick (RepositoriesVi ew.java:395)
at org.eclipse.jfa ce.viewers.Stru cturedViewer
$1.run(Structur edViewer.java:7 96)
at org.eclipse.cor e.runtime.SafeR unner.run(SafeR unner.java:37)
at org.eclipse.cor e.runtime.Platf orm.run(Platfor m.java:843)
at org.eclipse.ui. internal.JFaceU til$1.run(JFace Util.java:44)
at org.eclipse.jfa ce.util.SafeRun nable.run(SafeR unnable.java:14 9)
at
org.eclipse.jfa ce.viewers.Stru cturedViewer.fi reDoubleClick(S tructuredViewer .java:
794)
at
org.eclipse.jfa ce.viewers.Abst ractTreeViewer. handleDoubleSel ect(AbstractTre eViewer.java:
1227)
at org.eclipse.jfa ce.viewers.Stru cturedViewer
$4.widgetDefaul tSelected(Struc turedViewer.jav a:1158)
at
org.eclipse.jfa ce.util.OpenStr ategy.fireDefau ltSelectionEven t(OpenStrategy. java:
223)
at org.eclipse.jfa ce.util.OpenStr ategy.access$0( OpenStrategy.ja va:
220)
at org.eclipse.jfa ce.util.OpenStr ategy
$1.handleEvent( OpenStrategy.ja va:281)
at org.eclipse.swt .widgets.EventT able.sendEvent( EventTable.java :
66)
at org.eclipse.swt .widgets.Widget .sendEvent(Widg et.java:928)
at org.eclipse.swt .widgets.Displa y.runDeferredEv ents(Display.ja va:
3348)
at org.eclipse.swt .widgets.Displa y.readAndDispat ch(Display.java :
2968)
at org.eclipse.ui. internal.Workbe nch.runEventLoo p(Workbench.jav a:
1914)
at org.eclipse.ui. internal.Workbe nch.runUI(Workb ench.java:1878)
at
org.eclipse.ui. internal.Workbe nch.createAndRu nWorkbench(Work bench.java:
419)
at org.eclipse.ui. PlatformUI.crea teAndRunWorkben ch(PlatformUI.j ava:
149)
at
org.eclipse.ui. internal.ide.ID EApplication.ru n(IDEApplicatio n.java:95)
at org.eclipse.cor e.internal.runt ime.PlatformAct ivator
$1.run(Platform Activator.java: 78)
at
org.eclipse.cor e.runtime.inter nal.adaptor.Ecl ipseAppLauncher .runApplication (EclipseAppLaun cher.java:
92)
at
org.eclipse.cor e.runtime.inter nal.adaptor.Ecl ipseAppLauncher .start(EclipseA ppLauncher.java :
68)
at
org.eclipse.cor e.runtime.adapt or.EclipseStart er.run(EclipseS tarter.java:
400)
at
org.eclipse.cor e.runtime.adapt or.EclipseStart er.run(EclipseS tarter.java:
177)
at sun.reflect.Nat iveMethodAccess orImpl.invoke0( Native Method)
at sun.reflect.Nat iveMethodAccess orImpl.invoke(U nknown Source)
at sun.reflect.Del egatingMethodAc cessorImpl.invo ke(Unknown Source)
at java.lang.refle ct.Method.invok e(Unknown Source)
at org.eclipse.cor e.launcher.Main .invokeFramewor k(Main.java:336 )
at org.eclipse.cor e.launcher.Main .basicRun(Main. java:280)
at org.eclipse.cor e.launcher.Main .run(Main.java: 977)
at org.eclipse.cor e.launcher.Main .main(Main.java :952)