[jbosstools-issues] [JBoss JIRA] (JBIDE-18878) Eclipse livelock(?) at startup with hibernate builder in stacktrace

Snjezana Peco (JIRA) issues at jboss.org
Tue Dec 9 11:48:39 EST 2014


    [ https://issues.jboss.org/browse/JBIDE-18878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13026378#comment-13026378 ] 

Snjezana Peco commented on JBIDE-18878:
---------------------------------------

I have faced the issue many times before. In my opinion, it isn't related either to hibernate or to Equinox.
The issue is related to initializing the WorkbenchThemeManager class because it uses Display.syncExec.
When starting, the org.eclipse.ui.editors plugin requires the WorkbenchThemeManager class, which sometimes causes Eclipse to lock.
I haven't found a reproducible case, but when the issue happens, I have to remove the workspace.

In this case (based on https://issues.jboss.org/secure/attachment/12386721/12386721_jstack-output.txt) the org.eclipse.ui.editors and org.eclipse.ui.navigator lock to each other.
We would, probably, have to create a new upstream issue.

> Eclipse livelock(?) at startup with hibernate builder in stacktrace
> -------------------------------------------------------------------
>
>                 Key: JBIDE-18878
>                 URL: https://issues.jboss.org/browse/JBIDE-18878
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: hibernate
>    Affects Versions: 4.2.0.Final
>         Environment: Fedora 20, Java 7, 64bit
>            Reporter: Denis Golovin
>            Assignee: Koen Aers
>             Fix For: 4.2.2.Final
>
>         Attachments: jstack-output.txt
>
>
> See attached [^jstack-output.txt]
> Console out is:
> {code}sh ./jbt420final.sh 
> Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
> 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: /home/eskimo/workspace/420cr2-test1/.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)
> Dec 05, 2014 3:41:58 PM org.hibernate.eclipse.HibernatePlugin start
> INFO: HibernatePlugin Started{code}



--
This message was sent by Atlassian JIRA
(v6.3.8#6338)


More information about the jbosstools-issues mailing list