Apache JDO Project - [jira] Resolved: (JDO-476) Regression: Exception on

This is Interesting: Free IT Magazines  
Home > Archive > Apache JDO Project > April 2007 > [jira] Resolved: (JDO-476) Regression: Exception on





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author [jira] Resolved: (JDO-476) Regression: Exception on
Andy Jefferson (JIRA)

2007-04-17, 7:11 am


[ 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 assignable 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 following exception is thrown. ( Note also the typo in the error message: "PersistenceCapbl

e".)
> ...
> [java] Caused by: javax.jdo.JDOException: A new instance of "org.apache.jdo.tck.pc.company.IAddressImpl" was created, but it is not assignable to PersistenceCapble. Perhaps a classloading problem. "" The instance implements "[org.apache.jdo.tck.pc.c

ompany.IAddress]"
> [java] at org.jpox.enhancer.ImplementationCreatorImpl.newInstance(ImplementationCreatorImpl.java:107)
> [java] at org.jpox.enhancer.ImplementationCreatorImpl.newInstance(ImplementationCreatorImpl.java:133)
> [java] at org.jpox.ObjectManagerImpl.newInstance(ObjectManagerImpl.java:2999)
> [java] at org.jpox.AbstractPersistenceManager.newInstance(AbstractPersistenceManager.java:1411)
> [java] at org.apache.jdo.tck.pc.company.CompanyFactoryPMInterface.newAddress(CompanyFactoryPMInterface.java:46)
> [java] at org.apache.jdo.tck.pc.company.CompanyFactoryAbstractImpl.newAddress(CompanyFactoryAbstractImpl.java:57)
> [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> ...


--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com