| Author |
Message |
|
|
Post subject: ClassCastException with MyEclipse JSP Editor
Posted: Sep 25, 2007 - 07:05 PM
|
|
Registered Member


Joined: Jan 27, 2006
Posts: 21
|
|
I'm running MyEclipse 6.0.0GA on the Mac (Intel).
I get this error when opening up a JSP in the MyEclipse JSP Editor:
java.lang.ClassNotFoundException: com.genuitec.eclipse.webdesigner3.editors.WebDesignerMultiPageEditor
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:434)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at org.eclipse.osgi.framework.internal.core.BundleLoader.loadClass(BundleLoader.java:289)
at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:227)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1269)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:160)
at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:788)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51)
at org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:243)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:239)
at org.eclipse.ui.internal.registry.EditorDescriptor.createEditor(EditorDescriptor.java:231)
at org.eclipse.ui.internal.EditorManager.createPart(EditorManager.java:841)
at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:606)
at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:426)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:592)
at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:263)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2721)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2633)
at org.eclipse.ui.internal.WorkbenchPage.access$12(WorkbenchPage.java:2625)
at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2577)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2572)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2556)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2547)
at org.eclipse.search.internal.ui.text.EditorOpener.showInEditor(EditorOpener.java:90)
at org.eclipse.search.internal.ui.text.EditorOpener.showWithReuse(EditorOpener.java:47)
at org.eclipse.search.internal.ui.text.EditorOpener.open(EditorOpener.java:37)
at org.eclipse.search.internal.ui.text.FileSearchPage.showMatch(FileSearchPage.java:166)
at org.eclipse.search.ui.text.AbstractTextSearchViewPage$7.run(AbstractTextSearchViewPage.java:852)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.search.ui.text.AbstractTextSearchViewPage.showMatch(AbstractTextSearchViewPage.java:855)
at org.eclipse.search.ui.text.AbstractTextSearchViewPage.showCurrentMatch(AbstractTextSearchViewPage.java:920)
at org.eclipse.search.ui.text.AbstractTextSearchViewPage.gotoNextMatch(AbstractTextSearchViewPage.java:885)
at org.eclipse.search.ui.text.AbstractTextSearchViewPage.handleOpen(AbstractTextSearchViewPage.java:1340)
at org.eclipse.search.ui.text.AbstractTextSearchViewPage$5.open(AbstractTextSearchViewPage.java:674)
at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:820)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:857)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:46)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:193)
at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:818)
at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1079)
at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1183)
at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:263)
at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:257)
at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:297)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1495)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1519)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1504)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1295)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
at org.eclipse.swt.widgets.Control.sendTrackEvents(Control.java:2734)
at org.eclipse.swt.widgets.Control.kEventControlTrack(Control.java:1953)
at org.eclipse.swt.widgets.Widget.controlProc(Widget.java:367)
at org.eclipse.swt.widgets.Display.controlProc(Display.java:835)
at org.eclipse.swt.internal.carbon.OS.CallNextEventHandler(Native Method)
at org.eclipse.swt.widgets.Tree.kEventMouseDown(Tree.java:2363)
at org.eclipse.swt.widgets.Widget.mouseProc(Widget.java:1262)
at org.eclipse.swt.widgets.Display.mouseProc(Display.java:2817)
at org.eclipse.swt.internal.carbon.OS.SendEventToEventTarget(Native Method)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2936)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
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(Workbench.java:461)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.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(EclipseStarter.java:363)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
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) |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: ClassCastException with MyEclipse JSP Editor
Posted: Sep 25, 2007 - 07:06 PM
|
|
Moderator


Joined: Jan 06, 2004
Posts: 23348
|
|
| Can you go to MyEclipse > Installation Summary > Installation Details and paste the information here for me to look at? |
_________________ Riyad
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject: installation details
Posted: Sep 25, 2007 - 07:36 PM
|
|
Registered Member


Joined: Jan 27, 2006
Posts: 21
|
|
*** Date:
Tuesday, September 25, 2007 11:34:31 AM PDT
** System properties:
OS=MacOSX
OS version=10.4.10
Java version=1.5.0_07
*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 6.0.0 GA
Build id: 6.0.0-GA-200708
*** Eclipse details:
MyEclipse Enterprise Workbench
Version: 6.0.0 GA
Build id: 6.0.0-GA-200708
Eclipse Graphical Editing Framework
Version: 3.3.0.v20070620
Build id: 20070620-1021
Eclipse Platform
Version: 3.3.0.v20070612-_19UEkLEzwsdF9jSqQ-G
Build id: I20070625-1500
Eclipse Java Development Tools
Version: 3.3.0.v20070606-0010-7o7jCHEFpPoqQYvnXqejeR
Build id: I20070625-1500
Eclipse Project SDK
Version: 3.3.0.v20070607-7M7J-BIolz-OcxWxvWAPSfLPqevO
Build id: I20070625-1500
Eclipse RCP
Version: 3.3.0.v20070607-8y8eE8NEbsN3X_fjWS8HPNG
Build id: I20070625-1500
Eclipse Plug-in Development Environment
Version: 3.3.0.v20070607-7N7M-DUUEF6Ez0H46IcCC
Build id: I20070625-1500
Eclipse startup command=-os
macosx
-ws
carbon
-arch
x86
-showsplash
-launcher
/Users/dragade/eclipse/Eclipse.app/Contents/MacOS/eclipse
-name
Eclipse
--launcher.library
/Users/dragade/eclipse/Eclipse.app/Contents/MacOS/../../../plugins/org.eclipse.equinox.launcher.carbon.macosx_1.0.0.v20070606/eclipse_1017a.so
-startup
/Users/dragade/eclipse/Eclipse.app/Contents/MacOS/../../../plugins/org.eclipse.equinox.launcher_1.0.0.v20070606.jar
-keyring
/Users/dragade/.eclipse_keyring
-consoleLog
-showlocation
-product
com.genuitec.myeclipse.product.ide
-vm
/System/Library/Frameworks/JavaVM.framework |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: installation details
Posted: Sep 27, 2007 - 04:43 PM
|
|
Moderator


Joined: Jan 06, 2004
Posts: 23348
|
|
You installation *looks* fine, but you should not be getting a ClassNotFoundException for the web designer on Mac. Even though we don't support the designer on Mac right now, you should be seeing an error popup of some kind and not an exception.
Can you go to Help > Software Updates > Manage Configuration, then expand all the root level nodes, down to say 2 levels and see if any plugins have error markers next to them? |
_________________ Riyad
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject: configs
Posted: Sep 27, 2007 - 09:44 PM
|
|
Registered Member


Joined: Jan 27, 2006
Posts: 21
|
|
The ones with red Xs next to them are:
MyEclipse JSP Design Support 6.0.0.zmyeclipse60020070820
and
MyEclipse Web Development Tooling 6.0.0.zmyeclipse60020070820
[/img] |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: configs
Posted: Sep 27, 2007 - 10:02 PM
|
|
Moderator


Joined: Jan 06, 2004
Posts: 23348
|
|
Well atleast we know what the problem is now ;)
If you right-click on both of them, and go down to Status, what is the reason for the plugin error? Can you paste it here? |
_________________ Riyad
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject: RE: configs
Posted: Sep 27, 2007 - 11:33 PM
|
|
Registered Member


Joined: Jan 27, 2006
Posts: 21
|
|
For Web Dev Tooling status, it says:
Plug-in "com.genuitec.eclipse.web.imagepreviewer" version "6.0.0.zmyeclipse60020070820" referenced by this feature is missing.
For JSP Design Support it says:
Plug-in "com.genuitec.eclipse.webdesigner3" version "6.0.0.zmyeclipse60020070820" referenced by this feature is missing.
Plug-in "org.mozilla.xulrunner.carbon.macosx" version "0.0.0" referenced by this feature is missing.
I'll try to search for these missing plugins. |
|
|
| |
|
|
|
 |
|
|