Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 445687 - Exception starting eclipse luna (SR1)
Summary: Exception starting eclipse luna (SR1)
Status: CLOSED DUPLICATE of bug 440696
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: m2e (show other bugs)
Version: unspecified   Edit
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-01 11:47 EDT by Ben Frank CLA
Modified: 2021-04-19 13:22 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Frank CLA 2014-10-01 11:47:18 EDT
I get the following error when starting eclipse (eclipse-java-luna-SR1-macosx-cocoa-x86_64.tar.gz) on a Mac:


01:37:17 ~/Downloads/eclipse$ ./Eclipse.app/Contents/MacOS/eclipse
org.eclipse.m2e.logback.configuration: The org.eclipse.m2e.logback.configuration bundle was activated before the state location was initialized.  Will retry after the state location is initialized.
org.eclipse.m2e.logback.configuration: Logback config file: /Users/ben/Development/workspace.luna2/.metadata/.plugins/org.eclipse.m2e.logback.configuration/logback.1.5.0.20140606-0033.xml
org.eclipse.m2e.logback.configuration: Initializing logback
java.lang.ClassCastException: org.eclipse.osgi.internal.framework.EquinoxConfiguration$1 cannot be cast to java.lang.String
    at org.eclipse.m2e.logback.configuration.LogHelper.logJavaProperties(LogHelper.java:26)
    at org.eclipse.m2e.logback.configuration.LogPlugin.loadConfiguration(LogPlugin.java:189)
    at org.eclipse.m2e.logback.configuration.LogPlugin.configureLogback(LogPlugin.java:144)
    at org.eclipse.m2e.logback.configuration.LogPlugin.access$2(LogPlugin.java:107)
    at org.eclipse.m2e.logback.configuration.LogPlugin$1.run(LogPlugin.java:62)
    at java.util.TimerThread.mainLoop(Timer.java:555)
    at java.util.TimerThread.run(Timer.java:505)

The gradle plugin isn't working anymore - could be related; this is the exception:

Successfully started process 'Gradle build daemon'
An attempt to start the daemon took 0.496 secs.
Connected to the daemon. Dispatching Build{id=2bdfeafe-8c74-40b3-8d71-3766452a6e69.1, currentDir=/Users/ben/Downloads/eclipse.sr1/Eclipse.app/Contents/MacOS} request.
Removing daemon from the registry due to communication failure. Daemon information: DaemonInfo{address=[07b8131f-a782-4c49-b773-2d367dba20fb port:56738, addresses:[/0:0:0:0:0:0:0:1, /127.0.0.1]], idle=false, context=DefaultDaemonContext[uid=9bdc76ef-76ab-4094-90a2-590ecd265fbd,javaHome=/Library/Java/JavaVirtualMachines/jdk1.8.0_05.jdk/Contents/Home,daemonRegistryDir=/Users/ben/.gradle/daemon,pid=12806,idleTimeout=10800000,daemonOpts=-XX:MaxPermSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=UTF-8]}
Comment 1 Ben Frank CLA 2014-10-01 11:53:03 EDT
Stackoverflow user reports the same issue on linux

http://stackoverflow.com/questions/26129731/exception-starting-eclipse-luna-sr1-on-osx/26138254#26138254
Comment 2 Igor Fedorenko CLA 2014-10-01 12:28:21 EDT
'Gradle build daemon' suggests this isn't clean eclipse installation straight from eclipse.org download. As a matter of policy, we do not accept bug reports unless the problem is reproduced with fresh/clean eclipse distribution from eclipse.org.
Comment 3 Ben Frank CLA 2014-10-01 12:38:50 EDT
I tried both - the clean install has the same problem, but later results in this issue after I install the gradle plugin.
Comment 4 Igor Fedorenko CLA 2014-10-01 13:31:58 EDT
Ok, fair enough, I can reproduce the problem locally. The problem should be fixed in 1.6 as part of bug 440696 fix already.

*** This bug has been marked as a duplicate of bug 440696 ***
Comment 5 Denis Roy CLA 2021-04-19 13:22:49 EDT
Moved to https://github.com/eclipse-m2e/m2e-core/issues/