[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[Subclipse-users] Error when trying to "Open" a history item

From: Ali Al-Wasity <dmondark_at_gmail.com>
Date: 2007-05-12 04:53:19 CEST

Hello everyone,

Everything in Subclipse works greate for me, except for this:

So I checked out a trunk from a project, opened one of its files, and
activated the history view of that file. Now when trying to "Get
content", "Get revision"...etc from a file revision in the history
view, it works with no problem, except when trying to open
(rightclick->Open or double click). Eclipse freezes for like 15
second, opens a new editor type and throws an exception along with a
message box of "Unsupported content type in editor". The exception is
"Unable to create this part due to an internal error. Reason for the
failure: An exception was thrown during initialization", and the error
stack is below. Has this happened to anybody else? can anyone help me?

Thanks in advance

Cheers,
Ali

The stack:

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.EditorReference.getEditor(EditorReference.java:214)
        at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2595)
        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.history.SVNHistoryPage$26.run(SVNHistoryPage.java:904)
        at org.tigris.subversion.subclipse.ui.history.SVNHistoryPage$11.handleEvent(SVNHistoryPage.java:455)
        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)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Sat May 12 04:53:44 2007

This is an archived mail posted to the Subclipse Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.