Bug#683930: eclipse: 3.8.0~rc4-1 exits with log error: Unable to acquire application

JS jshaio at yahoo.com
Sat Aug 11 23:39:34 UTC 2012


Jakub,


I tried your suggestion and got exactly the same error, details below.

This isn't surprising since the eclipse 3.8 blob from eclipse.org runs perfectly on my system,

so any packages needed for eclipse 3.8 had to be already present.


Here are the details:

+++-====================================-====================================-========================================================================================
ii libfelix-gogo-command-java 0.12.0-1 Apache Felix Gogo Command bundle
un libfelix-gogo-command-java-doc <none> (no description available)
ii libfelix-gogo-runtime-java 0.10.0-1 Apache Felix Gogo Runtime bundle
un libfelix-gogo-runtime-java-doc <none> (no description available)
ii libfelix-gogo-shell-java 0.10.0-1 Apache Felix Gogo Shell bundle
un libfelix-gogo-shell-java-doc <none> (no description available)
ii libservlet3.0-java 7.0.28-2 Servlet 3.0 and JSP 2.2 Java API classes
ii libtomcat7-java 7.0.28-2 Servlet and JSP engine -- core libraries
ii eclipse 3.8.0~rc4-1 Extensible Tool Platform and Java IDE

 
jack at berkeley:~ => eclipse -console -consoleLog -noExit
!SESSION 2012-08-11 19:34:09.365 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.7.0_05
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Command-line arguments:  -os linux -ws gtk -arch x86 -console -consoleLog

!ENTRY org.eclipse.osgi 4 0 2012-08-11 19:34:09.633
!MESSAGE Could not find bundle: org.eclipse.equinox.console
!STACK 0
org.osgi.framework.BundleException: Could not find bundle: org.eclipse.equinox.console
at org.eclipse.osgi.framework.internal.core.ConsoleManager.checkForConsoleBundle(ConsoleManager.java:211)
at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:297)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
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:629)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
at org.eclipse.equinox.launcher.Main.run(Main.java:1438)

!ENTRY org.eclipse.osgi 4 0 2012-08-11 19:34:09.639
!MESSAGE Application error
!STACK 1
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:74)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
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:629)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
at org.eclipse.equinox.launcher.Main.run(Main.java:1438)


thanks,
--jack



________________________________
 From: Jakub Adam <jakub.adam at ktknet.cz>
To: JS <jshaio at yahoo.com> 
Cc: "683930 at bugs.debian.org" <683930 at bugs.debian.org> 
Sent: Saturday, August 11, 2012 8:06 AM
Subject: Re: eclipse: 3.8.0~rc4-1 exits with log error: Unable to acquire application
 
Hi,

On 11.8.2012 05:18, JS wrote:
> I retried your suggestion but never got the console to look for the output you suggested. Below is all I saw
> (also tried adding the -clean option, with the same result).
> 
> jack at berkeley:~ => eclipse -console -consoleLog -noExit
> !SESSION 2012-08-10 23:05:56.732 -----------------------------------------------
> eclipse.buildId=unknown
> java.version=1.7.0_05
> java.vendor=Oracle Corporation
> BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
> Command-line arguments: -os linux -ws gtk -arch x86 -console -consoleLog
> 
> !ENTRY org.eclipse.osgi 4 0 2012-08-10 23:05:56.964
> !MESSAGE Could not find bundle: org.eclipse.equinox.console
> !STACK 0
> org.osgi.framework.BundleException: Could not find bundle: org.eclipse.equinox.console
> at org.eclipse.osgi.framework.internal.core.ConsoleManager.checkForConsoleBundle(ConsoleManager.java:211)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:297)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
> 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:629)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1438)

Hmm no wonder you couldn't get the console when Eclipse is unable to load even the console support bundle.
Looking at the dependencies of org.eclipse.equinox.console, could you please check that you have installed
the latest versions of these packages available in Debian testing?

libfelix-gogo-command-java
libfelix-gogo-shell-java
libservlet3.0-java
libtomcat7-java

Eclipse is not declaring a dependency on any particular version of these packages so you might have an old,
incompatible one. Our list of required packages should be updated in this case.

> !ENTRY org.eclipse.osgi 4 0 2012-08-10 23:05:56.972
> !MESSAGE Application error
> !STACK 1
> 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:74)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
> 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:629)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1438)

Looks only as a consequence of previous error(s).

Regards,

Jakub
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20120811/2caf92c3/attachment-0001.html>


More information about the pkg-java-maintainers mailing list