Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Error if opening a xml file from subclipse-history
Error if opening a xml file from subclipse-history [message #181710] Wed, 18 October 2006 12:01
Eclipse User
Originally posted by: zkoppany.gmx.de

Hi,

I use eclipse-3.2.1 with wtp-1.5.2 (with 1.5.1 had the same) on Windows with
java-1.5.0_08.

If I try to open an xml file from subclipse history and got stack trace
below. Any ideas?

Zsolt

java.lang.NullPointerException
at
org.eclipse.wst.sse.ui.StructuredTextEditor.update(Structure dTextEditor.java:3047)
at
org.eclipse.wst.xml.ui.internal.tabletree.XMLMultiPageEditor Part.addSourcePage(XMLMultiPageEditorPart.java:338)
at
org.eclipse.wst.xml.ui.internal.tabletree.XMLMultiPageEditor Part.createPages(XMLMultiPageEditorPart.java:505)
at
org.eclipse.ui.part.MultiPageEditorPart.createPartControl(Mu ltiPageEditorPart.java:276)
at
org.eclipse.ui.internal.EditorReference.createPartHelper(Edi torReference.java:596)
at
org.eclipse.ui.internal.EditorReference.createPart(EditorRef erence.java:372)
at
org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:566)
at
org.eclipse.ui.internal.EditorReference.getEditor(EditorRefe rence.java:214)
at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched( WorkbenchPage.java:2595)
at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(Workben chPage.java:2528)
at org.eclipse.ui.internal.WorkbenchPage.access$10(WorkbenchPag e.java:2520)
at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.ja va:2505)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:67)
at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2500)
at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2477)
at
org.tigris.subversion.subclipse.ui.actions.OpenRemoteFileAct ion$1.run(OpenRemoteFileAction.java:59)
at
org.tigris.subversion.subclipse.ui.repository.RepositoryMana ger.run(RepositoryManager.java:375)
at
org.tigris.subversion.subclipse.ui.actions.SVNAction$1.run(S VNAction.java:226)
at
org.tigris.subversion.subclipse.ui.actions.SVNAction$2.run(S VNAction.java:235)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:67)
at
org.tigris.subversion.subclipse.ui.actions.SVNAction.run(SVN Action.java:232)
at
org.tigris.subversion.subclipse.ui.actions.OpenRemoteFileAct ion.execute(OpenRemoteFileAction.java:36)
at
org.tigris.subversion.subclipse.ui.actions.SVNAction.run(SVN Action.java:56)
at
org.tigris.subversion.subclipse.ui.history.SVNHistoryPage$24 .run(SVNHistoryPage.java:882)
at
org.tigris.subversion.subclipse.ui.history.SVNHistoryPage$11 .handleEvent(SVNHistoryPage.java:445)
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.ja va:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2968)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1914)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:419)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:95)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.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(EclipseS tarter.java:400)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.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)
Previous Topic:WTP 1.5.0 / Eclipse 3.2.0 Deployment problem
Next Topic:Finding the context root and tomcat version of WTP projects programmatically
Goto Forum:
  


Current Time: Tue Sep 23 22:25:09 GMT 2014

Powered by FUDForum. Page generated in 0.01829 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software