-->
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: IllegalArgumentException occurred while calling setter of ..
PostPosted: Fri Jul 29, 2005 10:57 am 
Newbie

Joined: Fri Jul 22, 2005 10:14 am
Posts: 5
Hello

I've written a UserType to map a column which may be NULL. When I'm running my JUnit tests with an direct access to Hibernate all went well. But
when I'm trying to get the same object over a Session EJB using Spring I will get an org.hibernate.PropertyAccessException: IllegalArgumentException occurred while calling setter of ... if the field value is NULL. I' using property access strategy.

What's the reason why?

Thank's
atsch


Top
 Profile  
 
 Post subject: I've solved it
PostPosted: Wed Aug 03, 2005 4:15 am 
Newbie

Joined: Fri Jul 22, 2005 10:14 am
Posts: 5
Hello

I had cglib-nodep-2.1_2.jar (included in the Spring package) and cglib-2.1.jar (comming with Hibernate) in my classpath of my AS server.

I removed cglib-nodep-2.1_2.jar and the problem was gone.

I don't know why but it solved my problem!?

Ciao
atsch


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.