You are here: Problem PDT-Subclipse « PHP Programming Language « IT news, forums, messages
Problem PDT-Subclipse

Posted by Dmon on 05/12/07 13:10

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://picasaweb.google.com/dmondark/Public/photo#5063658865625683346



java.lang.NullPointerException
at
org.eclipse.php.internal.ui.editor.PHPStructuredEditor.getFile(Unknown
Source)
at org.eclipse.php.internal.ui.editor.PHPStructuredEditor
$1.getProject(Unknown Source)
at
org.eclipse.php.internal.core.project.properties.handlers.PhpVersionChangedHandler.addPhpVersionChangedListener(Unknown
Source)
at
org.eclipse.php.internal.ui.editor.PHPStructuredEditor.init(Unknown
Source)
at
org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:
840)
at
org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:
583)
at
org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:
372)
at
org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:
566)
at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:290)
at
org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:
140)
at
org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:
268)
at
org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:
65)
at
org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:
394)
at
org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:
1144)
at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:
1097)
at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1311)
at org.eclipse.ui.internal.PartStack.add(PartStack.java:455)
at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:102)
at org.eclipse.ui.internal.PartStack.add(PartStack.java:441)
at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:111)
at
org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:
60)
at
org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorAreaHelper.java:
217)
at
org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:
207)
at
org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:
820)
at
org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:
719)
at
org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:
680)
at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:
2593)
at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:
2528)
at org.eclipse.ui.internal.WorkbenchPage.access
$10(WorkbenchPage.java:2520)
at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:
2505)
at
org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:
2500)
at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:
2477)
at org.tigris.subversion.subclipse.ui.actions.OpenRemoteFileAction
$1.run(OpenRemoteFileAction.java:59)
at
org.tigris.subversion.subclipse.ui.repository.RepositoryManager.run(RepositoryManager.java:
375)
at org.tigris.subversion.subclipse.ui.actions.SVNAction
$1.run(SVNAction.java:226)
at org.tigris.subversion.subclipse.ui.actions.SVNAction
$2.run(SVNAction.java:235)
at
org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
at
org.tigris.subversion.subclipse.ui.actions.SVNAction.run(SVNAction.java:
232)
at
org.tigris.subversion.subclipse.ui.actions.OpenRemoteFileAction.execute(OpenRemoteFileAction.java:
36)
at
org.tigris.subversion.subclipse.ui.actions.SVNAction.run(SVNAction.java:
56)
at
org.tigris.subversion.subclipse.ui.repository.RepositoriesView.handleDoubleClick(RepositoriesView.java:
530)
at
org.tigris.subversion.subclipse.ui.repository.RepositoriesView.access
$2(RepositoriesView.java:520)
at org.tigris.subversion.subclipse.ui.repository.RepositoriesView
$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.java:843)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:149)
at
org.eclipse.jface.viewers.StructuredViewer.fireDoubleClick(StructuredViewer.java:
794)
at
org.eclipse.jface.viewers.AbstractTreeViewer.handleDoubleSelect(AbstractTreeViewer.java:
1227)
at org.eclipse.jface.viewers.StructuredViewer
$4.widgetDefaultSelected(StructuredViewer.java:1158)
at
org.eclipse.jface.util.OpenStrategy.fireDefaultSelectionEvent(OpenStrategy.java:
223)
at org.eclipse.jface.util.OpenStrategy.access$0(OpenStrategy.java:
220)
at org.eclipse.jface.util.OpenStrategy
$1.handleEvent(OpenStrategy.java:281)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:
66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:
3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:
2968)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:
1914)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:
419)
at
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:
149)
at
org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
at org.eclipse.core.internal.runtime.PlatformActivator
$1.run(PlatformActivator.java:78)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:
92)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:
68)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:
400)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:
177)
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.core.launcher.Main.invokeFramework(Main.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)

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация