facebook

ClassCastException in JSP editor when selecting Preview tab

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #230789 Reply

    Edward Kuns
    Participant

    I have a fresh install of Eclipse 3.1 M7 with the latest MyEclipse (3.8.4+QF2-BetaFor3.1M7) build ID 200505151200-3.8.4+QF2-BetaFor3.1M7. In every JSP I edit, no matter what, when I click on the Preview tab, I get an exception and also an unhandled event loop exception in the “Error Log” view. All of the data is below:

    Session data:

    eclipse.buildId=I20050513-1415
    java.version=1.5.0_01
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
    Command-line arguments: -os win32 -ws win32 -arch x86

    Severity: Error

    Message:

    org.eclipse.core.runtime.adaptor.ContextFinder

    Exception Stack Trace:

    java.lang.ClassCastException: org.eclipse.core.runtime.adaptor.ContextFinder
    at com.genuitec.eclipse.jasper.compiler.JspRuntimeContext.<init>(JspRuntimeContext.java:97)
    at com.genuitec.eclipse.jasper.driver.MyEclipseJspC.parseInternal(MyEclipseJspC.java:113)
    at com.genuitec.eclipse.jasper.driver.MyEclipseJspC.parse(MyEclipseJspC.java:99)
    at com.genuitec.eclipse.jasper.AbstractTranslator.parse(AbstractTranslator.java:104)
    at com.genuitec.eclipse.jasper.AbstractTranslator.<init>(AbstractTranslator.java:34)
    at com.genuitec.eclipse.jasper.JSPToHTMLTranslator.<init>(JSPToHTMLTranslator.java:34)
    at com.genuitec.eclipse.jsphtml.conversion.JSPTranslator.<init>(JSPTranslator.java:41)
    at com.genuitec.eclipse.webdesigner.jspeditor.JSPMultiPageEditorPart.changeToPreview(JSPMultiPageEditorPart.java:71)
    at com.genuitec.eclipse.webdesigner.htmleditor.HTMLMultiPageEditorPart.pageChange(HTMLMultiPageEditorPart.java:896)
    at org.eclipse.ui.part.MultiPageEditorPart$2.widgetSelected(MultiPageEditorPart.java:200)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:842)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:866)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:851)
    at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:659)
    at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:3137)
    at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:1921)
    at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:288)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:842)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2921)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2554)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1601)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1565)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:315)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
    at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:230)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:371)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:160)
    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.core.launcher.Main.invokeFramework(Main.java:330)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:274)
    at org.eclipse.core.launcher.Main.run(Main.java:977)
    at org.eclipse.core.launcher.Main.main(Main.java:952)

    #230814 Reply

    Riyad Kalla
    Member

    There are quite a few API breaks in M7 that are occuring in our beta, also the preview and designer are going to be totally replaced for our 4.0 release, so for the time being just try to avoid the Preview tab.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: ClassCastException in JSP editor when selecting Preview tab

You must be logged in to post in the forum log in