Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Application error?
Application error? [message #463780] Thu, 15 February 2007 09:32 Go to next message
Eclipse UserFriend
Hello everybody,

I am trying to create new 3.3 style RCP application
(org.eclipse.equinox.app.IApplication) and all I'm getting when I'm
trying to launch it (from plugin editor overview tab), is this weird error:

eclipse.buildId=I20070209-1006
java.version=1.5.0_10
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=et_EE
Framework arguments: -launcher C:\Java\eclipse-3.3M5\eclipse -name
Eclipse 600 -application my.new.rcp.application
Command-line arguments: -launcher C:\Java\eclipse-3.3M5\eclipse -name
Eclipse 600 -application my.new.rcp.application -data
C:\VB\standalone-HEAD/../runtime-my.new.rcp.application -dev
file:C:/workspace/.metadata/.plugins/org.eclipse.pde.core/my .new.rcp.application/dev.properties
-os win32 -ws win32 -arch x86

Error
Thu Feb 15 16:16:33 EET 2007
Application error

java.lang.IllegalStateException: Unable to acquire application service.
Ensure that the org.eclipse.core.runtime bundle is resolved and started
(see config.ini).
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:72)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:354)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:169)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 476)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:416)
at org.eclipse.equinox.launcher.Main.run(Main.java:1124)
at org.eclipse.equinox.launcher.Main.main(Main.java:1099)


--
Roland Tepp
Re: Application error? [message #463832 is a reply to message #463780] Fri, 16 February 2007 06:12 Go to previous messageGo to next message
Eclipse UserFriend
Roland,

from the log you've attached I can only say that for some reason your
RCP app can't locate org.eclipse.core.runtime bundle (what's explicitly
said there). Please let us know if you have more details in a log file
located at
C:\VB\standalone-HEAD/../runtime-my.new.rcp.application/.met adata/.log

To clarify, the application that you try to execute is pure new
generated RCP application from a wizard and the eclipse SDK 3.3M5 you
have is the same that I've just downloaded from eclipse.org.

For me creating new RCP app and launching it works, so the problem might
be in your customizations, or in installation you have.

Jacek

Roland Tepp napisał(a):
> Hello everybody,
>
> I am trying to create new 3.3 style RCP application
> (org.eclipse.equinox.app.IApplication) and all I'm getting when I'm
> trying to launch it (from plugin editor overview tab), is this weird error:
>
> eclipse.buildId=I20070209-1006
> java.version=1.5.0_10
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=et_EE
> Framework arguments: -launcher C:\Java\eclipse-3.3M5\eclipse -name
> Eclipse 600 -application my.new.rcp.application
> Command-line arguments: -launcher C:\Java\eclipse-3.3M5\eclipse -name
> Eclipse 600 -application my.new.rcp.application -data
> C:\VB\standalone-HEAD/../runtime-my.new.rcp.application -dev
> file:C:/workspace/.metadata/.plugins/org.eclipse.pde.core/my .new.rcp.application/dev.properties
> -os win32 -ws win32 -arch x86
>
> Error
> Thu Feb 15 16:16:33 EET 2007
> Application error
>
> java.lang.IllegalStateException: Unable to acquire application service.
> Ensure that the org.eclipse.core.runtime bundle is resolved and started
> (see config.ini).
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:72)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:354)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:169)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 476)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:416)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1124)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1099)
>
>
Re: Application error? [message #463836 is a reply to message #463832] Fri, 16 February 2007 07:14 Go to previous message
Eclipse UserFriend
I just found out the reason for this.

As I had created my application from scratch, to test out what the new
application service means, I hand-coded the plugin.xml extension
declaration and had played with application attribute values.

The culprit was thread="any" attribute setting. It seems the application
was started in a new thread and for some reason that caused application
launcher to believe that runtime was not initialized...


Jacek Pospychala kirjutas mulle midagi seesugust:
> Roland,
>
> from the log you've attached I can only say that for some reason your
> RCP app can't locate org.eclipse.core.runtime bundle (what's explicitly
> said there). Please let us know if you have more details in a log file
> located at
> C:\VB\standalone-HEAD/../runtime-my.new.rcp.application/.met adata/.log
>
> To clarify, the application that you try to execute is pure new
> generated RCP application from a wizard and the eclipse SDK 3.3M5 you
> have is the same that I've just downloaded from eclipse.org.
>
> For me creating new RCP app and launching it works, so the problem might
> be in your customizations, or in installation you have.
>
> Jacek
>
> Roland Tepp napisał(a):
>> Hello everybody,
>>
>> I am trying to create new 3.3 style RCP application
>> (org.eclipse.equinox.app.IApplication) and all I'm getting when I'm
>> trying to launch it (from plugin editor overview tab), is this weird
>> error:
>>

--
Roland Tepp
Previous Topic:How to add Showview menu in my RCP application
Next Topic:How to get an Editor from within an Action
Goto Forum:
  


Current Time: Tue Apr 15 03:10:31 EDT 2025

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

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

Back to the top