-->
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: An exception occurred while running exporter #2:hbm2hbmxml
PostPosted: Fri Sep 19, 2008 4:14 pm 
Newbie

Joined: Mon Oct 24, 2005 6:44 am
Posts: 11
Hi

I am new to Hibernate Tool. I am trying to do reverse engineering with MySQL database at the backend. All connection seem to be working fine.

But when I run build_reveng.xml. I get following error.
[hibernatetool] An exception occurred while running exporter #2:hbm2hbmxml (Generates a set of hbm.xml files)

[hibernatetool] To get the full stack trace run ant with -verbose

[hibernatetool] java.lang.NullPointerException

BUILD FAILED
D:\Environment\workspace\property2009\build_reveng.xml:57: java.lang.NullPointerException


<!-- hibernate tool reverse engineering -->
line 57 <hibernatetool destdir="${sourcedir}" templatepath="${revengdir}/templates">
<classpath>
<path location="${classesdir}" />
<path location="${toolclassesdir}" />
</classpath>
<jdbcconfiguration propertyfile="${revengdir}/hibernate.properties" packagename="net.ics.property.domain.hibernate" revengfile="${revengdir}/hibernate.reveng.xml" reversestrategy="net.ics.property.tool.hibernate.OlasReverseEngineeringStrategy" detectmanytomany="false" detectoptimisticlock="true" />
<hbm2hbmxml />
<hbm2java jdk5="true" />
<hbm2cfgxml destdir="${sourcedir}" />
</hibernatetool>

I am lost here.
Please could some one help

many thank


Top
 Profile  
 
 Post subject:
PostPosted: Sun Sep 21, 2008 12:38 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
did you try and do what the stacktrace says ? what was the result ?

_________________
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.