Hi all,
I'm using Eclipse 4.2 for my RCP and for reusing component i'm also using compatibility layer in that.
My problem is i creating one perspective for my RCP in that I'm reusing Project-Explorer Text-Area debug and break-point view.
When i create a JavaScript project (I'm also adding JSDT plugins for that)using project explore every thing is fine and then i created one javaScript file for my project but i'm getting following error.
!ENTRY org.eclipse.ui 4 0 2012-10-29 11:08:41.998
!MESSAGE Unhandled event loop exception
!STACK 0
org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.IllegalArgumentException: )
at org.eclipse.swt.SWT.error(SWT.java:4361)
at org.eclipse.swt.SWT.error(SWT.java:4276)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:138)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4144)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1022)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
!ENTRY org.eclipse.e4.ui.workbench 4 0 2012-10-29 12:02:33.077
!MESSAGE Unable to create class 'org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor' from bundle '97'
!STACK 0
org.eclipse.e4.core.di.InjectionException: Could not find satisfiable constructor in org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor
at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:327)
at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:240)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:161)
But because i adding JSDT feature too so i changed perspective form mine to javaScript and again try to create project and file than every thing is fine.
And i'm using project explore instead of script Explore because its added perfectly by when you right click on that and click on new is showing No item is applicable somthing like that . Then i though this view may be bind with there respective perspective. That why i'm using Project explore . Is i'm right ..?
Thanks
[Updated on: Mon, 29 October 2012 06:35]
Report message to a moderator