[jira] Assigned: (JDO-509) Enhancement failure on persistent
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] Assigned: (JDO-509) Enhancement failure on persistent




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

    [jira] Assigned: (JDO-509) Enhancement failure on persistent  
Andy Jefferson (JIRA)


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


 
07-29-07 12:11 PM


[ https://issues.apache.org/jira/brow...ls:all-tabpanel ]

Andy Jefferson reassigned JDO-509:
----------------------------------

Assignee: Michelle Caisse  (was: Andy Jefferson)

Latest JPOX CVS HEAD passes "companyPMInterface" (this test but using XML) w
ith the new structure. The only problem is that that test doesn't seem to cl
ean out its data after running.

> Enhancement failure on persistent interface that extends non-persistent in
terface
> --------------------------------------------------------------------------
-------
>
>                 Key: JDO-509
>                 URL: https://issues.apache.org/jira/browse/JDO-509
>             Project: JDO
>          Issue Type: Bug
>          Components: tck2
>            Reporter: Michelle Caisse
>            Assignee: Michelle Caisse
>             Fix For: JDO 2 maintenance release 1
>
>         Attachments: company_ds_jdo.patch
>
>
> Imagine that the existing interface company.ICompany is not persistent and there i
s a new interface company.PICompany that extends ICompany. Existing xml metadata is 
modified to refer to PICompany rather than ICompany. On enhancement, we get the erro
r b
elow.  Craig suggests that using the reflective "getDeclaredMethod" instead of the reflectiv
e  "getMethod" could give this error. These are changes that we would like to check in for t
he 2.1 maintenance release.[vbcol=seagreen]
>    [java] An error was encountered reading the specified input files. 
Please consult the log for details. The following may help : Class org.apach
e.jdo.tck.pc.
> company.IPCompany has property null.companyid declared in MetaData, but th
is method doesnt exist in the class!
>    [java] Exception in thread "main" Class org.apache.jdo.tck.pc.compa
ny.IPCompany has property null.companyid declared in MetaData, but this meth
od doesnt exist in the class!
>    [java] org.jpox.metadata.InvalidMetaDataException: Class org.apache
.jdo.tck.pc.company.IPCompany has property null.companyid declared in MetaDa
ta, but this method doesnt exist in the class!
>    [java]      at org.jpox.metadata.InterfaceMetaData.populateProperty
MetaData(InterfaceMetaData.java:538)
>    [java]      at org.jpox.metadata.InterfaceMetaData.populate(Interfa
ceMetaData.java:436)
>    [java]      at org.jpox.metadata.MetaDataManager.populateFileMetaDa
ta(MetaDataManager.java:1590)
>    [java]      at org.jpox.metadata.JDOMetaDataManager.loadMetaDataFor
Class(JDOMetaDataManager.java:615)
>    [java]      at org.jpox.metadata.JDOMetaDataManager.getMetaDataForC
lassInternal(JDOMetaDataManager.java:308)
>    [java]      at org.jpox.metadata.AbstractClassMetaData.determineSup
erClassName(AbstractClassMetaData.java:618)
>    [java]      at org.jpox.metadata.InterfaceMetaData.populate(Interfa
ceMetaData.java:421)
>    [java]      at org.jpox.metadata.MetaDataManager.populateFileMetaDa
ta(MetaDataManager.java:1590)
>    [java]      at org.jpox.metadata.MetaDataManager.initialise(MetaDat
aManager.java:313)
>    [java]      at org.jpox.enhancer.JPOXEnhancer.getFileMetaDataForInp
ut(JPOXEnhancer.java:716)
>    [java]      at org.jpox.enhancer.JPOXEnhancer.main(JPOXEnhancer.java:531)[/
vbcol]

--
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 10:22 AM.      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