Windows Builder plugin of Eclipse not working in Linux - eclipse

I am trying to develop a new RCP application in Linux environment, earlier I have developed RCP applications on Windows Environment. I knew that windowsBuilder serves best for GUI development of RCP. But, here it doesn't look like to be working.
Here are the additional details:
1. Eclipse version: Kepler Release
2. My Windows Builder Plugin downloaded site : google Eclipse
3. My Linux environment details :
Linux MINT
Release 13 (maya) 32-bit
Kernel Linux 3.2.0-23-generic
GNOME 3.4.2
The screen shot of the design page for a sample view in my rcp application is hereunder:
The problem, in the above image is there are 2 components in the view i.e.., a label and a button but are not shown in the view to the right side.
As a workaround, I tried installing from different update sites but it did not work for me.
UPDATE:
Error Log from error view:
Message : Unhandled event loop exception
stack trace:
java.lang.IllegalArgumentException: Argument cannot be null
at org.eclipse.swt.SWT.error(SWT.java:4378)
at org.eclipse.swt.SWT.error(SWT.java:4312)
at org.eclipse.swt.SWT.error(SWT.java:4283)
at org.eclipse.swt.graphics.GC.drawImage(GC.java:836)
at org.eclipse.wb.draw2d.Graphics.drawImage(Graphics.java:205)
at org.eclipse.wb.core.gef.part.AbstractComponentEditPart$1.paintClientArea(AbstractComponentEditPart.java:92)
at org.eclipse.wb.draw2d.Figure.paintFigure(Figure.java:533)
at org.eclipse.wb.draw2d.Figure.paint(Figure.java:514)
at org.eclipse.wb.draw2d.Figure.paintChildren(Figure.java:552)
at org.eclipse.wb.draw2d.Figure.paint(Figure.java:516)
at org.eclipse.wb.draw2d.Figure.paintChildren(Figure.java:552)
at org.eclipse.wb.draw2d.Figure.paint(Figure.java:516)
at org.eclipse.wb.draw2d.Figure.paintChildren(Figure.java:552)
at org.eclipse.wb.draw2d.Figure.paint(Figure.java:516)
at org.eclipse.wb.internal.draw2d.FigureCanvas.handlePaint(FigureCanvas.java:188)
at org.eclipse.wb.internal.draw2d.FigureCanvas.access$2(FigureCanvas.java:160)
at org.eclipse.wb.internal.draw2d.FigureCanvas$3.handleEvent(FigureCanvas.java:150)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1392)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1416)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1401)
at org.eclipse.swt.widgets.Control.gtk_expose_event(Control.java:3165)
at org.eclipse.swt.widgets.Composite.gtk_expose_event(Composite.java:726)
at org.eclipse.swt.widgets.Canvas.gtk_expose_event(Canvas.java:176)
at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:2090)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:5467)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4569)
at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method)
at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(OS.java:8707)
at org.eclipse.swt.widgets.Display.eventProc(Display.java:1243)
at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method)
at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:2287)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3361)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:138)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:610)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
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:354)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
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:636)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
at org.eclipse.equinox.launcher.Main.run(Main.java:1450)

The plugins might be conflicting.And why not directly use an Eclipse for RCP and RAP Developers version.The WindowBuilder plugin is included and you don't need to download it.
Eclipse for RCP and RAP Developers :
A complete set of tools for developers who want to create Eclipse plug-ins and Rich Clients (RCP), or develop with the Remote Application Platform (RAP), plus Mylyn, XML editors, Code Recommenders, Git, CVS, and Maven integration.

Related

Eclipse E4 RCP application and Dynamic Services

I am upgrading an RCP application to the 4.4 (Luna) framework from 3.7 (Indigo). The application works correctly in 3.7 but fails in 4.4 with org.eclipse.swt.SWTException: Invalid thread access.
There are Dynamic Services (DS) that start an application service to provide access to a database. When I remove the DS references from the manifests, the application starts, although won't fully function without the DS.
To date, I have tried changing the start order / priority of the bundles that create and use the DS but this did not correct the issue.
Any suggestions on how to proceed with troubleshooting and resolving this issue?
UPDATE
Tracing through the error, it fails during creation of the E4 workbench in the method Display.checkDevice().
Full stack trace
org.eclipse.swt.SWTException: Invalid thread access
at org.eclipse.swt.SWT.error(SWT.java:4441)
at org.eclipse.swt.SWT.error(SWT.java:4356)
at org.eclipse.swt.SWT.error(SWT.java:4327)
at org.eclipse.swt.widgets.Display.error(Display.java:1258)
at org.eclipse.swt.widgets.Display.checkDevice(Display.java:764)
at org.eclipse.swt.widgets.Display.getHighContrast(Display.java:1864)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.setCSSContextVariables(E4Application.java:327)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createE4Workbench(E4Application.java:305)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:601)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at com.easa.acmotor.base.Application.start(Application.java:24)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
The issue had nothing to do with Dynamic Services.
After several long debug sessions, the root cause was determined by placing a break in the constructor of the Display object. That allowed us to find some very old code in the Activator of one of the plugins that executed Display.getDefault(). In 3.7 the Activator was called after the Display was initialized, in 4.4 this timing changed so the Activator was called before the application initialized the Display.

Javadoc Hover suddenly broke in eclipse luna

I installed eclipse luna a week ago and worked every day with it until the javadoc broke yesterday.
When i hover on a class or method, the popup shows, with the right dimension apparently, but it's blank.
This problem happens for classes that i wrote, classes that come from maven dependencies and classes from the jdk (like String).
I restarted eclipse, the computer, and it still doesn't work.
I didn't notice anything i did diferently that could have caused this.
I looked at the build path and for each jar, there is the source path and the javadoc path.
The javadoc view is empty also.
I don't know what to do. I can't work without the javadoc hovers.
Edit :
In the error view i saw that the first time i try to hover i get an Internal error on "org.eclipse.jdt.ui" :
java.net.MalformedURLException: unknown protocol: res
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at org.eclipse.jdt.internal.ui.viewsupport.JavaElementLinks$1.changing(JavaElementLinks.java:300)
at org.eclipse.swt.browser.IE$7.handleEvent(IE.java:510)
at org.eclipse.swt.ole.win32.OleEventTable.sendEvent(OleEventTable.java:55)
at org.eclipse.swt.ole.win32.OleEventSink.notifyListener(OleEventSink.java:152)
at org.eclipse.swt.ole.win32.OleEventSink.Invoke(OleEventSink.java:120)
at org.eclipse.swt.ole.win32.OleEventSink.access$1(OleEventSink.java:97)
at org.eclipse.swt.ole.win32.OleEventSink$1.method6(OleEventSink.java:71)
at org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMObject.java:119)
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2549)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3759)
at org.eclipse.jface.internal.text.html.BrowserInformationControl.setVisible(BrowserInformationControl.java:351)
at org.eclipse.jface.text.AbstractInformationControlManager.showInformationControl(AbstractInformationControlManager.java:1270)
at org.eclipse.jface.text.TextViewerHoverManager.showInformationControl(TextViewerHoverManager.java:283)
at org.eclipse.jface.text.AbstractInformationControlManager.internalShowInformationControl(AbstractInformationControlManager.java:1221)
at org.eclipse.jface.text.AbstractInformationControlManager.presentInformation(AbstractInformationControlManager.java:1150)
at org.eclipse.jface.text.AbstractHoverInformationControlManager.presentInformation(AbstractHoverInformationControlManager.java:902)
at org.eclipse.jface.text.TextViewerHoverManager.doPresentInformation(TextViewerHoverManager.java:243)
at org.eclipse.jface.text.TextViewerHoverManager$5.run(TextViewerHoverManager.java:233)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4147)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3764)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:382)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:236)
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:648)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
Edit 2 : it still doesn't work !
I uninstalled eclipse and reinstalled a fresh one, i wiped the workspace, there are no changes.
The problem is as the #Pavel Horal said
You should switch your browser to a different one , the default browser is IE by modifying the eclipse.ini file eclipse.org/swt/faq.php#browserspecifydefault
or just add
-Dorg.eclipse.swt.browser.DefaultType=mozilla
at the end of your eclipse.ini file.
Or if you are more comfortable with UI interface of the eclipse you can use this help to change the default browser HELP.

Eclipse (Indigo) CVS no longer working after subclipse plugin install

I'm running Eclipse 3.7 (Indigo) and installed the Subclipse plugin a while back. Prior to that I know CVS was working properly. Since I installed Subclipse, I haven't really had the need for CVS. Recently I inherited a CVS project to maintain. When I try to open the Team Synchronize view and attempt to Synchronize to a CVS repo, I get the following error message:
java.lang.NoClassDefFoundError: org/eclipse/team/internal/ui/synchronize/RegexDiffFilter
at org.eclipse.team.internal.ccvs.ui.actions.SyncAction.execute(SyncAction.java:58)
at org.eclipse.team.internal.ccvs.ui.actions.CVSAction.run(CVSAction.java:117)
at org.eclipse.team.internal.ui.actions.TeamAction.runWithEvent(TeamAction.java:549)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:241)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
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:4165)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
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:344)
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:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
Caused by: java.lang.ClassNotFoundException: org.eclipse.team.internal.ui.synchronize.RegexDiffFilter
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:513)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
... 31 more
I found one bug filed on https://bugs.eclipse.org/bugs/show_bug.cgi?id=386664 which is exactly this issue, but no one has offered any solutions other than upgrading to a newer version of Eclipse, which is not an option for me.
Interestingly, I am able to checkout/update, but just cannot use the Synchronize View.
Does anyone have a clue if/what I can do to try to restore my CVS functionality?
Some hopefully pertinent information:
From plugin table:
CVS Team Provider Core: v3.3.500.v20120522-1148 (org.eclipse.team.cvs.core)
CVS Team Provider UI: : v3.3.500.v20120522-1148 (org.eclipse.team.cvs.ui)
CVS SSH2: v3.2.300.v20120522-1148 (org.eclipse.team.cvs.ssh2)
Eclipse CVS Client: v1.2.0.v201209141800 (org.eclipse.cvs)
Team Support Core: v3.6.0.I20110525-0800 (org.eclipse.team.core)
Team Support UI: v3.6.101.R37x_20111109-0800 (org.eclipse.team.ui)
Using:
Version: Indigo Service Release 2
Build id: 20120216-1857
I know this is not a definitive solution, but it worked for me:
Window -> Preference -> Team -> CVS -> Synchronize/Compare -> Uncheck Allow models (e.g. Java) to participate in synchronizations -> Ok
Hope that helps.

Why is eclipse giving me this error?

Ok, so I installed this plugin for eclipse. I dragged all the stuff in it's features folder into eclipses, and all the stuff from it's plugin folder to eclipse's plugin folder. I also copied the site.xml into eclipse's main folder. But when I started eclipse and tried to view class files, they gave me a eclipse error. I tried uninstalling it, but it didn't show it was installed. I also tried removing the base files I copied, but it still gave me the same error.
The error, up close, is this:
org.eclipse.core.runtime.CoreException: The Class File Viewer cannot handle the given input ('org.eclipse.ui.ide.FileStoreEditorInput').
at org.eclipse.jdt.internal.ui.javaeditor.ClassFileEditor.doSetInput(ClassFileEditor.java:652)
at org.eclipse.ui.texteditor.AbstractTextEditor$19.run(AbstractTextEditor.java:3200)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
at org.eclipse.jface.window.ApplicationWindow$1.run(ApplicationWindow.java:759)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.jface.window.ApplicationWindow.run(ApplicationWindow.java:756)
at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:2649)
at org.eclipse.ui.texteditor.AbstractTextEditor.internalInit(AbstractTextEditor.java:3218)
at org.eclipse.ui.texteditor.AbstractTextEditor.init(AbstractTextEditor.java:3245)
at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:828)
at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:647)
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.EditorAreaHelper.setVisibleEditor(EditorAreaHelper.java:271)
at org.eclipse.ui.internal.EditorManager.setVisibleEditor(EditorManager.java:1459)
at org.eclipse.ui.internal.EditorManager$5.runWithException(EditorManager.java:972)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4140)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3757)
at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
at org.eclipse.ui.internal.Workbench$33.runWithException(Workbench.java:1600)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4140)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3757)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2609)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
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:344)
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:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
And a screenshot of the screen is this:
You have not installed the plugin the proper way, it most likely will not work. JD-Eclipse page tells you how to install it correctly. Even if you download archived Update Site, you must use the Install New Software... dialog. The only thing you should do differently in given instructions is in New Repository dialog instead of pasting the Update Site URL into an input - click Archive... button and select zip file you downloaded.
You should not have broken the whole installation by simply copying the jar files into respective folders, but apparently somehow it was corrupted or some bug exposed which threw the given Exception. Exception, actually, looks like it is the Standart JDT Class Editor which failed not the JD-Eclipse.
I suggest you shutdown Eclipse, delete all the files you copy pasted manually, launch it again and try to open some class file in the Workspace. If it works, try to install JD-Eclipse properly (including Microsoft Visual C++ 2008 Express Edition if you are on Windows). If it does not work, try re-installing Eclipse.
What and where you put class files that you want to view ? Are that class file exists in your workspace? If not, try to put your class file in your workspace
For quick and dirty checks, I've found a better option: go to http://jd.benow.ca/ and drag and drop your class file onto the "Live Demo"->"Input Files" section at the bottom. Worked like a charm!

Unhandled event loop exception when I open a JSP file in eclipse helios

I want to generate Crystal Reports in Eclipse for which I have recently downloaded crystal reports 2.0 for eclipse. I am using eclipse-jee-helios-SR2-win32 (3.6) version and Tomcat v5.5 server version.
I can generate the JSP file from the Crystal Report file(.rpt) as shown in this PDF. But the problem is when I open it. It cannot be opened by any editor except Text Editor.
On opening with other editors gives me following Error:
Message:
Unhandled event loop exception
Exception Stack Trace:
java.lang.NoSuchMethodError: org.eclipse.jst.jsp.ui.internal.contentassist.JSPStructuredContentAssistProcessor.setAutoActivationDelay(I)V
at org.eclipse.jst.jsp.ui.internal.contentassist.JSPStructuredContentAssistProcessor.updateAutoActivationDelay(JSPStructuredContentAssistProcessor.java:114)
at org.eclipse.jst.jsp.ui.internal.contentassist.JSPStructuredContentAssistProcessor.(JSPStructuredContentAssistProcessor.java:73)
at org.eclipse.jst.jsp.ui.StructuredTextViewerConfigurationJSP.getContentAssistProcessors(StructuredTextViewerConfigurationJSP.java:189)
at org.eclipse.wst.sse.ui.StructuredTextViewerConfiguration.getContentAssistant(StructuredTextViewerConfiguration.java:291)
at org.eclipse.wst.sse.ui.internal.StructuredTextViewer.configure(StructuredTextViewer.java:215)
at org.eclipse.ui.texteditor.AbstractTextEditor.createPartControl(AbstractTextEditor.java:3250)
at org.eclipse.ui.texteditor.StatusTextEditor.createPartControl(StatusTextEditor.java:53)
at org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.createPartControl(AbstractDecoratedTextEditor.java:432)
at org.eclipse.wst.sse.ui.StructuredTextEditor.createPartControl(StructuredTextEditor.java:1507)
at org.eclipse.jst.pagedesigner.ui.common.sash.SashEditorPart.addPage(SashEditorPart.java:110)
at org.eclipse.jst.pagedesigner.editors.HTMLEditor$3.createPages(HTMLEditor.java:266)
at org.eclipse.jst.pagedesigner.ui.common.sash.SashEditorPart.createPartControl(SashEditorPart.java:190)
at org.eclipse.ui.part.MultiPageEditorPart.addPage(MultiPageEditorPart.java:241)
at org.eclipse.ui.part.MultiPageEditorPart.addPage(MultiPageEditorPart.java:211)
at org.eclipse.jst.pagedesigner.editors.HTMLEditor.sash_createAndAddDesignSourcePage(HTMLEditor.java:269)
at org.eclipse.jst.pagedesigner.editors.HTMLEditor.createPages(HTMLEditor.java:440)
at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:348)
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.actions.OpenWithMenu.openEditor(OpenWithMenu.java:331)
at org.eclipse.ui.actions.OpenWithMenu$2.handleEvent(OpenWithMenu.java:179)
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:2640)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
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(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:620)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
I think I am forgetting something in installation process. Can anyone help here please Thanks in Advance !!
EDIT: Solved this error when I deleted files:
org.eclipse.jst.jsp.ui.source_1.1.601.v201108151912.jar
org.eclipse.jst.jsp.ui_1.1.601.v201108151912.jar
and downloaded:
org.eclipse.jst.jsp.ui.source_1.1.401.v200908111935.jar
org.eclipse.jst.jsp.ui_1.1.401.v200908111935.jar
But now I lost complete support of JSP from Eclipse.
Refer this for more information.
Solved this error when I uninstalled following plug-ins from Help->About Eclipse SDK->Installation Details:
Android DDMS, Android Development Tools, Android Hierarchy Viewer,
Android Traceview.
Eclipse Java EE Developer Tools
JST Web UI,etc...
And then again Re-installed them.
Finally I got JSP support on Crystal Reports(.rpt) files as well as complete Android support on Eclipse.