-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: hbm2java java.lang.StackOverflowError
PostPosted: Thu Aug 06, 2009 4:29 am 
Newbie

Joined: Wed Aug 05, 2009 12:09 pm
Posts: 1
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

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?


Top
 Profile  
 
 Post subject: Re: hbm2java java.lang.StackOverflowError
PostPosted: Fri Aug 07, 2009 5:40 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
please put in jira with related stacktrace etc.

_________________
Max
Don't forget to rate


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.