-->
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: exception migrating accessors from 3.2.6 GA to 3.5.0 Final
PostPosted: Fri Apr 09, 2010 11:52 am 
Beginner
Beginner

Joined: Sat Jan 05, 2008 7:33 am
Posts: 26
I had written some code for a specific type accessor (java URI) that worked very well with Hibernate 3.2.6 GA
(has been running for more than 1.5 years now)

Trying to migrate to 3.5.0 Final, I first found out that I needed to implement one more method in my accessor code

public Member getMember() {
return this.method;
}

but after this running the code I run into the following exception and stacktrace:

09 Apr 2010 17:14:20,620 ERROR [main] (BuildImageEnv.java:BuildImageEnv:94) - Error java.lang.IllegalArgumentException: Cannot determine java-type from given member [null]
java.lang.IllegalArgumentException: Cannot determine java-type from given member [null]
at org.hibernate.ejb.metamodel.AttributeFactory$BaseAttributeMetadata.<init>(AttributeFactory.java:608)
at org.hibernate.ejb.metamodel.AttributeFactory$SingularAttributeMetadataImpl.<init>(AttributeFactory.java:688)
at org.hibernate.ejb.metamodel.AttributeFactory$SingularAttributeMetadataImpl.<init>(AttributeFactory.java:678)
at org.hibernate.ejb.metamodel.AttributeFactory.determineAttributeMetadata(AttributeFactory.java:550)
at org.hibernate.ejb.metamodel.AttributeFactory.buildAttribute(AttributeFactory.java:93)
at org.hibernate.ejb.metamodel.MetadataContext.wrapUp(MetadataContext.java:183)
at org.hibernate.ejb.metamodel.MetamodelImpl.buildMetamodel(MetamodelImpl.java:66)
at org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:83)
at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:883)
at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:56)
at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:48)
...

any clues about why this could happen


Top
 Profile  
 
 Post subject: Re: exception migrating accessors from 3.2.6 GA to 3.5.0 Final
PostPosted: Sat Apr 10, 2010 4:55 am 
Newbie

Joined: Fri Apr 09, 2010 5:32 pm
Posts: 7
nobody answer here , don't waste your time !!!!!!!!!


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.