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).
http://lh6.google.com/image/dmondark...s144/Error.jpg
java.lang.NullPointerException
at
org.eclipse.php.internal.ui.editor.PHPStructuredEd itor.getFile(Unknown
Source)
at org.eclipse.php.internal.ui.editor.PHPStructuredEd itor
$1.getProject(Unknown Source)
at
org.eclipse.php.internal.core.project.properties.h andlers.PhpVersionChangedHandler.addPhpVersionChan gedListener(Unknown
Source)
at
org.eclipse.php.internal.ui.editor.PHPStructuredEd itor.init(Unknown
Source)
at
org.eclipse.ui.internal.EditorManager.createSite(E ditorManager.java:
840)
at
org.eclipse.ui.internal.EditorReference.createPart Helper(EditorReference.java:
583)
at
org.eclipse.ui.internal.EditorReference.createPart (EditorReference.java:
372)
at
org.eclipse.ui.internal.WorkbenchPartReference.get Part(WorkbenchPartReference.java:
566)
at org.eclipse.ui.internal.PartPane.setVisible(PartPa ne.java:290)
at
org.eclipse.ui.internal.presentations.PresentableP art.setVisible(PresentablePart.java:
140)
at
org.eclipse.ui.internal.presentations.util.Present ablePartFolder.select(PresentablePartFolder.java:
268)
at
org.eclipse.ui.internal.presentations.util.LeftToR ightTabOrder.select(LeftToRightTabOrder.java:
65)
at
org.eclipse.ui.internal.presentations.util.TabbedS tackPresentation.selectPart(TabbedStackPresentatio n.java:
394)
at
org.eclipse.ui.internal.PartStack.refreshPresentat ionSelection(PartStack.java:
1144)
at org.eclipse.ui.internal.PartStack.setSelection(Par tStack.java:
1097)
at org.eclipse.ui.internal.PartStack.showPart(PartSta ck.java:1311)
at org.eclipse.ui.internal.PartStack.add(PartStack.ja va:455)
at org.eclipse.ui.internal.EditorStack.add(EditorStac k.java:102)
at org.eclipse.ui.internal.PartStack.add(PartStack.ja va:441)
at org.eclipse.ui.internal.EditorStack.add(EditorStac k.java:111)
at
org.eclipse.ui.internal.EditorSashContainer.addEdi tor(EditorSashContainer.java:
60)
at
org.eclipse.ui.internal.EditorAreaHelper.addToLayo ut(EditorAreaHelper.java:
217)
at
org.eclipse.ui.internal.EditorAreaHelper.addEditor (EditorAreaHelper.java:
207)
at
org.eclipse.ui.internal.EditorManager.createEditor Tab(EditorManager.java:
820)
at
org.eclipse.ui.internal.EditorManager.openEditorFr omDescriptor(EditorManager.java:
719)
at
org.eclipse.ui.internal.EditorManager.openEditor(E ditorManager.java:
680)
at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEdit orBatched(WorkbenchPage.java:
2593)
at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEdit or(WorkbenchPage.java:
2528)
at org.eclipse.ui.internal.WorkbenchPage.access
$10(WorkbenchPage.java:2520)
at org.eclipse.ui.internal.WorkbenchPage$9.run(Workbe nchPage.java:
2505)
at
org.eclipse.swt.custom.BusyIndicator.showWhile(Bus yIndicator.java:67)
at
org.eclipse.ui.internal.WorkbenchPage.openEditor(W orkbenchPage.java:
2500)
at
org.eclipse.ui.internal.WorkbenchPage.openEditor(W orkbenchPage.java:
2477)
at org.tigris.subversion.subclipse.ui.actions.OpenRem oteFileAction
$1.run(OpenRemoteFileAction.java:59)
at
org.tigris.subversion.subclipse.ui.repository.Repo sitoryManager.run(RepositoryManager.java:
375)
at org.tigris.subversion.subclipse.ui.actions.SVNActi on
$1.run(SVNAction.java:226)
at org.tigris.subversion.subclipse.ui.actions.SVNActi on
$2.run(SVNAction.java:235)
at
org.eclipse.swt.custom.BusyIndicator.showWhile(Bus yIndicator.java:67)
at
org.tigris.subversion.subclipse.ui.actions.SVNActi on.run(SVNAction.java:
232)
at
org.tigris.subversion.subclipse.ui.actions.OpenRem oteFileAction.execute(OpenRemoteFileAction.java:
36)
at
org.tigris.subversion.subclipse.ui.actions.SVNActi on.run(SVNAction.java:
56)
at
org.tigris.subversion.subclipse.ui.repository.Repo sitoriesView.handleDoubleClick(RepositoriesView.ja va:
530)
at
org.tigris.subversion.subclipse.ui.repository.Repo sitoriesView.access
$2(RepositoriesView.java:520)
at org.tigris.subversion.subclipse.ui.repository.Repo sitoriesView
$11.doubleClick(RepositoriesView.java:395)
at org.eclipse.jface.viewers.StructuredViewer
$1.run(StructuredViewer.java:796)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner .java:37)
at org.eclipse.core.runtime.Platform.run(Platform.jav a:843)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil. java:44)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnab le.java:149)
at
org.eclipse.jface.viewers.StructuredViewer.fireDou bleClick(StructuredViewer.java:
794)
at
org.eclipse.jface.viewers.AbstractTreeViewer.handl eDoubleSelect(AbstractTreeViewer.java:
1227)
at org.eclipse.jface.viewers.StructuredViewer
$4.widgetDefaultSelected(StructuredViewer.java:115 8)
at
org.eclipse.jface.util.OpenStrategy.fireDefaultSel ectionEvent(OpenStrategy.java:
223)
at org.eclipse.jface.util.OpenStrategy.access$0(OpenS trategy.java:
220)
at org.eclipse.jface.util.OpenStrategy
$1.handleEvent(OpenStrategy.java:281)
at org.eclipse.swt.widgets.EventTable.sendEvent(Event Table.java:
66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.ja va:928)
at org.eclipse.swt.widgets.Display.runDeferredEvents( Display.java:
3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Di splay.java:
2968)
at org.eclipse.ui.internal.Workbench.runEventLoop(Wor kbench.java:
1914)
at org.eclipse.ui.internal.Workbench.runUI(Workbench. java:1878)
at
org.eclipse.ui.internal.Workbench.createAndRunWork bench(Workbench.java:
419)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(Pl atformUI.java:
149)
at
org.eclipse.ui.internal.ide.IDEApplication.run(IDE Application.java:95)
at org.eclipse.core.internal.runtime.PlatformActivato r
$1.run(PlatformActivator.java:78)
at
org.eclipse.core.runtime.internal.adaptor.EclipseA ppLauncher.runApplication(EclipseAppLauncher.java:
92)
at
org.eclipse.core.runtime.internal.adaptor.EclipseA ppLauncher.start(EclipseAppLauncher.java:
68)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:
400)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:
177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Mai n.java:336)
at org.eclipse.core.launcher.Main.basicRun(Main.java: 280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)