[JBoss JIRA] Created: (JBIDE-4194) NPE with Hibernate Tools
by Murat HAZER (JIRA)
NPE with Hibernate Tools
------------------------
Key: JBIDE-4194
URL: https://jira.jboss.org/jira/browse/JBIDE-4194
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Hibernate
Affects Versions: 3.0.0.GA
Environment: Eclipse Platform, Version: 3.4.2, Build id: M20090211-1700
JBoss Tools RichFaces for Eclipse, Version: 3.0.0.GA-R200903141626-H5
Reporter: Murat HAZER
if you create hibernate-cfg.xml with annotations driven mapping classes hibernate tools gives following error;
!ENTRY org.hibernate.eclipse.console 4 2 2009-04-16 16:14:58.008
!MESSAGE java.lang.NullPointerException
!SUBENTRY 1 org.hibernate.eclipse.console 4 150 2009-04-16 16:14:58.008
!MESSAGE <No message>
!STACK 0
java.lang.NullPointerException
at org.hibernate.cfg.annotations.CollectionBinder.buildOrderByClauseFromHql(CollectionBinder.java:851)
at org.hibernate.cfg.annotations.CollectionBinder.bindOneToManySecondPass(CollectionBinder.java:608)
at org.hibernate.cfg.annotations.CollectionBinder.bindStarToManySecondPass(CollectionBinder.java:563)
at org.hibernate.cfg.annotations.CollectionBinder$1.secondPass(CollectionBinder.java:517)
at org.hibernate.cfg.CollectionSecondPass.doSecondPass(CollectionSecondPass.java:43)
at org.hibernate.cfg.Configuration.secondPassCompile(Configuration.java:1130)
at org.hibernate.cfg.AnnotationConfiguration.secondPassCompile(AnnotationConfiguration.java:316)
at org.hibernate.cfg.Configuration.buildMappings(Configuration.java:1115)
at org.hibernate.eclipse.console.workbench.ConsoleConfigurationWorkbenchAdapter$1.execute(ConsoleConfigurationWorkbenchAdapter.java:45)
at org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:64)
at org.hibernate.console.ConsoleConfiguration.execute(ConsoleConfiguration.java:94)
at org.hibernate.eclipse.console.workbench.ConsoleConfigurationWorkbenchAdapter.getChildren(ConsoleConfigurationWorkbenchAdapter.java:41)
at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.getChildren(BasicWorkbenchAdapter.java:99)
at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.fetchDeferredChildren(BasicWorkbenchAdapter.java:105)
at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:234)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
solution: upgrade hibernate-annotations.jar to 3.3.1.GA and hibernate-entitymanager.jar to 3.3.2.GA
--
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
16 years, 2 months
[JBoss JIRA] Created: (JBDS-701) (JBPAPP-1887) WSPROVIDE.bat does not put jaxb-xjc.jar in the classpath
by Stelios Koussouris (JIRA)
(JBPAPP-1887) WSPROVIDE.bat does not put jaxb-xjc.jar in the classpath
----------------------------------------------------------------------
Key: JBDS-701
URL: https://jira.jboss.org/jira/browse/JBDS-701
Project: Developer Studio
Issue Type: Bug
Affects Versions: 2.0.0.GA
Reporter: Stelios Koussouris
While trying to use the Web Service Wizard to create a 'Bottup up Java bean Web Service' I get the following error "The system cannot find the path specified."
and additionally
"Error: Could not generate. (use --show-traces to see full traces)
Error: com/sun/codemodel/JExpression"
more stack traces by adding --show-traces to the wsprovide.bat and trying to create the web service again
eg. "%JAVA%" %JAVA_OPTS% -Djava.endorsed.dirs="%JBOSS_ENDORSED_DIRS%" -Dlog4j.configuration=wstools-log4j.xml -classpath "%WSPROVIDE_CLASSPATH%" org.jboss.wsf.spi.tools.cmd.WSProvide --show-traces %*
--
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
16 years, 2 months