Community
Participate
Working Groups
I install Eclipse pdt (PHP devel tool) plugin and subclipse pulgin. When I go to SVN repository exploring perspective and choose to open a file from the repo, I get this error in the window which suppose to display code : Could not open the editor: org.eclipse.jface.text.Document cannot be cast to org.eclipse.wst.sse.core.internal.provisional.text.IStructuredDocument -- Configuration Details -- Product: Eclipse 1.3.0.20100617-0520 (org.eclipse.epp.package.cpp.product) Installed Features: org.eclipse.platform 3.6.0.v20100602-9gF78GpqFt6trOGhL60z0oEx3fz-JKNwxPY
I can confirm that bug with my installation. Eclipse Platform: Version: 3.6.0 Build id: I20100608-0911 (org.eclipse.platform_3.6.0.v201006080911)
i can confirm this also happens on my build: OSX 10.6.4 Version: Helios Release Build id: 20100617-1415 Subclipse 1.6.13
Same for me when I try to open a specific revision of a file from the history view. I'm using subversive (SVN Connectors 2.2.2.I20100512-190). Eclipse SDK Version: 3.6.0 Build id: I20100608-0911
Created attachment 180771 [details] Stack-Trace for invalid Content-Type in Editor Exception Hi, i think this must be PDT related, since this issue only affects PHP Content-Type Files. It worked for me with any other type, except PHP. Therefore it might be a very big fluke, if this bug effects Subclipse and Subversive and would be in their charge. The message for this error is the following: org.eclipse.team.svn.ui.repository.RepositoryFileEditorInput cannot be cast to org.eclipse.php.internal.ui.editor.input.NonExistingPHPFileEditorInput Error occurs since Update PDT 2.1 to 2.2.x
>java.lang.ClassCastException: org.eclipse.team.svn.ui.repository.RepositoryFileEditorInput cannot be cast to org.eclipse.php.internal.ui.editor.input.NonExistingPHPFileEditorInput There is no way Subversive could implement or extend something like org.eclipse.php.internal.ui.editor.input.NonExistingPHPFileEditorInput. So the issue is really related to the PDT and the good point about it is that in the Eclipse 3.6 SR 2 PDT the issue does not seem to appear. P.S. If it is only me who does not have the problem in SR2 PDT, please tell me, then I will reopen the issue and move it to the PDT component.