Eclipse Equinox ClassCastException ao iniciar

2

Já pesquisei por cerca de duas horas e não encontro outra pessoa com esse problema. Parece acontecer sempre que eu inicio o Eclipse, e isso torna o IDE completamente inutilizável. Eu tentei trocar de espaços de trabalho e isso não mudou nada.

Estou usando o Eclipse para Java EE versão 4.4.1.

Versão Java:

java version "1.7.0_72"
Java(TM) SE Runtime Environment (build 1.7.0_72-b14)
Java HotSpot(TM) 64-Bit Server VM (build 24.72-b04, mixed mode)

Uname:

Linux USERNAME 3.13.0-43-generic #72-Ubuntu SMP Mon Dec 8 19:35:06 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

Registro de erros (WORKSPACE / .metadata / .log):

!SESSION 2014-12-20 14:51:07.942 -----------------------------------------------
eclipse.buildId=4.4.1.M20140925-0400
java.version=1.7.0_72
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_CA
Framework arguments:  -product org.eclipse.epp.package.jee.product
Command-line arguments:  -data /home/mrlolethan/workspaces/Git Repos -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.jee.product

!ENTRY org.eclipse.m2e.logback.configuration 2 0 2014-12-20 14:51:12.984
!MESSAGE Exception while setting up logging:org.eclipse.osgi.internal.framework.EquinoxConfiguration cannot be cast to java.lang.String
!STACK 0
java.lang.ClassCastException: org.eclipse.osgi.internal.framework.EquinoxConfiguration 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(LogPlugin.java:107)
    at org.eclipse.m2e.logback.configuration.LogPlugin.run(LogPlugin.java:62)
    at java.util.TimerThread.mainLoop(Timer.java:555)
    at java.util.TimerThread.run(Timer.java:505)

!ENTRY de.fu_berlin.inf.dpp 2 0 2014-12-20 14:51:18.981
!MESSAGE unexpected method call (NullSarosSession.java:64)

!ENTRY de.fu_berlin.inf.dpp 2 0 2014-12-20 14:51:18.983
!MESSAGE unexpected method call (NullSarosSession.java:64)
!SESSION 2014-12-20 14:53:00.079 -----------------------------------------------
eclipse.buildId=4.4.1.M20140925-0400
java.version=1.7.0_72
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_CA
Framework arguments:  -product org.eclipse.epp.package.jee.product
Command-line arguments:  -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.jee.product

!ENTRY org.eclipse.core.resources 2 10035 2014-12-20 14:53:04.958
!MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.

!ENTRY org.eclipse.m2e.logback.configuration 2 0 2014-12-20 14:53:05.702
!MESSAGE Exception while setting up logging:org.eclipse.osgi.internal.framework.EquinoxConfiguration cannot be cast to java.lang.String
!STACK 0
java.lang.ClassCastException: org.eclipse.osgi.internal.framework.EquinoxConfiguration 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(LogPlugin.java:107)
    at org.eclipse.m2e.logback.configuration.LogPlugin.run(LogPlugin.java:62)
    at java.util.TimerThread.mainLoop(Timer.java:555)
    at java.util.TimerThread.run(Timer.java:505)

!ENTRY de.fu_berlin.inf.dpp 2 0 2014-12-20 14:53:11.484
!MESSAGE unexpected method call (NullSarosSession.java:64)

!ENTRY de.fu_berlin.inf.dpp 2 0 2014-12-20 14:53:11.487
!MESSAGE unexpected method call (NullSarosSession.java:64)
!SESSION 2014-12-20 14:56:32.205 -----------------------------------------------
eclipse.buildId=4.4.1.M20140925-0400
java.version=1.7.0_72
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_CA
Framework arguments:  -product org.eclipse.epp.package.jee.product
Command-line arguments:  -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.jee.product

!ENTRY org.eclipse.core.resources 2 10035 2014-12-20 14:56:37.097
!MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.

!ENTRY org.eclipse.m2e.logback.configuration 2 0 2014-12-20 14:56:37.866
!MESSAGE Exception while setting up logging:org.eclipse.osgi.internal.framework.EquinoxConfiguration cannot be cast to java.lang.String
!STACK 0
java.lang.ClassCastException: org.eclipse.osgi.internal.framework.EquinoxConfiguration 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(LogPlugin.java:107)
    at org.eclipse.m2e.logback.configuration.LogPlugin.run(LogPlugin.java:62)
    at java.util.TimerThread.mainLoop(Timer.java:555)
    at java.util.TimerThread.run(Timer.java:505)

!ENTRY de.fu_berlin.inf.dpp 2 0 2014-12-20 14:56:43.558
!MESSAGE unexpected method call (NullSarosSession.java:64)

!ENTRY de.fu_berlin.inf.dpp 2 0 2014-12-20 14:56:43.562
!MESSAGE unexpected method call (NullSarosSession.java:64)
!SESSION 2014-12-20 14:58:25.500 -----------------------------------------------
eclipse.buildId=4.4.1.M20140925-0400
java.version=1.7.0_72
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_CA
Framework arguments:  -product org.eclipse.epp.package.jee.product
Command-line arguments:  -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.jee.product -clean

!ENTRY org.eclipse.equinox.p2.publisher.eclipse 4 0 2014-12-20 14:58:51.835
!MESSAGE Unable to acquire PluginConverter service during generation for: /opt/eclipse/plugins/phxstudios.

!ENTRY org.eclipse.equinox.p2.publisher.eclipse 4 0 2014-12-20 14:58:52.445
!MESSAGE Unable to acquire PluginConverter service during generation for: /opt/eclipse/plugins/phxstudios.

!ENTRY org.eclipse.equinox.p2.publisher.eclipse 4 0 2014-12-20 14:58:52.671
!MESSAGE Unable to acquire PluginConverter service during generation for: /opt/eclipse/plugins/phxstudios.

!ENTRY org.eclipse.equinox.p2.publisher.eclipse 4 0 2014-12-20 14:58:52.822
!MESSAGE Unable to acquire PluginConverter service during generation for: /opt/eclipse/plugins/phxstudios.

!ENTRY org.eclipse.core.resources 2 10035 2014-12-20 14:58:54.738
!MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.

!ENTRY org.eclipse.m2e.logback.configuration 2 0 2014-12-20 14:58:55.198
!MESSAGE Exception while setting up logging:org.eclipse.osgi.internal.framework.EquinoxConfiguration cannot be cast to java.lang.String
!STACK 0
java.lang.ClassCastException: org.eclipse.osgi.internal.framework.EquinoxConfiguration 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(LogPlugin.java:107)
    at org.eclipse.m2e.logback.configuration.LogPlugin.run(LogPlugin.java:62)
    at java.util.TimerThread.mainLoop(Timer.java:555)
    at java.util.TimerThread.run(Timer.java:505)

!ENTRY de.fu_berlin.inf.dpp 2 0 2014-12-20 14:59:00.771
!MESSAGE unexpected method call (NullSarosSession.java:64)

!ENTRY de.fu_berlin.inf.dpp 2 0 2014-12-20 14:59:00.775
!MESSAGE unexpected method call (NullSarosSession.java:64)
    
por MrLolEthan 20.12.2014 / 21:25

1 resposta

1

Bug conhecido do Eclipse, a ser corrigido no Eclipse Luna SR2 (4.4.2), que de acordo com o link será lançado no final de fevereiro (em 1 mês a partir de hoje).

Observe a solução alternativa do link , também fornecido em link - adicione isso ao INI, funcionou para mim:

-Dosgi.configuration.area.default=null
-Dosgi.user.area.default=null
[email protected]
-Dosgi.instance.area.default=null
    
por vorburger 30.01.2015 / 16:51