- This topic has 1 reply, 2 voices, and was last updated 14 years, 2 months ago by
support-swapna.
-
AuthorPosts
-
StefanParticipantOh dear… I upgraded MyEclipse 8.6 to a 8.6.1 and installed (from Pulse catalogue) the PHP PDT… but I can’t create PHP projects.. I get:
“Problems occurred restoring perspective.
Could not find view: org.eclipse.php.ui.explorer”(Actually the project is created, and it is possible to create files in it… but I cant load files)
when I try to load and existing a .php file I get:
“There was a problem adding adapter factories
org/eclipse/wst/jsdt/web/core/javascript/JsTranslationAdapterFactory”With the details telling me ?
java.lang.ClassCastException: org.eclipse.wst.sse.ui.internal.contentassist.StructuredContentAssistant cannot be cast to org.eclipse.jface.text.contentassist.ContentAssistant
at org.eclipse.php.internal.ui.editor.configuration.PHPStructuredTextViewerConfiguration.getPHPProcessors(PHPStructuredTextViewerConfiguration.java:152)
at org.eclipse.php.internal.ui.editor.configuration.PHPStructuredTextViewerConfiguration.getContentAssistProcessors(PHPStructuredTextViewerConfiguration.java:134)
at org.eclipse.php.internal.ui.editor.configuration.PHPStructuredTextViewerConfiguration.getPHPContentAssistant(PHPStructuredTextViewerConfiguration.java:203)
at org.eclipse.php.internal.ui.editor.configuration.PHPStructuredTextViewerConfiguration.getPHPContentAssistant(PHPStructuredTextViewerConfiguration.java:176)
at org.eclipse.php.internal.ui.editor.configuration.PHPStructuredTextViewerConfiguration.getPHPProcessors(PHPStructuredTextViewerConfiguration.java:152)
at org.eclipse.php.internal.ui.editor.configuration.PHPStructuredTextViewerConfiguration.getContentAssistProcessors(PHPStructuredTextViewerConfiguration.java:134)
at org.eclipse.wst.sse.ui.StructuredTextViewerConfiguration.getContentAssistant(StructuredTextViewerConfiguration.java:286)
at org.eclipse.wst.sse.ui.internal.StructuredTextViewer.configure(StructuredTextViewer.java:208)
at org.eclipse.php.internal.ui.editor.PHPStructuredTextViewer.configure(PHPStructuredTextViewer.java:334)
….
((Stuff Deleted))(The problem might have been related to my 8.5 –> 8.6 upgrade, but I have not had then need for PHP since then)
The PDT installed is called 3.5.2 from looking in the Configuration Centers Software–MySoftware–PersonalSoftware
The ‘About MyEclipse..’ tells me that the following is installed
PDT Runtime Feature 2.0.0.v20090315-1850 org.eclipse.php.feature.group
PDT SDK Feature 2.0.0.v20090315-1850 org.eclipse.php.source.feature.group
PDT SDK Feature 2.0.0.v20090315-1850 org.eclipse.php.sdk.feature.groupAre these versions (2.0.0) OK — they should not have been 2.1.1 ?
Anyway, any ideas ?
(And oh! One thing that works is dropping PDT and using PHPeclipse instead, but that should not be necessary, I think ?)
support-swapnaModeratorstpe,
Can you answer some questions for me?
1. I assume you have upgraded to 8.6.1 using Pulse explorer. Right?
2. Do you see errors when switching to PHP perspective?
3. Do you see any software updates available for the ME 8.6 in the Pulse Explorer?“Problems occurred restoring perspective.
Could not find view: org.eclipse.php.ui.explorer”At which step during the project creation you see this error?
Are these versions (2.0.0) OK — they should not have been 2.1.1 ?
The versions are ok.
Can you do some steps for me ?
1.Open the Pulse explorer and right click on the ME 8.6.1 listed in the My Profiles. Select ‘Reinstall then Run’.
2.Switch to a new workspace and check if the issue persists.Let us know how it works for you.
-
AuthorPosts