Bug 50847 - Eclipse M6 does not start because of IllegalStateException: Unable to acquire application service
Summary: Eclipse M6 does not start because of IllegalStateException: Unable to acquire...
Status: RESOLVED DUPLICATE of bug 44735
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: Incubator (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux-Motif
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: User Unknown CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-29 09:42 EST by Martin Burger CLA
Modified: 2005-09-27 09:12 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Burger CLA 2004-01-29 09:42:41 EST
Hello,

I downloaded M6, but I can't start it. Eclipse throws the following exception:

!SESSION ----------------------------------------------------------------------
!ENTRY org.eclipse.core.launcher 4 0 Jan 29, 2004 15:25:45.949
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.IllegalStateException: Unable to acquire application service
        at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:84)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.eclipse.core.launcher.Main.basicRun(Main.java:279)
        at org.eclipse.core.launcher.Main.run(Main.java:742)
        at org.eclipse.core.launcher.Main.main(Main.java:581)

The exception is contained in the .log file.

My Linux (Debian) version:

# uname -a
Linux XXX 2.4.23-1-686 #1 Sun Nov 30 20:51:10 EST 2003 i686 GNU/Linux

Regards, Martin
Comment 1 Rafael Chaves CLA 2004-01-29 10:29:33 EST
Have you, by any chance, extracted the Eclipse install on top of a previous version?
Comment 2 Martin Burger CLA 2004-01-29 10:32:38 EST
No, I extracted the zip archive to a new folder and created a new workspace with
the -data parameter.

Regards, Martin
Comment 3 Rafael Chaves CLA 2004-01-29 10:46:22 EST
Maybe a duplicate of bug 49349. Would it be possible for you to give a try to a
more recent integration build (>= i20040121)?

Also, do you start Eclipse from command-line? If not, could you do it? Do you
get any messages in the console (currently, lower level errors are output
there)? Thanks.
Comment 4 Martin Burger CLA 2004-01-30 04:31:05 EST
I tried I20040129, here the result:

!SESSION ----------------------------------------------------------------------
!ENTRY org.eclipse.core.launcher 4 0 Jan 30, 2004 10:04:32.886
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.IllegalStateException: Unable to acquire application service
        at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:100)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.eclipse.core.launcher.Main.basicRun(Main.java:279)
        at org.eclipse.core.launcher.Main.run(Main.java:742)
        at org.eclipse.core.launcher.Main.main(Main.java:581)


My shell script to start eclipse:

#!/bin/sh

cd /home/mburger/bin/eclipse-SDK-I20040129-linux-motif
./eclipse -data /home/mburger/eclipse/workspace-I20040129 &

Perhaps the problem is connected to this one: Bug# 44735

If I start Eclipse at the server (ssh -X) it works, but if I start it at my
workstation (here, my home directory is imported via NFS) it fails.
Comment 5 Rafael Chaves CLA 2004-01-30 11:22:32 EST
Yup, I bet you are right.

Since M6, we have had a hole in error reporting for problems that happen while
starting up the platform (see bug 50577). This will be improved starting from
today's build (there will be one at 11:30AM EST).

I thought about adding you to the other PR (bug 44735), but just noticed you are
the reporter. Please reopen this bug if after trying with a build >= 20040130
you don't get a similar message in the log as you got on M5.

*** This bug has been marked as a duplicate of 44735 ***