[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-4870?page=c...
]
Marcial Atienzar commented on HHH-4870:
---------------------------------------
Stack from error:
Caused by: java.lang.IllegalArgumentException: Cannot determine java-type from given
member [null]
at
org.hibernate.ejb.metamodel.AttributeFactory$BaseAttributeMetadata.<init>(AttributeFactory.java:597)
at
org.hibernate.ejb.metamodel.AttributeFactory$SingularAttributeMetadataImpl.<init>(AttributeFactory.java:677)
at
org.hibernate.ejb.metamodel.AttributeFactory$SingularAttributeMetadataImpl.<init>(AttributeFactory.java:667)
at
org.hibernate.ejb.metamodel.AttributeFactory.determineAttributeMetadata(AttributeFactory.java:539)
at org.hibernate.ejb.metamodel.AttributeFactory.buildAttribute(AttributeFactory.java:84)
at org.hibernate.ejb.metamodel.MetadataContext.wrapUp(MetadataContext.java:179)
at org.hibernate.ejb.metamodel.MetamodelImpl.buildMetamodel(MetamodelImpl.java:66)
at
org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:79)
at
org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:850)
at
org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:73)
at
org.glassfish.persistence.jpa.PersistenceUnitLoader.loadPU(PersistenceUnitLoader.java:181)
at
org.glassfish.persistence.jpa.PersistenceUnitLoader.<init>(PersistenceUnitLoader.java:96)
at org.glassfish.persistence.jpa.JPADeployer.prepare(JPADeployer.java:121)
at
com.sun.enterprise.v3.server.ApplicationLifecycle.prepareModule(ApplicationLifecycle.java:644)
at org.glassfish.javaee.full.deployment.EarDeployer.prepareBundle(EarDeployer.java:269)
at org.glassfish.javaee.full.deployment.EarDeployer.access$200(EarDeployer.java:79)
at org.glassfish.javaee.full.deployment.EarDeployer$1.doBundle(EarDeployer.java:131)
at org.glassfish.javaee.full.deployment.EarDeployer$1.doBundle(EarDeployer.java:129)
at org.glassfish.javaee.full.deployment.EarDeployer.doOnBundles(EarDeployer.java:197)
at
org.glassfish.javaee.full.deployment.EarDeployer.doOnAllTypedBundles(EarDeployer.java:206)
at org.glassfish.javaee.full.deployment.EarDeployer.doOnAllBundles(EarDeployer.java:235)
at org.glassfish.javaee.full.deployment.EarDeployer.prepare(EarDeployer.java:129)
... 29 more
Cannot determine java-type from given member [null]
---------------------------------------------------
Key: HHH-4870
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-4870
Project: Hibernate Core
Issue Type: Bug
Components: entity-manager
Affects Versions: 3.5.0-Beta-4
Environment: jdk 6u18
glassfishv3
Reporter: Marcial Atienzar
Attachments: eclipse.debug, Empre.java, Prcontra.java
I've tested to migrate from hibernate 3.3.2 to 3.5.0 Beta4.
I've remove all hibernate*.jar from classpath and add only de hibernate3.jar
I've downloaded the source off hibernate-entitymanager to debug from eclipse.
I've reached the class that has the error, but I don't know what can I do to
resolve it.
I'm doing something wrong?
I attatch the sources of the classes that takes part on eclipse debug.
I don't know how to attach a testcase. The project has more than 200 entities.
I've post previously in hibernate forums:
https://forum.hibernate.org/viewtopic.php?f=1&t=1002363&p=2424419...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira