[ https://issues.apache.org/jira/browse/JDO-481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12513262 ]
Michelle Caisse commented on JDO-481: ------------------------------------- I don't see the enhancer error anymore either, but yes, the test still fails. > 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 > Assignee: 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.