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
org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.IllegalArgumentException: )
	at org.eclipse.swt.SWT.error(
	at org.eclipse.swt.SWT.error(
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(
	at org.eclipse.swt.widgets.Display.runAsyncMessages(
	at org.eclipse.swt.widgets.Display.readAndDispatch(
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(

!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'
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(
	at org.eclipse.e4.core.internal.di.InjectorImpl.make(
	at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(

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 ..?

  • Attachment: RCP.png
    (Size: 79.29KB, Downloaded 232 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: Tue Jan 25 15:25:29 GMT 2022

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

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

Back to the top