Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Unhandled event loop exception when i create javaScript file in My RCP(Unhandled event loop exception when i create javaScript file in My RCP)
Unhandled event loop exception when i create javaScript file in My RCP [message #962527] Mon, 29 October 2012 05:56
Sumit Singh is currently offline Sumit SinghFriend
Messages: 141
Registered: October 2012
Location: Bangalore
Senior Member

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
  • Attachment: RCP.png
    (Size: 79.29KB, Downloaded 258 times)

[Updated on: Mon, 29 October 2012 06:35]

Report message to a moderator

Previous Topic:How can I get a Shell from inside a handler
Next Topic:can we reuse the Parts in eclipse 4.2 for RCP.?
Goto Forum:
  


Current Time: Fri Apr 26 22:49:46 GMT 2024

Powered by FUDForum. Page generated in 0.03215 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top