Apache JDO Project - [jira] Commented: (JDO-481) Enhancement of a PC abstract class

This is Interesting: Free IT Magazines  
Home > Archive > Apache JDO Project > April 2007 > [jira] Commented: (JDO-481) Enhancement of a PC abstract class





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] Commented: (JDO-481) Enhancement of a PC abstract class
Michelle Caisse (JIRA)

2007-04-10, 1:11 am


[ https://issues.apache.org/jira/brow...action_12487654 ]

Michelle Caisse commented on JDO-481:
-------------------------------------

It appears that when enhancement of newInstance/AAddress.class fails, newInstance/IAddress.class is also not enhanced, though newInstance/Address.class is enhanced.

> Enhancement of a PC abstract class fails
> -----------------------------------------
>
> Key: JDO-481
> URL: https://issues.apache.org/jira/browse/JDO-481
> Project: JDO
> Issue Type: Bug
> Components: tck2
> Environment: JPOX 1.1.7
> Reporter: Michelle Caisse
> Assigned To: Andy Jefferson
> Fix For: JDO 2 maintenance release 1
>
>
> Using JPOX 1.1.7, an attempt to create a new instance of an abstract class fails with
> 14:02:42,890 (main) ERROR [JPOX.MetaData] - Parser error with file "org/apache/jdo/tck/pc/newInstance/package.jdo" has cause Field org.apache.jdo.tck.pc.newInstance.AAddress.addrid was specified in the MetaData but is not found in that class!
> org.jpox.metadata.InvalidMetaDataException: Field org.apache.jdo.tck.pc.newInstance.AAddress.addrid was specified in the MetaData but is not found in that class!
> at org.jpox.enhancer.bcel.metadata.BCELPropertyMetaData.<init>(BCELPropertyMetaData.java:133)
> at org.jpox.enhancer.bcel.metadata.BCELMetaDataManager.newPropertyObject(BCELMetaDataManager.java:150)
> at org.jpox.metadata.JDOMetaDataHandler.newPropertyObject(JDOMetaDataHandler.java:117)
> at org.jpox.metadata.JDOMetaDataHandler.startElement(JDOMetaDataHandler.java:270)
> at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1672)
> at org.apache.crimson.parser.Parser2.content(Parser2.java:1963)
> at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
> at org.apache.crimson.parser.Parser2.content(Parser2.java:1963)
> at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
> at org.apache.crimson.parser.Parser2.content(Parser2.java:1963)
> at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
> at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:667)
> at org.apache.crimson.parser.Parser2.parse(Parser2.java:337)
> at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
> at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
> at javax.xml.parsers.SAXParser.parse(SAXParser.java:143)
> at org.jpox.metadata.MetaDataParser.parseMetaDataStream(MetaDataParser.java:236)
> at org.jpox.metadata.MetaDataParser.parseMetaDataFile(MetaDataParser.java:162)
> at org.jpox.enhancer.bcel.metadata.BCELMetaDataManager. parseAndRegisterFile(BCELMetaDataManager
.java:215)
> at org.jpox.enhancer.bcel.BCELUtils.getMetaDataForInput(BCELUtils.java:109)
> at org.jpox.enhancer.JPOXEnhancer.main(JPOXEnhancer.java:512)
> To reproduce, run the following and check the enhancer logs.
> maven -Djdo.tck.cfglist=pm.conf runtck.jdo
> See also JDO-453, JDO-476


--
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