[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-5889) NPE in session factory - when expand dvdstore-ejb & jboss-seam-booking Hibernate Console Config simultaneously
Vitali Yemialyanchyk (JIRA)
jira-events at lists.jboss.org
Fri Feb 19 13:14:10 EST 2010
[ https://jira.jboss.org/jira/browse/JBIDE-5889?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vitali Yemialyanchyk updated JBIDE-5889:
----------------------------------------
Description:
1) import both projects and open 2 console configs in one moment
2) try to expand dvdstore-ejb & jboss-seam-booking simultaneously - then open Session factory for jboss-seam-booking - get exception:
java.lang.NullPointerException
at org.hibernate.console.ConsoleConfiguration.execute(ConsoleConfiguration.java:98)
at org.hibernate.console.ConsoleConfiguration.buildSessionFactory(ConsoleConfiguration.java:549)
at org.hibernate.eclipse.console.workbench.LazySessionFactoryAdapter.getChildren(LazySessionFactoryAdapter.java:43)
at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.getChildren(BasicWorkbenchAdapter.java:100)
at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.fetchDeferredChildren(BasicWorkbenchAdapter.java:106)
at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:234)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
then I rebuild jboss-seam-booking console cinfiguration - and open Session factory is success.
was:
I try to expand dvdstore-ejb & jboss-seam-booking simultaneously - then open Session factory for jboss-seam-booking - get exception:
java.lang.NullPointerException
at org.hibernate.console.ConsoleConfiguration.execute(ConsoleConfiguration.java:98)
at org.hibernate.console.ConsoleConfiguration.buildSessionFactory(ConsoleConfiguration.java:549)
at org.hibernate.eclipse.console.workbench.LazySessionFactoryAdapter.getChildren(LazySessionFactoryAdapter.java:43)
at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.getChildren(BasicWorkbenchAdapter.java:100)
at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.fetchDeferredChildren(BasicWorkbenchAdapter.java:106)
at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:234)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
then I rebuild jboss-seam-booking console cinfiguration - and open Session factory is success.
> NPE in session factory - when expand dvdstore-ejb & jboss-seam-booking Hibernate Console Config simultaneously
> ---------------------------------------------------------------------------------------------------------------
>
> Key: JBIDE-5889
> URL: https://jira.jboss.org/jira/browse/JBIDE-5889
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: Hibernate
> Affects Versions: 3.1.0.CR2
> Reporter: Vitali Yemialyanchyk
> Assignee: Vitali Yemialyanchyk
> Priority: Minor
> Fix For: 3.1.1
>
>
> 1) import both projects and open 2 console configs in one moment
> 2) try to expand dvdstore-ejb & jboss-seam-booking simultaneously - then open Session factory for jboss-seam-booking - get exception:
> java.lang.NullPointerException
> at org.hibernate.console.ConsoleConfiguration.execute(ConsoleConfiguration.java:98)
> at org.hibernate.console.ConsoleConfiguration.buildSessionFactory(ConsoleConfiguration.java:549)
> at org.hibernate.eclipse.console.workbench.LazySessionFactoryAdapter.getChildren(LazySessionFactoryAdapter.java:43)
> at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.getChildren(BasicWorkbenchAdapter.java:100)
> at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.fetchDeferredChildren(BasicWorkbenchAdapter.java:106)
> at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:234)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
> then I rebuild jboss-seam-booking console cinfiguration - and open Session factory is success.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list