Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 321332 - Eclipse PDT, Unsupported content type when opening PHP file from SVN
Summary: Eclipse PDT, Unsupported content type when opening PHP file from SVN
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows Vista
: P3 normal with 10 votes (vote)
Target Milestone: ---   Edit
Assignee: PHP UI CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 320805 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-07-30 08:23 EDT by Radek Hill CLA
Modified: 2020-05-14 11:47 EDT (History)
15 users (show)

See Also:


Attachments
my patch (1.36 KB, patch)
2011-01-04 04:49 EST, Toshihiro Izumi CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Radek Hill CLA 2010-07-30 08:23:08 EDT
Build Identifier: 20100617-1415

!SESSION 2010-07-30 13:52:57.048 -----------------------------------------------
eclipse.buildId=I20100608-0911
java.version=1.6.0_20
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=cs_CZ
Framework arguments:  -product org.eclipse.epp.package.php.product
Command-line arguments:  -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.php.product

!ENTRY org.eclipse.wst.sse.ui 4 4 2010-07-30 14:05:55.972
!MESSAGE null
!STACK 0
org.eclipse.jface.text.BadLocationException
	at org.eclipse.wst.sse.core.internal.text.GenericPositionManager.addPosition(GenericPositionManager.java:84)
	at org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.addPosition(BasicStructuredDocument.java:870)
	at org.eclipse.wst.sse.ui.internal.style.SemanticHighlightingPresenter.updatePresentation(SemanticHighlightingPresenter.java:471)
	at org.eclipse.wst.sse.ui.internal.style.SemanticHighlightingPresenter$1.run(SemanticHighlightingPresenter.java:404)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2629)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2593)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2427)
	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:670)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:663)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	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:619)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1407)

!ENTRY org.eclipse.wst.sse.ui 4 4 2010-07-30 14:06:28.804
!MESSAGE null
!STACK 0
org.eclipse.jface.text.BadLocationException
	at org.eclipse.wst.sse.core.internal.text.GenericPositionManager.addPosition(GenericPositionManager.java:84)
	at org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.addPosition(BasicStructuredDocument.java:870)
	at org.eclipse.wst.sse.ui.internal.style.SemanticHighlightingPresenter.updatePresentation(SemanticHighlightingPresenter.java:471)
	at org.eclipse.wst.sse.ui.internal.style.SemanticHighlightingPresenter$1.run(SemanticHighlightingPresenter.java:404)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2629)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2593)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2427)
	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:670)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:663)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	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:619)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1407)

!ENTRY org.eclipse.wst.sse.ui 4 4 2010-07-30 14:08:11.247
!MESSAGE null
!STACK 0
org.eclipse.jface.text.BadLocationException
	at org.eclipse.wst.sse.core.internal.text.GenericPositionManager.addPosition(GenericPositionManager.java:84)
	at org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.addPosition(BasicStructuredDocument.java:870)
	at org.eclipse.wst.sse.ui.internal.style.SemanticHighlightingPresenter.updatePresentation(SemanticHighlightingPresenter.java:471)
	at org.eclipse.wst.sse.ui.internal.style.SemanticHighlightingPresenter$1.run(SemanticHighlightingPresenter.java:404)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2629)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2593)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2427)
	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:670)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:663)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	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:619)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1407)

!ENTRY org.eclipse.wst.sse.ui 2 2 2010-07-30 14:08:33.262
!MESSAGE StructuredTextEditor being used without StructuredDocument

!ENTRY org.eclipse.wst.sse.ui 2 2 2010-07-30 14:08:33.263
!MESSAGE          Input Name: scripty.php 226

!ENTRY org.eclipse.wst.sse.ui 2 2 2010-07-30 14:08:33.264
!MESSAGE         Unexpected IDocumentProvider implementation: org.eclipse.dltk.internal.ui.editor.SourceModuleDocumentProvider

!ENTRY org.eclipse.wst.sse.ui 2 2 2010-07-30 14:08:33.264
!MESSAGE         Unexpected IDocument implementation: org.eclipse.jface.text.Document

!ENTRY org.eclipse.ui 4 0 2010-07-30 14:08:33.336
!MESSAGE Unable to create editor ID org.eclipse.php.editor: org.eclipse.jface.text.Document cannot be cast to org.eclipse.wst.sse.core.internal.provisional.text.IStructuredDocument
!STACK 0
java.lang.ClassCastException: org.eclipse.jface.text.Document cannot be cast to org.eclipse.wst.sse.core.internal.provisional.text.IStructuredDocument
	at org.eclipse.php.internal.ui.folding.StructuredTextFoldingProviderPHP.computeHeaderComment(StructuredTextFoldingProviderPHP.java:1484)
	at org.eclipse.php.internal.ui.folding.StructuredTextFoldingProviderPHP.computeProjectionRanges(StructuredTextFoldingProviderPHP.java:1449)
	at org.eclipse.php.internal.ui.folding.StructuredTextFoldingProviderPHP.computeFoldingStructure(StructuredTextFoldingProviderPHP.java:1377)
	at org.eclipse.php.internal.ui.folding.StructuredTextFoldingProviderPHP.computeFoldingStructure(StructuredTextFoldingProviderPHP.java:1318)
	at org.eclipse.php.internal.ui.folding.StructuredTextFoldingProviderPHP.computeFoldingStructure(StructuredTextFoldingProviderPHP.java:1308)
	at org.eclipse.php.internal.ui.folding.StructuredTextFoldingProviderPHP.update(StructuredTextFoldingProviderPHP.java:1222)
	at org.eclipse.php.internal.ui.folding.StructuredTextFoldingProviderPHP.initialize(StructuredTextFoldingProviderPHP.java:1022)
	at org.eclipse.php.internal.ui.folding.StructuredTextFoldingProviderPHP.handleProjectionEnabled(StructuredTextFoldingProviderPHP.java:916)
	at org.eclipse.php.internal.ui.folding.StructuredTextFoldingProviderPHP.projectionEnabled(StructuredTextFoldingProviderPHP.java:1917)
	at org.eclipse.php.internal.ui.folding.PHPFoldingStructureProviderProxy.projectionEnabled(PHPFoldingStructureProviderProxy.java:43)
	at org.eclipse.php.internal.ui.editor.PHPStructuredEditor.installProjectionSupport(PHPStructuredEditor.java:2238)
	at org.eclipse.php.internal.ui.editor.PHPStructuredEditor.createPartControl(PHPStructuredEditor.java:2247)
	at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:670)
	at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:465)
	at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
	at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:289)
	at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2863)
	at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2768)
	at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2760)
	at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2711)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
	at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2707)
	at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2691)
	at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2674)
	at org.tigris.subversion.subclipse.ui.actions.OpenRemoteFileAction$1.run(OpenRemoteFileAction.java:66)
	at org.tigris.subversion.subclipse.ui.repository.RepositoryManager.run(RepositoryManager.java:375)
	at org.tigris.subversion.subclipse.ui.actions.SVNAction$1.run(SVNAction.java:231)
	at org.tigris.subversion.subclipse.ui.actions.SVNAction$2.run(SVNAction.java:240)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
	at org.tigris.subversion.subclipse.ui.actions.SVNAction.run(SVNAction.java:237)
	at org.tigris.subversion.subclipse.ui.actions.OpenRemoteFileAction.execute(OpenRemoteFileAction.java:39)
	at org.tigris.subversion.subclipse.ui.actions.SVNAction.run(SVNAction.java:56)
	at org.tigris.subversion.subclipse.ui.repository.RepositoriesView.handleDoubleClick(RepositoriesView.java:584)
	at org.tigris.subversion.subclipse.ui.repository.RepositoriesView.access$2(RepositoriesView.java:574)
	at org.tigris.subversion.subclipse.ui.repository.RepositoriesView$13.doubleClick(RepositoriesView.java:440)
	at org.eclipse.jface.viewers.StructuredViewer$1.run(StructuredViewer.java:824)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
	at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
	at org.eclipse.jface.viewers.StructuredViewer.fireDoubleClick(StructuredViewer.java:822)
	at org.eclipse.jface.viewers.AbstractTreeViewer.handleDoubleSelect(AbstractTreeViewer.java:1421)
	at org.eclipse.jface.viewers.StructuredViewer$4.widgetDefaultSelected(StructuredViewer.java:1225)
	at org.eclipse.jface.util.OpenStrategy.fireDefaultSelectionEvent(OpenStrategy.java:238)
	at org.eclipse.jface.util.OpenStrategy.access$0(OpenStrategy.java:235)
	at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:296)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2629)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2593)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2427)
	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:670)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:663)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	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:619)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1407)

!ENTRY org.eclipse.ui 2 2 2010-07-30 14:08:33.349
!MESSAGE Ignored attempt to add saveable that was already registered
!STACK 0
org.eclipse.core.runtime.AssertionFailedException: unknown saveable: org.eclipse.ui.internal.DefaultSaveable@10a280f from part: org.eclipse.ui.internal.ErrorEditorPart@10a280f
	at org.eclipse.ui.internal.SaveablesList.logWarning(SaveablesList.java:187)
	at org.eclipse.ui.internal.SaveablesList.addModel(SaveablesList.java:117)
	at org.eclipse.ui.internal.SaveablesList.addModels(SaveablesList.java:289)
	at org.eclipse.ui.internal.SaveablesList.postOpen(SaveablesList.java:684)
	at org.eclipse.ui.internal.PartList.partOpened(PartList.java:234)
	at org.eclipse.ui.internal.PartList.access$0(PartList.java:210)
	at org.eclipse.ui.internal.PartList$1.propertyChanged(PartList.java:40)
	at org.eclipse.ui.internal.WorkbenchPartReference.fireInternalPropertyChange(WorkbenchPartReference.java:375)
	at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:610)
	at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:289)
	at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2863)
	at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2768)
	at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2760)
	at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2711)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
	at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2707)
	at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2691)
	at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2674)
	at org.tigris.subversion.subclipse.ui.actions.OpenRemoteFileAction$1.run(OpenRemoteFileAction.java:66)
	at org.tigris.subversion.subclipse.ui.repository.RepositoryManager.run(RepositoryManager.java:375)
	at org.tigris.subversion.subclipse.ui.actions.SVNAction$1.run(SVNAction.java:231)
	at org.tigris.subversion.subclipse.ui.actions.SVNAction$2.run(SVNAction.java:240)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
	at org.tigris.subversion.subclipse.ui.actions.SVNAction.run(SVNAction.java:237)
	at org.tigris.subversion.subclipse.ui.actions.OpenRemoteFileAction.execute(OpenRemoteFileAction.java:39)
	at org.tigris.subversion.subclipse.ui.actions.SVNAction.run(SVNAction.java:56)
	at org.tigris.subversion.subclipse.ui.repository.RepositoriesView.handleDoubleClick(RepositoriesView.java:584)
	at org.tigris.subversion.subclipse.ui.repository.RepositoriesView.access$2(RepositoriesView.java:574)
	at org.tigris.subversion.subclipse.ui.repository.RepositoriesView$13.doubleClick(RepositoriesView.java:440)
	at org.eclipse.jface.viewers.StructuredViewer$1.run(StructuredViewer.java:824)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
	at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
	at org.eclipse.jface.viewers.StructuredViewer.fireDoubleClick(StructuredViewer.java:822)
	at org.eclipse.jface.viewers.AbstractTreeViewer.handleDoubleSelect(AbstractTreeViewer.java:1421)
	at org.eclipse.jface.viewers.StructuredViewer$4.widgetDefaultSelected(StructuredViewer.java:1225)
	at org.eclipse.jface.util.OpenStrategy.fireDefaultSelectionEvent(OpenStrategy.java:238)
	at org.eclipse.jface.util.OpenStrategy.access$0(OpenStrategy.java:235)
	at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:296)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2629)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2593)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2427)
	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:670)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:663)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	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:619)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1407)


Reproducible: Always
Comment 1 Radek Hill CLA 2010-07-30 08:24:40 EDT
*** Bug 320805 has been marked as a duplicate of this bug. ***
Comment 2 Mike G CLA 2010-09-27 13:12:27 EDT
Can you say anything about a deadline, when this bug will be fixed?

Thanks

Cheers
Mike
Comment 3 Roy Ganor CLA 2010-09-28 02:48:03 EDT
(In reply to comment #2)
> Can you say anything about a deadline, when this bug will be fixed?
> 
> Thanks
> 
> Cheers
> Mike

actually it was fixed, we just need to release an update site.
My estimation - the following few days.

thanks for sharing this and sorry for the temporary inconvenience,
Comment 4 Roy Ganor CLA 2010-09-28 02:54:04 EDT
(In reply to comment #3)
> (In reply to comment #2)
> > Can you say anything about a deadline, when this bug will be fixed?
> > 
> > Thanks
> > 
> > Cheers
> > Mike
> 
> actually it was fixed, we just need to release an update site.
> My estimation - the following few days.
> 
> thanks for sharing this and sorry for the temporary inconvenience,

Sorry this is not the bug I thought originally I refer to... please ignore my last comment
Comment 5 Mike G CLA 2010-09-28 05:00:09 EDT
I had identified an additional error.

If you compare your file with the local history, you will get a blank window. I think this is the same problem, isn't it?

Cheers
Mike
Comment 6 Roy Ganor CLA 2010-09-28 05:28:15 EDT
(In reply to comment #5)
> I had identified an additional error.
> 
> If you compare your file with the local history, you will get a blank window. I
> think this is the same problem, isn't it?
> 
> Cheers
> Mike

exactly the last issue you described has been fixed ;)
Comment 7 Mike G CLA 2010-09-28 07:32:53 EDT
(In reply to comment #6)
> (In reply to comment #5)
> > I had identified an additional error.
> > 
> > If you compare your file with the local history, you will get a blank window. I
> > think this is the same problem, isn't it?
> > 
> > Cheers
> > Mike
> exactly the last issue you described has been fixed ;)

Ok, fine. Thanks.

But more interesting for me is the timeline for this "Unsupported content type when opening PHP file from SVN" issue. Currently I've gone a step back to 2.1.2...

Thanks

Cheers
Mike
Comment 8 Mike G CLA 2010-10-07 15:13:28 EDT
Any news on that?

Cheers
Mike
Comment 9 Christine CLA 2010-10-18 03:44:14 EDT
Any news? I'n on linux, I keep having the same issue. It makes work a little harder if you can't compare files either from svn or from local history.

dagdag
Christine

(In reply to comment #8)
> Any news on that?
> 
> Cheers
> Mike
Comment 10 Mike G CLA 2010-10-18 12:01:16 EDT
Christine, can you please vote for the bug?

Thanks

Cheers
Mike
Comment 11 Mike G CLA 2010-11-06 13:41:54 EDT
Any news on that?

Cheers
Mike
Comment 12 Alek Wnuk CLA 2010-12-27 07:50:11 EST
Is there any progress in this subject?
Comment 13 Mike G CLA 2010-12-27 11:55:12 EST
I would also appreciate if this bug will be fixed soon...
Comment 14 Toshihiro Izumi CLA 2011-01-04 04:49:17 EST
Created attachment 185988 [details]
my patch

Note that I'm not aware of the side effect. But it works for me with Helios SR1(w/patch)+Subclipse 1.6.16+Local svn/Remote svn. (I don't mean it's perfect)

The difference of the method is...

Galileo SR2:
	public IDocumentProvider getDocumentProvider() {
		if (getEditorInput() instanceof LocalFileStorageEditorInput) {
			IDocumentProvider provider = LocalStorageModelProvider.getInstance();
			if (provider != null) {
				return provider;
			}
		}
		return super.getDocumentProvider();
	}

Helios SR1:
	public IDocumentProvider getDocumentProvider() {
		if (getEditorInput() instanceof ExternalStorageEditorInput) {
			IDocumentProvider provider = LocalStorageModelProvider.getInstance();
			if (provider != null) {
				return provider;
			}
		}
		return super.getDocumentProvider();
	}

I don't know why it had been changed.
Comment 15 Zhongwei Zhao CLA 2011-01-04 05:02:56 EST
thanks for all of you,I will have look at it and review the patch asap,sorry for the delay!
Comment 16 Zhongwei Zhao CLA 2011-01-04 07:43:25 EST
(In reply to comment #14)
> Created attachment 185988 [details]
> my patch
> 
> Note that I'm not aware of the side effect. But it works for me with Helios
> SR1(w/patch)+Subclipse 1.6.16+Local svn/Remote svn. (I don't mean it's perfect)
> 
> The difference of the method is...
> 
> Galileo SR2:
>     public IDocumentProvider getDocumentProvider() {
>         if (getEditorInput() instanceof LocalFileStorageEditorInput) {
>             IDocumentProvider provider =
> LocalStorageModelProvider.getInstance();
>             if (provider != null) {
>                 return provider;
>             }
>         }
>         return super.getDocumentProvider();
>     }
> 
> Helios SR1:
>     public IDocumentProvider getDocumentProvider() {
>         if (getEditorInput() instanceof ExternalStorageEditorInput) {
>             IDocumentProvider provider =
> LocalStorageModelProvider.getInstance();
>             if (provider != null) {
>                 return provider;
>             }
>         }
>         return super.getDocumentProvider();
>     }
> 
> I don't know why it had been changed.

thanks,committed to head!
Comment 17 Toshihiro Izumi CLA 2011-01-05 20:20:29 EST
I'm sorry, my patch damages editor functionality. *sigh*
It causes serious problem when script was edited
- Outline view is not updated
- Syntax coloring doesn't follow edited text

So I had to modify the method as

	public IDocumentProvider getDocumentProvider() {
		if (getEditorInput() instanceof ExternalStorageEditorInput) {
			IDocumentProvider provider = LocalStorageModelProvider.getInstance();
			if (provider != null) {
				return provider;
			}
		}
		if (getEditorInput() instanceof RefactorableFileEditorInput) {
			return super.getDocumentProvider();
		}
		if (getEditorInput() instanceof IStorageEditorInput) {
			IDocumentProvider provider = StorageModelProvider.getInstance();
			if (provider != null) {
				return provider;
			}
		}
		return super.getDocumentProvider();
	}

(it's ugly...)
Comment 18 Zhongwei Zhao CLA 2011-01-05 20:40:08 EST
thanks again,it is my fault not to test it.I will check it later.
Comment 19 Zhongwei Zhao CLA 2011-01-06 00:49:40 EST
(In reply to comment #17)
> I'm sorry, my patch damages editor functionality. *sigh*
> It causes serious problem when script was edited
> - Outline view is not updated
> - Syntax coloring doesn't follow edited text
> 
> So I had to modify the method as
> 
>     public IDocumentProvider getDocumentProvider() {
>         if (getEditorInput() instanceof ExternalStorageEditorInput) {
>             IDocumentProvider provider =
> LocalStorageModelProvider.getInstance();
>             if (provider != null) {
>                 return provider;
>             }
>         }
>         if (getEditorInput() instanceof RefactorableFileEditorInput) {
>             return super.getDocumentProvider();
>         }
>         if (getEditorInput() instanceof IStorageEditorInput) {
>             IDocumentProvider provider = StorageModelProvider.getInstance();
>             if (provider != null) {
>                 return provider;
>             }
>         }
>         return super.getDocumentProvider();
>     }
> 
> (it's ugly...)

hi,
I do not know how to reproduce you problems,but it seems you are right we should judge if the input is RefactorableFileEditorInput.

and could not reproduce the original bug..do not know why,but I think it exists!
Comment 20 Toshihiro Izumi CLA 2011-01-06 20:50:38 EST
Hi Zhao,
I can reproduce original bug partially.
When I opened php file in SVN repository explorer, "Unsupported Content Type" message box pops up.
PHP Editor is opened but there is no syntax color, folding. It looks like simple text editor.

Full log.
>>>
!SESSION 2011-01-07 10:01:20.234 -----------------------------------------------
eclipse.buildId=I20101208-1300
java.version=1.6.0_23
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=ja_JP
Command-line arguments:  -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.wst.sse.ui 2 2 2011-01-07 10:01:58.781
!MESSAGE StructuredTextEditor being used without StructuredDocument

!ENTRY org.eclipse.wst.sse.ui 2 2 2011-01-07 10:01:58.828
!MESSAGE          Input Name: new0file.php 7

!ENTRY org.eclipse.wst.sse.ui 2 2 2011-01-07 10:01:58.828
!MESSAGE         Unexpected IDocumentProvider implementation: org.eclipse.dltk.internal.ui.editor.SourceModuleDocumentProvider

!ENTRY org.eclipse.wst.sse.ui 2 2 2011-01-07 10:01:58.828
!MESSAGE         Unexpected IDocument implementation: org.eclipse.jface.text.Document
<<<

This issue occurs on following versions.
eclipse-php-helios-SR1 (http://www.eclipse.org/downloads/)
cbi-pdt-2.2-helios N201012310312 (https://hudson.eclipse.org/hudson/job/cbi-pdt-2.2-helios/)
cbi-pdt-3.0-indigo N201012310312 (https://hudson.eclipse.org/hudson/job/cbi-pdt-3.0-indigo/)
with Subclipse 1.6.16

Also, this doesn't occur on eclipse-php-galileo-SR2.
Comment 21 Mike G CLA 2011-01-07 12:16:16 EST
Yes, that's what I ment...
Comment 22 Mike G CLA 2011-01-15 10:20:11 EST
When will this update be available via the update function within eclipse?

Thanks.
Comment 23 Tom CLA 2011-01-18 11:42:22 EST
Any news about this issue?
Thanks
Comment 24 Mike G CLA 2011-02-06 10:02:32 EST
Any news about this issue?
Thx
Comment 25 Mike G CLA 2011-03-26 13:55:05 EDT
Any news about this issue?
Thx
Comment 26 Christine CLA 2011-03-28 11:40:32 EDT
(In reply to comment #25)
> Any news about this issue?
> Thx

Yes, I installed the latest pdt plugin, that is, not the one that comes with Eclipse, and now I'm fine.
Comment 27 Mike G CLA 2011-03-28 12:56:08 EDT
Hi Christine,

where can I get this last version?
I didn't found that on the PDT Website.

Thanks

Cheers
Mike
Comment 28 brandon CLA 2011-03-29 02:39:53 EDT
(In reply to comment #27)
> Hi Christine,
> 
> where can I get this last version?
> I didn't found that on the PDT Website.
> 
> Thanks
> 
> Cheers
> Mike

I had this issue, and reverted to an earlier version to get that functionality back, however a friend of mine i work with said he recently was able to get this functionality back by performing an in app update.  hope this helps.
Comment 29 Mike G CLA 2011-03-29 12:08:07 EDT
Thanks brandon.

I use this update site: http://download.eclipse.org/tools/pdt/updates/2.0/, but eclipse told me, that there is no update available...

I've still this unsupported content problem.

Thanks

Cheers
Mike
Comment 30 Christine CLA 2011-03-30 03:34:28 EDT
(In reply to comment #27)
> Hi Christine,
> 
> where can I get this last version?

I don't remember where I downloaded it from, but as I said, it's not the version that eclipse automatically updates to. you can try this one: http://www.eclipse.org/pdt/downloads/ , I don't know if that's the same as the one you have.
Comment 31 Mike G CLA 2011-04-17 11:22:10 EDT
Sorry, but i can't find a working pdt version. i've tested every download, also the beta of pdt 3. But nothing has solved the issue.

Can you please have a look into your ecplise and tell me, which version of pdt you now have installed?

Thanks

Cheers
Mike
Comment 32 Michal Niewrzal CLA 2016-06-02 09:18:35 EDT
Works ok for me. Probably fixed indirectly. Reopen if needed.
Comment 33 Sylvia Tancheva CLA 2016-06-16 04:37:22 EDT
Quite old, please reopen with more recent information (or open a new one). Closing