[hibernate-issues] [Hibernate-JIRA] Commented: (HBX-1133) java.lang.StackOverflowError when I try to use hibernate-tools-3.2.0.beta9a.jar with slf4j jars

Max Rydahl Andersen (JIRA) noreply at atlassian.com
Wed Aug 19 04:25:15 EDT 2009


    [ http://opensource.atlassian.com/projects/hibernate/browse/HBX-1133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=33810#action_33810 ] 

Max Rydahl Andersen commented on HBX-1133:
------------------------------------------

i.e. stacktrace ?

>  java.lang.StackOverflowError when I try to use hibernate-tools-3.2.0.beta9a.jar with slf4j jars
> ------------------------------------------------------------------------------------------------
>
>                 Key: HBX-1133
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-1133
>             Project: Hibernate Tools
>          Issue Type: Bug
>          Components: hbm2java
>    Affects Versions: 3.2.0.GA
>            Reporter: Ashish Zokarkar
>
> Hello,
> I am using hbm2java ant task for creation of java classes from hbm.xml files. I am using
> hibernate-tools-3.2.0.beta9a.jar
> hibernate3.jar
> jcl-over-slf4j-1.5.8.jar
> slf4j-api-1.5.8.jar
> slf4j-jcl-1.5.8.jar
> When I run this task, I get StackoverflowError. But when i try same ant script with 
> hibernate-3.1.3.jar
> hibernatetools-3.1.0-b4.jar
> it executed properly. But with hibernate-tools-3.2.0.beta9a & slf4j related jars I got StackOverflowExcpetion.
> Ant script is as below:
> <project default="hbm2java">
> <property name="build.dir" location="." />
> <property name="lib.dir" location="lib" />
> <property name="conf.dir" location="conf" />
> <path id="cp">
> <fileset dir="${lib.dir}">
> <include name="**/*.jar"/>
> </fileset>
> </path>
> <target name="hbm2java">
> <taskdef name="hibernatetool"
> classname="org.hibernate.tool.ant.HibernateToolTask"
> classpathref="cp"/>
> <hibernatetool destdir="${build.dir}" classpath="${conf.dir}">
> <configuration configurationfile="${conf.dir}/hibernate.cfg.xml"/>
> <hbm2java jdk5="true" ejb3="false"/>
> </hibernatetool>
> </target>
> </project>
> Please suggest me how to run this command with new build. Is it a bug in this build?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list