Idea 8 HQL console - failing without IDE feedback

I am supposed to see any output on the HQL console? Where? I have it configured, when I run the query all I see one more comment appearing with the query text and then nothing.

I see this in the Idea log:

2008-11-11 15:03:47,397 ERROR - .xml.impl.DomInvocationHandler - Assertion failed: interface com.intellij.hibernate.model.xml.config.SessionFactory @-2141841102
class=class com.intellij.util.xml.impl.IndexedElementInvocationHandler
xml=XmlTag:session-factory
java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:89)
at com.intellij.util.xml.impl.DomInvocationHandler.checkIsValid(DomInvocationHandler.java:254)
at com.intellij.util.xml.impl.DomInvocationHandler.getCollectionChildren(DomInvocationHandler.java:248)
at com.intellij.util.xml.impl.GetCollectionChildInvocation.invoke(GetCollectionChildInvocation.java:3)
at com.intellij.util.xml.impl.DomInvocationHandler.a(DomInvocationHandler.java:279)
at com.intellij.util.xml.impl.DomInvocationHandler.invoke(DomInvocationHandler.java:169)
at com.intellij.hibernate.model.xml.impl.config.SessionFactoryImpl$$EnhancerByCGLIB$$836c9bbc.getMappings(]]>)
at com.intellij.hibernate.model.xml.impl.config.SessionFactoryImpl.getPackages(SessionFactoryImpl.java:47)
at com.intellij.hibernate.engine.HibernateEngine.createTemporaryHibernateConfig(HibernateEngine.java:267)
at com.intellij.hibernate.engine.HibernateEngine.access$700(HibernateEngine.java:66)
at com.intellij.hibernate.engine.HibernateEngine$2.compute(HibernateEngine.java:234)
at com.intellij.hibernate.engine.HibernateEngine$2.compute(HibernateEngine.java:226)
at com.intellij.openapi.application.impl.ApplicationImpl$11.run(ApplicationImpl.java:3)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:339)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:139)
at com.intellij.hibernate.engine.HibernateEngine.getHibernateConfigAndFactoryClass(HibernateEngine.java:226)
at com.intellij.hibernate.engine.HibernateEngine.ensureState(HibernateEngine.java:212)
at com.intellij.hibernate.engine.HibernateEngine.executeHqlQuery(HibernateEngine.java:176)
at com.intellij.hibernate.engine.HibernateConsole.executeQuery(HibernateConsole.java:158)
at com.intellij.hibernate.engine.HibernateConsole$4$1.run(HibernateConsole.java:201)
at com.intellij.persistence.run.AbstractQueryLanguageConsole$2.run(AbstractQueryLanguageConsole.java:117)
at com.intellij.util.Alarm$Request$1.run(Alarm.java:213)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)

This is probably a bug because I don't get any feedback in the IDE. Anyone knows the root cause for this to fix?

2 comments
Comment actions Permalink

Hello Michael,

I am supposed to see any output on the HQL console? Where? I have it
configured, when I run the query all I see one more comment appearing
with the query text and then nothing. Missing something?


Please press "Restore Layout" button in the left toolbar of the console toolwindow.

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

sure did, I always push all the buttons available when something does not work. This just changes orientation of the toolbar and that's it. Guess unless someone cares to look at the stacktrace vs the source to determine root cause and the fix...

0

Please sign in to leave a comment.