[jira] Created: (JDO-487) Pm.newInstance() fails when the parameter
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] Created: (JDO-487) Pm.newInstance() fails when the parameter




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

    [jira] Created: (JDO-487) Pm.newInstance() fails when the parameter  
Michelle Caisse (JIRA)


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


 
05-05-07 12:11 AM

Pm.newInstance() fails when the parameter is an abstract class
--------------------------------------------------------------

Key: JDO-487
URL: https://issues.apache.org/jira/browse/JDO-487
Project: JDO
Issue Type: Bug
Components: tck2
Affects Versions: JDO 2 maintenance release 1
Environment: jpox SNAPSHOT
Reporter: Michelle Caisse
Assigned To: Andy Jefferson


org.apache.jdo.tck.api.persistencemanager.NewInstance fails attempting to in
stantiate an abstract class.  This test is just a stub of a future test (see
 JDO-453).  To reproduce, run
maven -Djdo.tck.cfglist=pm.conf runtck.jdori

[java] 1) testNewInstance(org.apache.jdo.tck.api.persistencemanager.NewI
nstance)javax.jdo.JDOUserException: java.lang.InstantiationException
[java]      at org.jpox.enhancer.ImplementationCreatorImpl.newInstance(I
mplementationCreatorImpl.java:153)
[java]      at org.jpox.ObjectManagerImpl.newInstance(ObjectManagerImpl.
java:3073)
[java]      at org.jpox.AbstractPersistenceManager.newInstance(AbstractP
ersistenceManager.java:1413)
[java]      at org.apache.jdo.tck.api.persistencemanager.NewInstance.run
 TestNewInstanceAbstractClass(NewInstance
.java:91)
[java]      at org.apache.jdo.tck.api.persistencemanager.NewInstance.tes
tNewInstance(NewInstance.java:65)
[java]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Metho
d)
[java]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodA
ccessorImpl.java:39)
[java]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Delegatin
gMethodAccessorImpl.java:25)
[java]      at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:254)
[java]      at org.apache.jdo.tck.util.BatchTestRunner.doRun(BatchTestRu
nner.java:108)
[java]      at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRu
nner.java:148)
[java]      at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRun
ner.java:123)
[java] NestedThrowablesStackTrace:
[java] java.lang.InstantiationException
[java]      at sun.reflect. InstantiationExceptionConstructorAccesso
rImpl
. newInstance(InstantiationExceptionConstr
uctorAccessorImpl.java:30)
[java]      at java.lang.reflect.Constructor.newInstance(Constructor.jav
a:494)
[java]      at java.lang.Class.newInstance0(Class.java:350)
[java]      at java.lang.Class.newInstance(Class.java:303)
[java]      at org.jpox.enhancer.ImplementationCreatorImpl.newInstance(I
mplementationCreatorImpl.java:123)
[java]      at org.jpox.ObjectManagerImpl.newInstance(ObjectManagerImpl.
java:3073)
[java]      at org.jpox.AbstractPersistenceManager.newInstance(AbstractP
ersistenceManager.java:1413)
[java]      at org.apache.jdo.tck.api.persistencemanager.NewInstance.run
 TestNewInstanceAbstractClass(NewInstance
.java:91)
[java]      at org.apache.jdo.tck.api.persistencemanager.NewInstance.tes
tNewInstance(NewInstance.java:65)
[java]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Metho
d)
[java]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodA
ccessorImpl.java:39)
[java]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Delegatin
gMethodAccessorImpl.java:25)
[java]      at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:254)
[java]      at org.apache.jdo.tck.util.BatchTestRunner.doRun(BatchTestRu
nner.java:108)
[java]      at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRu
nner.java:148)
[java]      at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRun
ner.java:123)


--
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 07:05 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