Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Using PDT with RSE results in NullPointerException
Using PDT with RSE results in NullPointerException [message #30105] Tue, 19 June 2007 08:41 Go to next message
Arend-Jan Tetteroo is currently offline Arend-Jan TetterooFriend
Messages: 2
Registered: July 2009
Junior Member
Hi,

I'm trying to use Eclipse (either 3.2.2 or the newer 3.3RC4) with the
PDT and RSE functionality. I can succesfully make a connection to a
remote host by ssh and open the files in the normal text editor. Trying
to open in the PDT php editor results in a NullPointerException.

The only reference i found was in the message:
Problem - PDT and Subclipse from 12-5-2007 by Ali B.

It looks like the PDT doesn't recognize the files opened by the RSE plugin.

Am i doing something wrong or should i post a bug report?


Gr, Aj

------------------

Eclipse 3.3 I20070608-1718
Remote System Explorer End-User Runtime 2.0.0v20070609
PDT Feature 1.0.0.HEAD-79

java.lang.NullPointerException
at
org.eclipse.wst.sse.core.internal.FileBufferModelManager.cre ateURIResolver(FileBufferModelManager.java:419)
at
org.eclipse.wst.sse.core.internal.FileBufferModelManager.get Model(FileBufferModelManager.java:624)
at
org.eclipse.wst.sse.core.internal.model.ModelManagerImpl._ge tModelFor(ModelManagerImpl.java:393)
at
org.eclipse.wst.sse.core.internal.model.ModelManagerImpl.get ModelForEdit(ModelManagerImpl.java:1020)
at
org.eclipse.wst.sse.ui.StructuredTextEditor.doSetInput(Struc turedTextEditor.java:2113)
at
org.eclipse.php.internal.ui.editor.PHPStructuredEditor.doSet Input(Unknown
Source)
at
org.eclipse.ui.texteditor.AbstractTextEditor$19.run(Abstract TextEditor.java:2994)
at
org.eclipse.jface.operation.ModalContext.runInCurrentThread( ModalContext.java:369)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.ja va:313)
at
org.eclipse.jface.window.ApplicationWindow$1.run(Application Window.java:758)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:67)
at
org.eclipse.jface.window.ApplicationWindow.run(ApplicationWi ndow.java:755)
at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow. java:2451)
at
org.eclipse.ui.texteditor.AbstractTextEditor.internalInit(Ab stractTextEditor.java:3012)
at
org.eclipse.ui.texteditor.AbstractTextEditor.init(AbstractTe xtEditor.java:3039)
at
org.eclipse.wst.sse.ui.StructuredTextEditor.init(StructuredT extEditor.java:2615)
at org.eclipse.php.internal.ui.editor.PHPStructuredEditor.init( Unknown
Source)
at org.eclipse.ui.internal.EditorManager.createSite(EditorManag er.java:794)
at
org.eclipse.ui.internal.EditorReference.createPartHelper(Edi torReference.java:643)
at
org.eclipse.ui.internal.EditorReference.createPart(EditorRef erence.java:426)
at
org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:592)
at
org.eclipse.ui.internal.EditorAreaHelper.setVisibleEditor(Ed itorAreaHelper.java:263)
at
org.eclipse.ui.internal.EditorManager.setVisibleEditor(Edito rManager.java:1405)
at
org.eclipse.ui.internal.EditorManager$5.runWithException(Edi torManager.java:939)
at
org.eclipse.ui.internal.StartupThreading$StartupRunnable.run (StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:123)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3659)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3296)
at
org.eclipse.ui.application.WorkbenchAdvisor.openWindows(Work benchAdvisor.java:797)
at
org.eclipse.ui.internal.Workbench$25.runWithException(Workbe nch.java:1342)
at
org.eclipse.ui.internal.StartupThreading$StartupRunnable.run (StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:123)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3659)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3296)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2309)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 19)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:289)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:461)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:106)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:153)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:106)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:76)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:363)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:176)
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.equinox.launcher.Main.invokeFramework(Main.java: 504)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)
at org.eclipse.equinox.launcher.Main.run(Main.java:1169)
Re: Using PDT with RSE results in NullPointerException [message #34449 is a reply to message #30105] Sun, 08 July 2007 10:20 Go to previous messageGo to next message
Guy Gurfinkel is currently offline Guy GurfinkelFriend
Messages: 39
Registered: July 2009
Member
Please do.


--
Guy Gurfinkel,
Team Leader, Development Tools
Zend.
Re: Using PDT with RSE results in NullPointerException [message #34683 is a reply to message #34449] Sun, 08 July 2007 17:55 Go to previous message
Arend-Jan Tetteroo is currently offline Arend-Jan TetterooFriend
Messages: 2
Registered: July 2009
Junior Member
Guy Gurfinkel schreef:
> Please do.
>
>

I've filed bug 195768 for this. Please let me now if you need more
information to resolve this bug.

Gr, Arend-Jan
Previous Topic:Empty Error in Europa
Next Topic:editor window tabs
Goto Forum:
  


Current Time: Thu Mar 28 09:41:34 GMT 2024

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

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

Back to the top