[jira] Resolved: (JDO-476) Regression: Exception on
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache JDO Project > [jira] Resolved: (JDO-476) Regression: Exception on




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

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


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
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 ]



    Sponsored Links  




 





   All times are GMT. The time now is 05:58 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register