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: More info from schemaexport ant task
PostPosted: Tue Jul 13, 2004 11:00 am 
Beginner
Beginner

Joined: Tue Jun 29, 2004 3:44 pm
Posts: 43
Can anyone tell me (an absolute beginner) if there's a way to get a full error message from the SchemaExportTask in ant?

I'm implementing my first UserType and have gone wrong somewhere. When running the ant task I get a:
java.lang.ExceptionInInitializerError

I don't get any more information about what went wrong, and I'm much too new at this to understand what I may have done wrong. I do know that the task worked before I made this change and that it only throws the error when it encounters the hbm files that use the UserType.

I really appreciate anything anyone can tell me. I've copied the most likely line of bad hbm here if it helps. I'll happily post the entire mapping files and UserType and the class it translates if that will help, but it seems like a lot to bombard the forum with when I don't know if it would be relevent.

Code:
<property name="contactMethod" column="contact_method" type="com.louisianaweekly.partyKeeper.contactable.ContactMethodType"/>

Thanks again,
Scott


Top
 Profile  
 
 Post subject: problem solved, question stands
PostPosted: Tue Jul 13, 2004 1:12 pm 
Beginner
Beginner

Joined: Tue Jun 29, 2004 3:44 pm
Posts: 43
It turns out the Error stemmed from a change in the Enumeration class I was trying to translate. The UserType and mapping files were fine. I had my static attributes out of order, so the class wouldn't load at all.

Still, if anyone knows if it's possible to get a full stack trace from the ant task, I'd like to hear about it. It would have saved me a lot of time this morning.

Thanks again.


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.