facebook

Console View: NoClassDefFoundError: StyledText$RTFWriter

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

    jewellcj
    Participant

    (I also posted this on the Adobe Flash Builder Jira at http://bugs.adobe.com/jira/browse/FB-27638 as I have Flash Builder installed and thought it was something to do with that since I originally found the bug while trying to go into Design Mode for an MXML fille. Now I see that it is more general.)
    Whenever I try to bring up a Console View (Maven. Tomcat, etc.), I get the below error:

    Could someone please help as it’s holding up my development work?

    Thanks

    ___
    “An internal error has occurred.
    org/eclipse/swt/custom/StyledText$RTFWriter”

    and in the error log:
    Message: “Unhandled event loop exception”
    Trace: ”
    org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NoClassDefFoundError: org/eclipse/swt/custom/StyledText$RTFWriter)
    at org.eclipse.swt.SWT.error(SWT.java:3884)
    at org.eclipse.swt.SWT.error(SWT.java:3799)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:137)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3885)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3506)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
    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:368)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    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:597)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
    Caused by: java.lang.NoClassDefFoundError: org/eclipse/swt/custom/StyledText$RTFWriter
    at org.eclipse.jface.text.TextViewer.createTextWidget(TextViewer.java:1743)
    at org.eclipse.jface.text.TextViewer.createControl(TextViewer.java:1764)
    at org.eclipse.jface.text.source.SourceViewer.createControl(SourceViewer.java:307)
    at org.eclipse.jface.text.source.SourceViewer.<init>(SourceViewer.java:292)
    at org.eclipse.jface.text.source.SourceViewer.<init>(SourceViewer.java:268)
    at org.eclipse.ui.console.TextConsoleViewer.<init>(TextConsoleViewer.java:152)
    at org.eclipse.ui.internal.console.IOConsoleViewer.<init>(IOConsoleViewer.java:39)
    at org.eclipse.ui.internal.console.IOConsolePage.createViewer(IOConsolePage.java:73)
    at org.eclipse.ui.console.TextConsolePage.createControl(TextConsolePage.java:164)
    at org.eclipse.ui.internal.console.IOConsolePage.createControl(IOConsolePage.java:59)
    at org.eclipse.ui.internal.console.ConsoleView.doCreatePage(ConsoleView.java:318)
    at org.eclipse.ui.part.PageBookView.createPage(PageBookView.java:409)
    at org.eclipse.ui.part.PageBookView.partActivated(PageBookView.java:752)
    at org.eclipse.ui.internal.console.ConsoleView$4.run(ConsoleView.java:404)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
    … 22 more
    Caused by: java.lang.ClassNotFoundException: org.eclipse.swt.custom.StyledText$RTFWriter
    at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:494)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:398)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:105)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
    … 38 more

    Session Data:
    eclipse.buildId=unknown
    java.version=1.6.0_13
    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

    #313305 Reply

    jewellcj
    Participant

    No action on this – what’s going on?

    #313329 Reply

    support-swapna
    Moderator

    jewellcj,

    Sorry for the delayed response.

    Can you answer some questions for me?

    1. Can you please copy paste your installation details here. You can fetch them from the menu MyEclipse > Installation Summary > Installation Details.
    2.How did you install the Flash Builder? Please give us steps in detail.
    3. If you have downloaded it then do provide us with the link.
    4. Are you using Pulse explorer?

    Please start MyEclipse with -clean option. Here is how you can do it :
    https://www.genuitec.com/forums/topic/troubleshoot-using-the-clean-command-line-argument/
    Also switch workspace and check.

    Let us know how it works for you.

    #316172 Reply

    jewellcj
    Participant

    Please note that I have just installed MyEclipse version 9.0 and the problem has now gone away (I had tried every single 8.x point release since posting this issue and none resolved it) . I believe the issue may have been associated with the fact that I only had JDK 1.6 installed on my machine. It’s good to be back in the fold again as I really enjoy working with MyEclipse.

    #316186 Reply

    support-swapna
    Moderator

    jewellcj,

    Glad that it is working fine.
    Do let us know if you have any other issues.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Console View: NoClassDefFoundError: StyledText$RTFWriter

This topic is marked as closed to new replies, however your posting capabilities still allow you to do so.

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