jbossxb mvn test failures
starksm64 Sep 20, 2007 10:52 AMThere are many test errors when doing a mvn install that do not show up in the eclipse project run of the testsuite. One example shows the wrong handler being used it appears. What is the surefile plugin status with jbossxb?
374 DEBUG [RepeatableTermsUnitTestCase] ==== Starting testUnmarshal2 ==== 379 DEBUG [SaxJBossXBParser] Created parser: org.apache.xerces.jaxp.SAXParserImpl@2b12e7f7, isNamespaceAware: true, isValidating: true, isXIncludeAware: true 379 DEBUG [SaxJBossXBParser] http://xml.org/sax/features/validation set to: true 379 DEBUG [SaxJBossXBParser] http://xml.org/sax/features/namespaces set to: true 379 DEBUG [SaxJBossXBParser] http://apache.org/xml/features/validation/dynamic set to: true 379 DEBUG [SaxJBossXBParser] Using parser: org.apache.xerces.jaxp.SAXParserImpl@2b12e7f7, isNamespaceAware: true, isValidating: true, isXIncludeAware: true 381 DEBUG [SaxJBossXBParser] Created parser: org.apache.xerces.jaxp.SAXParserImpl@663b1f38, isNamespaceAware: true, isValidating: true, isXIncludeAware: true 381 DEBUG [SaxJBossXBParser] http://xml.org/sax/features/validation set to: true 381 DEBUG [SaxJBossXBParser] http://xml.org/sax/features/namespaces set to: true 381 DEBUG [SaxJBossXBParser] http://apache.org/xml/features/validation/dynamic set to: true 381 DEBUG [RepeatableTermsUnitTestCase] Initialized parsing in 1ms 381 DEBUG [SaxJBossXBParser] Using parser: org.apache.xerces.jaxp.SAXParserImpl@663b1f38, isNamespaceAware: true, isValidating: true, isXIncludeAware: true 382 DEBUG [RepeatableTermsUnitTestCase] Error during parsing: file:/home/svn/Common/trunks/jbossxb/target/test-classes/org/jboss/test/xml/RepeatableTermsUnitTestCase_testUnmarshal2.xml org.jboss.xb.binding.JBossXBException: Failed to parse source: file:/home/svn/Common/trunks/jbossxb/target/test-classes/org/jboss/test/xml/RepeatableTermsUnitTestCase_testUnmarshal2.xml@3,60 at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:184) at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:118) at org.jboss.test.xml.JBossXBTestDelegate.unmarshal(JBossXBTestDelegate.java:146) at org.jboss.test.xml.AbstractJBossXBTest.unmarshal(AbstractJBossXBTest.java:227) at org.jboss.test.xml.AbstractJBossXBTest.unmarshal(AbstractJBossXBTest.java:193) at org.jboss.test.xml.RepeatableTermsUnitTestCase.testUnmarshal2(RepeatableTermsUnitTestCase.java:93) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at junit.framework.TestCase.runTest(TestCase.java:154) at junit.framework.TestCase.runBare(TestCase.java:127) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:163) at org.apache.maven.surefire.Surefire.run(Surefire.java:84) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:244) at org.apache.maven.surefire.booter. SurefireBooter.main(SurefireBooter.java:814) Caused by: java.lang.UnsupportedOperationException: Using Default Handler! startParticle: {http://www.jboss.org/test/xml/repeatableterms}top [org.jboss.xb.binding.sunday.unmarshalling.ElementBinding@337ec9f7({http://www.jboss.org/test/xml/repeatableterms}top, type=null), minOccurs=1, maxOccurs=0] at org.jboss.test.xb.builder.DebugElementHandler.startParticle(DebugElementHandler.java:41) at org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.startElement(SundayContentHandler.java:606) at org.jboss.xb.binding.parser.sax.SaxJBossXBParser$DelegatingContentHandler.startElement(SaxJBossXBParser.java:402) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.xinclude.XIncludeHandler.startElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:180) ... 31 more