Hibernate tool dies when "Code Generate"

I have the latest version of intellij and the lastet from your hibernate Tools plugin
I am running informix on solaris 8

I was able to generate hbm.xml from my tabel ( even though there was exception thrown during the reverse enginnering)

The problem show up when I am trying to genrate code from the hbm.xml files. intellij basically complains about not finding my "java" and then intellij frezes

I really don't know if it's something wrong in my configuration or maybe is has a relation to the exception thrown during reverse enginnering .... I don't know. can you please help

Thanks in advance


The log of intellij before it became frozen and die

java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:91)
at com.intellij.openapi.g.a.a.show(a.java:75)
at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:711)
at com.intellij.openapi.ui.Messages.showDialog(Messages.java:63)
at com.intellij.openapi.ui.Messages.showMessageDialog(Messages.java:89)
at com.mssra.hibernate.views.AbstractToolView$3.construct(AbstractToolView.java:139)
at com.mssra.hibernate.util.SwingWorker$2.run(SwingWorker.java:140)
at java.lang.Thread.run(Thread.java:534)
ERROR - ellij.openapi.ui.DialogWrapper - Assertion failed: Access is allowed from event dispatch thread only
ERROR - ellij.openapi.ui.DialogWrapper - IntelliJ IDEA 4.5.2 Build #2244
ERROR - ellij.openapi.ui.DialogWrapper - JDK: 1.4.2_06
ERROR - ellij.openapi.ui.DialogWrapper - VM: Java HotSpot(TM) Client VM
ERROR - ellij.openapi.ui.DialogWrapper - Vendor: Sun Microsystems Inc.
ERROR - ellij.openapi.ui.DialogWrapper - OS: SunOS
ERROR - ellij.openapi.ui.DialogWrapper - Last Action: hibernate.AddMappingToCodeGenerator
ERROR - ellij.openapi.ui.DialogWrapper - Assertion failed: Access is allowed from event dispatch thread only
java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:91)
at com.intellij.openapi.g.a.a.show(a.java:75)
at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:711)
at com.intellij.openapi.ui.Messages.showDialog(Messages.java:63)
at com.intellij.openapi.ui.Messages.showMessageDialog(Messages.java:89)
at com.mssra.hibernate.views.AbstractToolView$3.construct(AbstractToolView.java:139)
at com.mssra.hibernate.util.SwingWorker$2.run(SwingWorker.java:140)
at java.lang.Thread.run(Thread.java:534)
java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:91)
at com.intellij.openapi.d.a.d.a(d.java:69)
at com.intellij.openapi.g.a.a.show(a.java:104)
at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:711)
at com.intellij.openapi.ui.Messages.showDialog(Messages.java:63)
at com.intellij.openapi.ui.Messages.showMessageDialog(Messages.java:89)
at com.mssra.hibernate.views.AbstractToolView$3.construct(AbstractToolView.java:139)
at com.mssra.hibernate.util.SwingWorker$2.run(SwingWorker.java:140)
at java.lang.Thread.run(Thread.java:534)
ERROR - lication.impl.LaterInvocatorEx - Assertion failed: enterModal() should be invoked in event-dispatch thread
ERROR - lication.impl.LaterInvocatorEx - IntelliJ IDEA 4.5.2 Build #2244
ERROR - lication.impl.LaterInvocatorEx - JDK: 1.4.2_06
ERROR - lication.impl.LaterInvocatorEx - VM: Java HotSpot(TM) Client VM
ERROR - lication.impl.LaterInvocatorEx - Vendor: Sun Microsystems Inc.
ERROR - lication.impl.LaterInvocatorEx - OS: SunOS
ERROR - lication.impl.LaterInvocatorEx - Last Action: hibernate.AddMappingToCodeGenerator
ERROR - lication.impl.LaterInvocatorEx - Assertion failed: enterModal() should be invoked in event-dispatch thread
java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:91)
at com.intellij.openapi.d.a.d.a(d.java:69)
at com.intellij.openapi.g.a.a.show(a.java:104)
at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:711)
at com.intellij.openapi.ui.Messages.showDialog(Messages.java:63)
at com.intellij.openapi.ui.Messages.showMessageDialog(Messages.java:89)
at com.mssra.hibernate.views.AbstractToolView$3.construct(AbstractToolView.java:139)
at com.mssra.hibernate.util.SwingWorker$2.run(SwingWorker.java:140)
at java.lang.Thread.run(Thread.java:534)
java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:61)
at com.intellij.openapi.d.a.c.assertIsDispatchThread(c.java:23)
at com.intellij.util.EventDispatcher.b(EventDispatcher.java:8)
at com.intellij.util.EventDispatcher.a(EventDispatcher.java:4)
at com.intellij.util.EventDispatcher.access$100(EventDispatcher.java:32)
at com.intellij.util.EventDispatcher$1.invoke(EventDispatcher.java:3)
at $Proxy23.beforeModalityStateChanged(Unknown Source)
at com.intellij.openapi.d.a.d.a(d.java:97)
at com.intellij.openapi.g.a.a.show(a.java:104)
at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:711)
at com.intellij.openapi.ui.Messages.showDialog(Messages.java:63)
at com.intellij.openapi.ui.Messages.showMessageDialog(Messages.java:89)
at com.mssra.hibernate.views.AbstractToolView$3.construct(AbstractToolView.java:139)
at com.mssra.hibernate.util.SwingWorker$2.run(SwingWorker.java:140)
at java.lang.Thread.run(Thread.java:534)
ERROR - plication.impl.ApplicationImpl - Access is allowed from event dispatch thread only. Current thread=Thread[Thread-1,6,Idea Thread Group], ourDispatch=Thread[AWT-EventQueue-1,6,Idea Thread Group]
ERROR - plication.impl.ApplicationImpl - IntelliJ IDEA 4.5.2 Build #2244
ERROR - plication.impl.ApplicationImpl - JDK: 1.4.2_06
ERROR - plication.impl.ApplicationImpl - VM: Java HotSpot(TM) Client VM
ERROR - plication.impl.ApplicationImpl - Vendor: Sun Microsystems Inc.
ERROR - plication.impl.ApplicationImpl - OS: SunOS
ERROR - plication.impl.ApplicationImpl - Last Action: hibernate.AddMappingToCodeGenerator
ERROR - plication.impl.ApplicationImpl - Access is allowed from event dispatch thread only. Current thread=Thread[Thread-1,6,Idea Thread Group], ourDispatch=Thread[AWT-EventQueue-1,6,Idea Thread Group]
java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:61)
at com.intellij.openapi.d.a.c.assertIsDispatchThread(c.java:23)
at com.intellij.util.EventDispatcher.b(EventDispatcher.java:8)
at com.intellij.util.EventDispatcher.a(EventDispatcher.java:4)
at com.intellij.util.EventDispatcher.access$100(EventDispatcher.java:32)
at com.intellij.util.EventDispatcher$1.invoke(EventDispatcher.java:3)
at $Proxy23.beforeModalityStateChanged(Unknown Source)
at com.intellij.openapi.d.a.d.a(d.java:97)
at com.intellij.openapi.g.a.a.show(a.java:104)
at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:711)
at com.intellij.openapi.ui.Messages.showDialog(Messages.java:63)
at com.intellij.openapi.ui.Messages.showMessageDialog(Messages.java:89)
at com.mssra.hibernate.views.AbstractToolView$3.construct(AbstractToolView.java:139)
at com.mssra.hibernate.util.SwingWorker$2.run(SwingWorker.java:140)
at java.lang.Thread.run(Thread.java:534)

2 comments

Anybody? Same here.... exact same problem...

John

0

I get similar errors for every functional part of the plugin. Anytime I try to use any part of the plugin IntelliJ freezes.

I'm running on Fedora Core 2.

I saw some discussion on getting the plugin ported to ver 4, but I thought that it had been done, or is this the issue?

0

Please sign in to leave a comment.