04-17-07 12:11 PM
[ https://issues.apache.org/jira/brow...ls:all-tabpanel ]
Andy Jefferson resolved JDO-476.
--------------------------------
Resolution: Fixed
Assignee: Andy Jefferson (was: Erik Bengtson)
Fixed in JPOX CVS HEAD
> Regression: Exception on pm.newInstance(Interface): Instance is not assign
able to PersistenceCapable
> --------------------------------------------------------------------------
--------------------------
>
> Key: JDO-476
> URL: https://issues.apache.org/jira/browse/JDO-476
> Project: JDO
> Issue Type: Bug
> Components: tck2
> Reporter: Michelle Caisse
> Assigned To: Andy Jefferson
> Fix For: JDO 2 maintenance release 1
>
>
> This is a regression in the JPOX SNAPSHOT. JPOX version 1.1.7 works. On running,
for example, maven -Djdo.tck.cfglist=companyPMInterface.conf runtck.jdori, the foll
owing exception is thrown. ( Note also the typo in the error message: "PersistenceCa
pbl
e".)
> ...
> [java] Caused by: javax.jdo.JDOException: A new instance of "org.apache.jd
o.tck.pc.company.IAddressImpl" was created, but it is not assignable to PersistenceC
apble. Perhaps a classloading problem. "" The instance implements "[org.apache.j
do.tck.pc.c
ompany.IAddress]"
> [java] at org.jpox.enhancer.ImplementationCreatorImpl.newInst
ance(ImplementationCreatorImpl.java:107)
> [java] at org.jpox.enhancer.ImplementationCreatorImpl.newInst
ance(ImplementationCreatorImpl.java:133)
> [java] at org.jpox.ObjectManagerImpl.newInstance(ObjectManage
rImpl.java:2999)
> [java] at org.jpox.AbstractPersistenceManager.newInstance(Abs
tractPersistenceManager.java:1411)
> [java] at org.apache.jdo.tck.pc.company.CompanyFactoryPMInter
face.newAddress(CompanyFactoryPMInterface.java:46)
> [java] at org.apache.jdo.tck.pc.company.CompanyFactoryAbstrac
tImpl.newAddress(CompanyFactoryAbstractImpl.java:57)
> [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
> [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeM
ethodAccessorImpl.java:39)
> [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Del
egatingMethodAccessorImpl.java:25)
> ...
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[ Post a follow-up to this message ]
|