Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
windows xp, openjpa_097_incubating
Description
@SqlResultSetMappings fails in mapping tool with java.lang.ArrayStoreException
7361 mdd INFO [main] openjpa.MetaData - Parsing class "com.ibm.ws.query.entities.annotated.DeptBean".
...
...
Exception in thread "main" java.lang.ArrayStoreException
at com.ibm.oti.reflect.AnnotationHelper.getReturnValueFromEntry(Native Method)
at com.ibm.oti.reflect.AnnotationHelper.access$000(AnnotationHelper.java:14)
at com.ibm.oti.reflect.AnnotationHelper$AnnotationInvocationHandler.invoke(AnnotationHelper.java:104)
at $Proxy12.value(Unknown Source)
at org.apache.openjpa.persistence.jdbc.AnnotationPersistenceMappingParser.parseClassMappingAnnotations(AnnotationPersistenceMappingParser.java:280)
at org.apache.openjpa.persistence.AnnotationPersistenceMetaDataParser.parseClassAnnotations(AnnotationPersistenceMetaDataParser.java:601)
at org.apache.openjpa.persistence.AnnotationPersistenceMetaDataParser.parse(AnnotationPersistenceMetaDataParser.java:344)
at org.apache.openjpa.persistence.PersistenceMetaDataFactory.load(PersistenceMetaDataFactory.java:211)
at org.apache.openjpa.meta.MetaDataRepository.getMetaDataInternal(MetaDataRepository.java:414)
at org.apache.openjpa.meta.MetaDataRepository.getMetaData(MetaDataRepository.java:272)
at org.apache.openjpa.meta.ValueMetaDataImpl.resolveDeclaredType(ValueMetaDataImpl.java:426)
at org.apache.openjpa.meta.ValueMetaDataImpl.resolve(ValueMetaDataImpl.java:405)
at org.apache.openjpa.jdbc.meta.ValueMappingImpl.resolve(ValueMappingImpl.java:467)
at org.apache.openjpa.meta.FieldMetaData.resolve(FieldMetaData.java:1574)
at org.apache.openjpa.jdbc.meta.FieldMapping.resolve(FieldMapping.java:397)
at org.apache.openjpa.meta.ClassMetaData.resolveMeta(ClassMetaData.java:1630)
at org.apache.openjpa.meta.ClassMetaData.resolve(ClassMetaData.java:1565)
at org.apache.openjpa.meta.MetaDataRepository.processBuffer(MetaDataRepository.java:656)
at org.apache.openjpa.meta.MetaDataRepository.resolveMeta(MetaDataRepository.java:556)
at org.apache.openjpa.meta.MetaDataRepository.resolve(MetaDataRepository.java:481)
at org.apache.openjpa.meta.MetaDataRepository.getMetaData(MetaDataRepository.java:285)
at org.apache.openjpa.jdbc.meta.MappingRepository.getMapping(MappingRepository.java:273)
at org.apache.openjpa.jdbc.meta.MappingTool.getMapping(MappingTool.java:660)
at org.apache.openjpa.jdbc.meta.MappingTool.buildSchema(MappingTool.java:732)
at org.apache.openjpa.jdbc.meta.MappingTool.run(MappingTool.java:630)
at org.apache.openjpa.jdbc.meta.MappingTool.run(MappingTool.java:1059)
at org.apache.openjpa.jdbc.meta.MappingTool.run(MappingTool.java:966)
at org.apache.openjpa.jdbc.meta.MappingTool.main(MappingTool.java:907)