-
Bug
-
Resolution: Duplicate
-
P3
-
7
-
b03
-
generic
-
generic
JCK : JCK-devtools-6a b01
J2SE : FAIL - 7.0 b03,
: PASS 7.0 b02, 6.0 b104
Platform[s] : FAIL originally found on windows
switch/Mode : FAIL - default
75 NISTSchema tests fail with the following message:
marshal: Passed. OK
unmarshal: Passed. OK
java.lang.RuntimeException: java.lang.ClassNotFoundException: byte
at com.sun.jaxb_tck.lib.persistence.TCKJaxbTreeDeserializer$1.exceptionThrown(TCKJaxbTreeDeserializer.java:48)
at com.sun.beans.ObjectHandler.classForName2(ObjectHandler.java:186)
at com.sun.beans.ObjectHandler.startElement(ObjectHandler.java:216)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:453)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1357)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2740)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:645)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:508)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:364)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:142)
at java.beans.XMLDecoder.getHandler(XMLDecoder.java:238)
at java.beans.XMLDecoder.readObject(XMLDecoder.java:201)
at com.sun.jaxb_tck.lib.persistence.TCKJaxbTreeDeserializer.deserialize(TCKJaxbTreeDeserializer.java:53)
at javasoft.sqe.tests.api.javax.xml.bind.JAXBTest.deserealizeBean(JAXBTest.java:350)
at javasoft.sqe.tests.api.javax.xml.bind.JAXBTest.compareContent(JAXBTest.java:323)
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:597)
at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:406)
at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:195)
at javasoft.sqe.tests.api.javax.xml.bind.JAXBTest.main(JAXBTest.java:49)
Caused by: java.lang.ClassNotFoundException: byte
at java.net.URLClassLoader$1.run(URLClassLoader.java:203)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:191)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at com.sun.beans.finder.ClassFinder.findClass(ClassFinder.java:49)
at com.sun.beans.finder.ClassFinder.findClass(ClassFinder.java:83)
at com.sun.beans.ObjectHandler.classForName2(ObjectHandler.java:182)
... 25 more
compareContent: Failed. Test case throws exception: java.lang.RuntimeException: java.lang.ClassNotFoundException: byte
STATUS:Failed.test cases: 3; passed: 2; failed: 1; first test case failure: compareContent
steps to reproduce:
run, for example,
/net/stt-13.russia/export/stt/jdk_promotions/JDK7.0/b03/binaries/solaris-i586/jdk1.7.0/bin/java -cp /net/stt-13.russia/export/stt/jck_promotions/6a/beta/latest/binaries/JCK-devtools-6a/classes:/net/stt-13.russia/export/stt/jck_promotions/6a/beta/latest/binaries/JCK-devtools-6a/lib/javatest.jar:/net/stt-13.russia/export/stt/jck_workspace/7/latest/jck6a-b01_a4/Windows2003-x86-JCK6a-devtools/workDir/classes/base64binary/enumeration1 javasoft.sqe.tests.api.javax.xml.bind.JAXBTest -TestURL file:///net/stt-13.russia/export/stt/jck_promotions/6a/beta/latest/binaries/JCK-devtools-6a/tests/xml_schema/nisttest/base64Binary/enumeration/NISTSchema-base64Binary-enumeration-1.html#NISTXML-base64Binary-enumeration-1-1 -package javasoft.sqe.tests.base64binary.enumeration_1 -out :ref -document enumeration-1-1.xml -pcontent enumeration_1-enumeration-1-1.xml.jb.xml -schema enumeration-1.xsd
Affected tests:
xml_schema/nisttest/base64Binary/enumeration/NISTSchema-base64Binary-enumeration-1.html#NISTXML-base64Binary-enumeration-1-1
xml_schema/nisttest/base64Binary/enumeration/NISTSchema-base64Binary-enumeration-1.html#NISTXML-base64Binary-enumeration-1-2
xml_schema/nisttest/base64Binary/enumeration/NISTSchema-base64Binary-enumeration-1.html#NISTXML-base64Binary-enumeration-1-3
xml_schema/nisttest/base64Binary/enumeration/NISTSchema-base64Binary-enumeration-1.html#NISTXML-base64Binary-enumeration-1-4
xml_schema/nisttest/base64Binary/enumeration/NISTSchema-base64Binary-enumeration-1.html#NISTXML-base64Binary-enumeration-1-5
xml_schema/nisttest/base64Binary/enumeration/NISTSchema-base64Binary-enumeration-2.html#NISTXML-base64Binary-enumeration-2-1
xml_schema/nisttest/base64Binary/enumeration/NISTSchema-base64Binary-enumeration-2.html#NISTXML-base64Binary-enumeration-2-2
xml_schema/nisttest/base64Binary/enumeration/NISTSchema-base64Binary-enumeration-2.html#NISTXML-base64Binary-enumeration-2-3
xml_schema/nisttest/base64Binary/enumeration/NISTSchema-base64Binary-enumeration-2.html#NISTXML-base64Binary-enumeration-2-4
xml_schema/nisttest/base64Binary/enumeration/NISTSchema-base64Binary-enumeration-2.html#NISTXML-base64Binary-enumeration-2-5
xml_schema/nisttest/base64Binary/length/NISTSchema-base64Binary-length-1.html#NISTXML-base64Binary-length-1-1
xml_schema/nisttest/base64Binary/length/NISTSchema-base64Binary-length-1.html#NISTXML-base64Binary-length-1-2
xml_schema/nisttest/base64Binary/length/NISTSchema-base64Binary-length-1.html#NISTXML-base64Binary-length-1-3
xml_schema/nisttest/base64Binary/length/NISTSchema-base64Binary-length-1.html#NISTXML-base64Binary-length-1-4
xml_schema/nisttest/base64Binary/length/NISTSchema-base64Binary-length-1.html#NISTXML-base64Binary-length-1-5
xml_schema/nisttest/base64Binary/length/NISTSchema-base64Binary-length-2.html#NISTXML-base64Binary-length-2-1
xml_schema/nisttest/base64Binary/length/NISTSchema-base64Binary-length-2.html#NISTXML-base64Binary-length-2-2
xml_schema/nisttest/base64Binary/length/NISTSchema-base64Binary-length-2.html#NISTXML-base64Binary-length-2-3
xml_schema/nisttest/base64Binary/length/NISTSchema-base64Binary-length-2.html#NISTXML-base64Binary-length-2-4
xml_schema/nisttest/base64Binary/length/NISTSchema-base64Binary-length-2.html#NISTXML-base64Binary-length-2-5
xml_schema/nisttest/base64Binary/maxLength/NISTSchema-base64Binary-maxLength-1.html#NISTXML-base64Binary-maxLength-1-1
xml_schema/nisttest/base64Binary/maxLength/NISTSchema-base64Binary-maxLength-1.html#NISTXML-base64Binary-maxLength-1-2
xml_schema/nisttest/base64Binary/maxLength/NISTSchema-base64Binary-maxLength-1.html#NISTXML-base64Binary-maxLength-1-3
xml_schema/nisttest/base64Binary/maxLength/NISTSchema-base64Binary-maxLength-1.html#NISTXML-base64Binary-maxLength-1-4
xml_schema/nisttest/base64Binary/maxLength/NISTSchema-base64Binary-maxLength-1.html#NISTXML-base64Binary-maxLength-1-5
xml_schema/nisttest/base64Binary/maxLength/NISTSchema-base64Binary-maxLength-2.html#NISTXML-base64Binary-maxLength-2-1
xml_schema/nisttest/base64Binary/maxLength/NISTSchema-base64Binary-maxLength-2.html#NISTXML-base64Binary-maxLength-2-2
xml_schema/nisttest/base64Binary/maxLength/NISTSchema-base64Binary-maxLength-2.html#NISTXML-base64Binary-maxLength-2-3
xml_schema/nisttest/base64Binary/maxLength/NISTSchema-base64Binary-maxLength-2.html#NISTXML-base64Binary-maxLength-2-4
xml_schema/nisttest/base64Binary/maxLength/NISTSchema-base64Binary-maxLength-2.html#NISTXML-base64Binary-maxLength-2-5
xml_schema/nisttest/base64Binary/minLength/NISTSchema-base64Binary-minLength-1.html#NISTXML-base64Binary-minLength-1-1
xml_schema/nisttest/base64Binary/minLength/NISTSchema-base64Binary-minLength-1.html#NISTXML-base64Binary-minLength-1-2
xml_schema/nisttest/base64Binary/minLength/NISTSchema-base64Binary-minLength-1.html#NISTXML-base64Binary-minLength-1-3
xml_schema/nisttest/base64Binary/minLength/NISTSchema-base64Binary-minLength-1.html#NISTXML-base64Binary-minLength-1-4
xml_schema/nisttest/base64Binary/minLength/NISTSchema-base64Binary-minLength-1.html#NISTXML-base64Binary-minLength-1-5
xml_schema/nisttest/base64Binary/minLength/NISTSchema-base64Binary-minLength-2.html#NISTXML-base64Binary-minLength-2-1
xml_schema/nisttest/base64Binary/minLength/NISTSchema-base64Binary-minLength-2.html#NISTXML-base64Binary-minLength-2-2
xml_schema/nisttest/base64Binary/minLength/NISTSchema-base64Binary-minLength-2.html#NISTXML-base64Binary-minLength-2-3
xml_schema/nisttest/base64Binary/minLength/NISTSchema-base64Binary-minLength-2.html#NISTXML-base64Binary-minLength-2-4
xml_schema/nisttest/base64Binary/minLength/NISTSchema-base64Binary-minLength-2.html#NISTXML-base64Binary-minLength-2-5
xml_schema/nisttest/base64Binary/pattern/NISTSchema-base64Binary-pattern-1.html#NISTXML-base64Binary-pattern-1-1
xml_schema/nisttest/base64Binary/pattern/NISTSchema-base64Binary-pattern-1.html#NISTXML-base64Binary-pattern-1-2
xml_schema/nisttest/base64Binary/pattern/NISTSchema-base64Binary-pattern-1.html#NISTXML-base64Binary-pattern-1-3
xml_schema/nisttest/base64Binary/pattern/NISTSchema-base64Binary-pattern-1.html#NISTXML-base64Binary-pattern-1-4
xml_schema/nisttest/base64Binary/pattern/NISTSchema-base64Binary-pattern-1.html#NISTXML-base64Binary-pattern-1-5
xml_schema/nisttest/base64Binary/pattern/NISTSchema-base64Binary-pattern-2.html#NISTXML-base64Binary-pattern-2-1
xml_schema/nisttest/base64Binary/pattern/NISTSchema-base64Binary-pattern-2.html#NISTXML-base64Binary-pattern-2-2
xml_schema/nisttest/base64Binary/pattern/NISTSchema-base64Binary-pattern-2.html#NISTXML-base64Binary-pattern-2-3
xml_schema/nisttest/base64Binary/pattern/NISTSchema-base64Binary-pattern-2.html#NISTXML-base64Binary-pattern-2-4
xml_schema/nisttest/base64Binary/pattern/NISTSchema-base64Binary-pattern-2.html#NISTXML-base64Binary-pattern-2-5
xml_schema/nisttest/base64Binary/whiteSpace/NISTSchema-base64Binary-whiteSpace-1.html#NISTXML-base64Binary-whiteSpace-1-1
xml_schema/nisttest/base64Binary/whiteSpace/NISTSchema-base64Binary-whiteSpace-1.html#NISTXML-base64Binary-whiteSpace-1-2
xml_schema/nisttest/base64Binary/whiteSpace/NISTSchema-base64Binary-whiteSpace-1.html#NISTXML-base64Binary-whiteSpace-1-3
xml_schema/nisttest/base64Binary/whiteSpace/NISTSchema-base64Binary-whiteSpace-1.html#NISTXML-base64Binary-whiteSpace-1-4
xml_schema/nisttest/base64Binary/whiteSpace/NISTSchema-base64Binary-whiteSpace-1.html#NISTXML-base64Binary-whiteSpace-1-5
xml_schema/nisttest/hexBinary/enumeration/NISTSchema-hexBinary-enumeration-1.html#NISTXML-hexBinary-enumeration-1-1
xml_schema/nisttest/hexBinary/enumeration/NISTSchema-hexBinary-enumeration-1.html#NISTXML-hexBinary-enumeration-1-2
xml_schema/nisttest/hexBinary/enumeration/NISTSchema-hexBinary-enumeration-1.html#NISTXML-hexBinary-enumeration-1-3
xml_schema/nisttest/hexBinary/enumeration/NISTSchema-hexBinary-enumeration-1.html#NISTXML-hexBinary-enumeration-1-4
xml_schema/nisttest/hexBinary/enumeration/NISTSchema-hexBinary-enumeration-1.html#NISTXML-hexBinary-enumeration-1-5
xml_schema/nisttest/hexBinary/length/NISTSchema-hexBinary-length-1.html#NISTXML-hexBinary-length-1-1
xml_schema/nisttest/hexBinary/length/NISTSchema-hexBinary-length-1.html#NISTXML-hexBinary-length-1-2
xml_schema/nisttest/hexBinary/length/NISTSchema-hexBinary-length-1.html#NISTXML-hexBinary-length-1-3
xml_schema/nisttest/hexBinary/length/NISTSchema-hexBinary-length-1.html#NISTXML-hexBinary-length-1-4
xml_schema/nisttest/hexBinary/length/NISTSchema-hexBinary-length-1.html#NISTXML-hexBinary-length-1-5
xml_schema/nisttest/hexBinary/maxLength/NISTSchema-hexBinary-maxLength-1.html#NISTXML-hexBinary-maxLength-1-1
xml_schema/nisttest/hexBinary/maxLength/NISTSchema-hexBinary-maxLength-1.html#NISTXML-hexBinary-maxLength-1-2
xml_schema/nisttest/hexBinary/maxLength/NISTSchema-hexBinary-maxLength-1.html#NISTXML-hexBinary-maxLength-1-3
xml_schema/nisttest/hexBinary/maxLength/NISTSchema-hexBinary-maxLength-1.html#NISTXML-hexBinary-maxLength-1-4
xml_schema/nisttest/hexBinary/maxLength/NISTSchema-hexBinary-maxLength-1.html#NISTXML-hexBinary-maxLength-1-5
xml_schema/nisttest/hexBinary/minLength/NISTSchema-hexBinary-minLength-1.html#NISTXML-hexBinary-minLength-1-1
xml_schema/nisttest/hexBinary/minLength/NISTSchema-hexBinary-minLength-1.html#NISTXML-hexBinary-minLength-1-2
xml_schema/nisttest/hexBinary/minLength/NISTSchema-hexBinary-minLength-1.html#NISTXML-hexBinary-minLength-1-3
xml_schema/nisttest/hexBinary/minLength/NISTSchema-hexBinary-minLength-1.html#NISTXML-hexBinary-minLength-1-4
xml_schema/nisttest/hexBinary/minLength/NISTSchema-hexBinary-minLength-1.html#NISTXML-hexBinary-minLength-1-5
xml_schema/nisttest/hexBinary/pattern/NISTSchema-hexBinary-pattern-1.html#NISTXML-hexBinary-pattern-1-1
xml_schema/nisttest/hexBinary/pattern/NISTSchema-hexBinary-pattern-1.html#NISTXML-hexBinary-pattern-1-2
xml_schema/nisttest/hexBinary/pattern/NISTSchema-hexBinary-pattern-1.html#NISTXML-hexBinary-pattern-1-3
xml_schema/nisttest/hexBinary/pattern/NISTSchema-hexBinary-pattern-1.html#NISTXML-hexBinary-pattern-1-4
xml_schema/nisttest/hexBinary/pattern/NISTSchema-hexBinary-pattern-1.html#NISTXML-hexBinary-pattern-1-5
xml_schema/nisttest/hexBinary/whiteSpace/NISTSchema-hexBinary-whiteSpace-1.html#NISTXML-hexBinary-whiteSpace-1-1
xml_schema/nisttest/hexBinary/whiteSpace/NISTSchema-hexBinary-whiteSpace-1.html#NISTXML-hexBinary-whiteSpace-1-2
xml_schema/nisttest/hexBinary/whiteSpace/NISTSchema-hexBinary-whiteSpace-1.html#NISTXML-hexBinary-whiteSpace-1-3
xml_schema/nisttest/hexBinary/whiteSpace/NISTSchema-hexBinary-whiteSpace-1.html#NISTXML-hexBinary-whiteSpace-1-4
xml_schema/nisttest/hexBinary/whiteSpace/NISTSchema-hexBinary-whiteSpace-1.html#NISTXML-hexBinary-whiteSpace-1-5
The problem is inside java.bean.XMLDecoder.readObject() method
a mini-test has prepared (see attachments)
output of it on jdk7.0 b03
-----------------------------------
it162333@~/tests/jaxb>/java/re/jdk/7.0/promoted/all/b03/binaries/solaris-sparcv9/bin/java -cp . JAXBTest
java.lang.ClassNotFoundException: byte
Continuing ...
java.lang.ClassNotFoundException: byte
Continuing ...
java.lang.NullPointerException
Continuing ...
java.lang.NullPointerException: target should not be null
Continuing ...
java.lang.NullPointerException
Continuing ...
java.lang.NullPointerException: target should not be null
Continuing ...
java.lang.NullPointerException
Continuing ...
OK
------------------------------------
this problem appeared in b03 and disappeared in b15
it162333@~/tests/jaxb>for bNN in `ls /java/re/jdk/7.0/promoted/all/`; do echo $bNN; /java/re/jdk/7.0/promoted/all/$bNN/binaries/solaris-sparcv9/bin/java -cp . JAXBTest; done
b01
OK
b02
OK
b03
java.lang.ClassNotFoundException: byte
Continuing ...
java.lang.ClassNotFoundException: byte
Continuing ...
java.lang.NullPointerException
Continuing ...
java.lang.NullPointerException: target should not be null
Continuing ...
java.lang.NullPointerException
Continuing ...
java.lang.NullPointerException: target should not be null
Continuing ...
java.lang.NullPointerException
Continuing ...
OK
b04
java.lang.ClassNotFoundException: byte
Continuing ...
java.lang.ClassNotFoundException: byte
Continuing ...
java.lang.NullPointerException
Continuing ...
java.lang.NullPointerException: target should not be null
Continuing ...
java.lang.NullPointerException
Continuing ...
java.lang.NullPointerException: target should not be null
Continuing ...
java.lang.NullPointerException
Continuing ...
OK
b05
java.lang.ClassNotFoundException: byte
Continuing ...
java.lang.ClassNotFoundException: byte
Continuing ...
java.lang.NullPointerException
Continuing ...
java.lang.NullPointerException: target should not be null
Continuing ...
java.lang.NullPointerException
Continuing ...
java.lang.NullPointerException: target should not be null
Continuing ...
java.lang.NullPointerException
Continuing ...
OK
b06
java.lang.ClassNotFoundException: byte
Continuing ...
java.lang.ClassNotFoundException: byte
Continuing ...
java.lang.NullPointerException
Continuing ...
java.lang.NullPointerException: target should not be null
Continuing ...
java.lang.NullPointerException
Continuing ...
java.lang.NullPointerException: target should not be null
Continuing ...
java.lang.NullPointerException
Continuing ...
OK
b07
java.lang.ClassNotFoundException: byte
Continuing ...
java.lang.ClassNotFoundException: byte
Continuing ...
java.lang.NullPointerException
Continuing ...
java.lang.NullPointerException: target should not be null
Continuing ...
java.lang.NullPointerException
Continuing ...
java.lang.NullPointerException: target should not be null
Continuing ...
java.lang.NullPointerException
Continuing ...
OK
b08
java.lang.ClassNotFoundException: byte
Continuing ...
java.lang.ClassNotFoundException: byte
Continuing ...
java.lang.NullPointerException
Continuing ...
java.lang.NullPointerException: target should not be null
Continuing ...
java.lang.NullPointerException
Continuing ...
java.lang.NullPointerException: target should not be null
Continuing ...
java.lang.NullPointerException
Continuing ...
OK
b09
java.lang.ClassNotFoundException: byte
Continuing ...
java.lang.ClassNotFoundException: byte
Continuing ...
java.lang.NullPointerException
Continuing ...
java.lang.NullPointerException: target should not be null
Continuing ...
java.lang.NullPointerException
Continuing ...
java.lang.NullPointerException: target should not be null
Continuing ...
java.lang.NullPointerException
Continuing ...
OK
b10
java.lang.ClassNotFoundException: byte
Continuing ...
java.lang.ClassNotFoundException: byte
Continuing ...
java.lang.NullPointerException
Continuing ...
java.lang.NullPointerException: target should not be null
Continuing ...
java.lang.NullPointerException
Continuing ...
java.lang.NullPointerException: target should not be null
Continuing ...
java.lang.NullPointerException
Continuing ...
OK
b11
java.lang.ClassNotFoundException: byte
Continuing ...
java.lang.ClassNotFoundException: byte
Continuing ...
java.lang.NullPointerException
Continuing ...
java.lang.NullPointerException: target should not be null
Continuing ...
java.lang.NullPointerException
Continuing ...
java.lang.NullPointerException: target should not be null
Continuing ...
java.lang.NullPointerException
Continuing ...
OK
b12
java.lang.ClassNotFoundException: byte
Continuing ...
java.lang.ClassNotFoundException: byte
Continuing ...
java.lang.NullPointerException
Continuing ...
java.lang.NullPointerException: target should not be null
Continuing ...
java.lang.NullPointerException
Continuing ...
java.lang.NullPointerException: target should not be null
Continuing ...
java.lang.NullPointerException
Continuing ...
OK
b13
java.lang.ClassNotFoundException: byte
Continuing ...
java.lang.ClassNotFoundException: byte
Continuing ...
java.lang.NullPointerException
Continuing ...
java.lang.NullPointerException: target should not be null
Continuing ...
java.lang.NullPointerException
Continuing ...
java.lang.NullPointerException: target should not be null
Continuing ...
java.lang.NullPointerException
Continuing ...
OK
b14
java.lang.ClassNotFoundException: byte
Continuing ...
java.lang.ClassNotFoundException: byte
Continuing ...
java.lang.NullPointerException
Continuing ...
java.lang.NullPointerException: target should not be null
Continuing ...
java.lang.NullPointerException
Continuing ...
java.lang.NullPointerException: target should not be null
Continuing ...
java.lang.NullPointerException
Continuing ...
OK
b15
OK
b16
OK
b17
OK
b18
OK
J2SE : FAIL - 7.0 b03,
: PASS 7.0 b02, 6.0 b104
Platform[s] : FAIL originally found on windows
switch/Mode : FAIL - default
75 NISTSchema tests fail with the following message:
marshal: Passed. OK
unmarshal: Passed. OK
java.lang.RuntimeException: java.lang.ClassNotFoundException: byte
at com.sun.jaxb_tck.lib.persistence.TCKJaxbTreeDeserializer$1.exceptionThrown(TCKJaxbTreeDeserializer.java:48)
at com.sun.beans.ObjectHandler.classForName2(ObjectHandler.java:186)
at com.sun.beans.ObjectHandler.startElement(ObjectHandler.java:216)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:453)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1357)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2740)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:645)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:508)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:364)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:142)
at java.beans.XMLDecoder.getHandler(XMLDecoder.java:238)
at java.beans.XMLDecoder.readObject(XMLDecoder.java:201)
at com.sun.jaxb_tck.lib.persistence.TCKJaxbTreeDeserializer.deserialize(TCKJaxbTreeDeserializer.java:53)
at javasoft.sqe.tests.api.javax.xml.bind.JAXBTest.deserealizeBean(JAXBTest.java:350)
at javasoft.sqe.tests.api.javax.xml.bind.JAXBTest.compareContent(JAXBTest.java:323)
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:597)
at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:406)
at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:195)
at javasoft.sqe.tests.api.javax.xml.bind.JAXBTest.main(JAXBTest.java:49)
Caused by: java.lang.ClassNotFoundException: byte
at java.net.URLClassLoader$1.run(URLClassLoader.java:203)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:191)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at com.sun.beans.finder.ClassFinder.findClass(ClassFinder.java:49)
at com.sun.beans.finder.ClassFinder.findClass(ClassFinder.java:83)
at com.sun.beans.ObjectHandler.classForName2(ObjectHandler.java:182)
... 25 more
compareContent: Failed. Test case throws exception: java.lang.RuntimeException: java.lang.ClassNotFoundException: byte
STATUS:Failed.test cases: 3; passed: 2; failed: 1; first test case failure: compareContent
steps to reproduce:
run, for example,
/net/stt-13.russia/export/stt/jdk_promotions/JDK7.0/b03/binaries/solaris-i586/jdk1.7.0/bin/java -cp /net/stt-13.russia/export/stt/jck_promotions/6a/beta/latest/binaries/JCK-devtools-6a/classes:/net/stt-13.russia/export/stt/jck_promotions/6a/beta/latest/binaries/JCK-devtools-6a/lib/javatest.jar:/net/stt-13.russia/export/stt/jck_workspace/7/latest/jck6a-b01_a4/Windows2003-x86-JCK6a-devtools/workDir/classes/base64binary/enumeration1 javasoft.sqe.tests.api.javax.xml.bind.JAXBTest -TestURL file:///net/stt-13.russia/export/stt/jck_promotions/6a/beta/latest/binaries/JCK-devtools-6a/tests/xml_schema/nisttest/base64Binary/enumeration/NISTSchema-base64Binary-enumeration-1.html#NISTXML-base64Binary-enumeration-1-1 -package javasoft.sqe.tests.base64binary.enumeration_1 -out :ref -document enumeration-1-1.xml -pcontent enumeration_1-enumeration-1-1.xml.jb.xml -schema enumeration-1.xsd
Affected tests:
xml_schema/nisttest/base64Binary/enumeration/NISTSchema-base64Binary-enumeration-1.html#NISTXML-base64Binary-enumeration-1-1
xml_schema/nisttest/base64Binary/enumeration/NISTSchema-base64Binary-enumeration-1.html#NISTXML-base64Binary-enumeration-1-2
xml_schema/nisttest/base64Binary/enumeration/NISTSchema-base64Binary-enumeration-1.html#NISTXML-base64Binary-enumeration-1-3
xml_schema/nisttest/base64Binary/enumeration/NISTSchema-base64Binary-enumeration-1.html#NISTXML-base64Binary-enumeration-1-4
xml_schema/nisttest/base64Binary/enumeration/NISTSchema-base64Binary-enumeration-1.html#NISTXML-base64Binary-enumeration-1-5
xml_schema/nisttest/base64Binary/enumeration/NISTSchema-base64Binary-enumeration-2.html#NISTXML-base64Binary-enumeration-2-1
xml_schema/nisttest/base64Binary/enumeration/NISTSchema-base64Binary-enumeration-2.html#NISTXML-base64Binary-enumeration-2-2
xml_schema/nisttest/base64Binary/enumeration/NISTSchema-base64Binary-enumeration-2.html#NISTXML-base64Binary-enumeration-2-3
xml_schema/nisttest/base64Binary/enumeration/NISTSchema-base64Binary-enumeration-2.html#NISTXML-base64Binary-enumeration-2-4
xml_schema/nisttest/base64Binary/enumeration/NISTSchema-base64Binary-enumeration-2.html#NISTXML-base64Binary-enumeration-2-5
xml_schema/nisttest/base64Binary/length/NISTSchema-base64Binary-length-1.html#NISTXML-base64Binary-length-1-1
xml_schema/nisttest/base64Binary/length/NISTSchema-base64Binary-length-1.html#NISTXML-base64Binary-length-1-2
xml_schema/nisttest/base64Binary/length/NISTSchema-base64Binary-length-1.html#NISTXML-base64Binary-length-1-3
xml_schema/nisttest/base64Binary/length/NISTSchema-base64Binary-length-1.html#NISTXML-base64Binary-length-1-4
xml_schema/nisttest/base64Binary/length/NISTSchema-base64Binary-length-1.html#NISTXML-base64Binary-length-1-5
xml_schema/nisttest/base64Binary/length/NISTSchema-base64Binary-length-2.html#NISTXML-base64Binary-length-2-1
xml_schema/nisttest/base64Binary/length/NISTSchema-base64Binary-length-2.html#NISTXML-base64Binary-length-2-2
xml_schema/nisttest/base64Binary/length/NISTSchema-base64Binary-length-2.html#NISTXML-base64Binary-length-2-3
xml_schema/nisttest/base64Binary/length/NISTSchema-base64Binary-length-2.html#NISTXML-base64Binary-length-2-4
xml_schema/nisttest/base64Binary/length/NISTSchema-base64Binary-length-2.html#NISTXML-base64Binary-length-2-5
xml_schema/nisttest/base64Binary/maxLength/NISTSchema-base64Binary-maxLength-1.html#NISTXML-base64Binary-maxLength-1-1
xml_schema/nisttest/base64Binary/maxLength/NISTSchema-base64Binary-maxLength-1.html#NISTXML-base64Binary-maxLength-1-2
xml_schema/nisttest/base64Binary/maxLength/NISTSchema-base64Binary-maxLength-1.html#NISTXML-base64Binary-maxLength-1-3
xml_schema/nisttest/base64Binary/maxLength/NISTSchema-base64Binary-maxLength-1.html#NISTXML-base64Binary-maxLength-1-4
xml_schema/nisttest/base64Binary/maxLength/NISTSchema-base64Binary-maxLength-1.html#NISTXML-base64Binary-maxLength-1-5
xml_schema/nisttest/base64Binary/maxLength/NISTSchema-base64Binary-maxLength-2.html#NISTXML-base64Binary-maxLength-2-1
xml_schema/nisttest/base64Binary/maxLength/NISTSchema-base64Binary-maxLength-2.html#NISTXML-base64Binary-maxLength-2-2
xml_schema/nisttest/base64Binary/maxLength/NISTSchema-base64Binary-maxLength-2.html#NISTXML-base64Binary-maxLength-2-3
xml_schema/nisttest/base64Binary/maxLength/NISTSchema-base64Binary-maxLength-2.html#NISTXML-base64Binary-maxLength-2-4
xml_schema/nisttest/base64Binary/maxLength/NISTSchema-base64Binary-maxLength-2.html#NISTXML-base64Binary-maxLength-2-5
xml_schema/nisttest/base64Binary/minLength/NISTSchema-base64Binary-minLength-1.html#NISTXML-base64Binary-minLength-1-1
xml_schema/nisttest/base64Binary/minLength/NISTSchema-base64Binary-minLength-1.html#NISTXML-base64Binary-minLength-1-2
xml_schema/nisttest/base64Binary/minLength/NISTSchema-base64Binary-minLength-1.html#NISTXML-base64Binary-minLength-1-3
xml_schema/nisttest/base64Binary/minLength/NISTSchema-base64Binary-minLength-1.html#NISTXML-base64Binary-minLength-1-4
xml_schema/nisttest/base64Binary/minLength/NISTSchema-base64Binary-minLength-1.html#NISTXML-base64Binary-minLength-1-5
xml_schema/nisttest/base64Binary/minLength/NISTSchema-base64Binary-minLength-2.html#NISTXML-base64Binary-minLength-2-1
xml_schema/nisttest/base64Binary/minLength/NISTSchema-base64Binary-minLength-2.html#NISTXML-base64Binary-minLength-2-2
xml_schema/nisttest/base64Binary/minLength/NISTSchema-base64Binary-minLength-2.html#NISTXML-base64Binary-minLength-2-3
xml_schema/nisttest/base64Binary/minLength/NISTSchema-base64Binary-minLength-2.html#NISTXML-base64Binary-minLength-2-4
xml_schema/nisttest/base64Binary/minLength/NISTSchema-base64Binary-minLength-2.html#NISTXML-base64Binary-minLength-2-5
xml_schema/nisttest/base64Binary/pattern/NISTSchema-base64Binary-pattern-1.html#NISTXML-base64Binary-pattern-1-1
xml_schema/nisttest/base64Binary/pattern/NISTSchema-base64Binary-pattern-1.html#NISTXML-base64Binary-pattern-1-2
xml_schema/nisttest/base64Binary/pattern/NISTSchema-base64Binary-pattern-1.html#NISTXML-base64Binary-pattern-1-3
xml_schema/nisttest/base64Binary/pattern/NISTSchema-base64Binary-pattern-1.html#NISTXML-base64Binary-pattern-1-4
xml_schema/nisttest/base64Binary/pattern/NISTSchema-base64Binary-pattern-1.html#NISTXML-base64Binary-pattern-1-5
xml_schema/nisttest/base64Binary/pattern/NISTSchema-base64Binary-pattern-2.html#NISTXML-base64Binary-pattern-2-1
xml_schema/nisttest/base64Binary/pattern/NISTSchema-base64Binary-pattern-2.html#NISTXML-base64Binary-pattern-2-2
xml_schema/nisttest/base64Binary/pattern/NISTSchema-base64Binary-pattern-2.html#NISTXML-base64Binary-pattern-2-3
xml_schema/nisttest/base64Binary/pattern/NISTSchema-base64Binary-pattern-2.html#NISTXML-base64Binary-pattern-2-4
xml_schema/nisttest/base64Binary/pattern/NISTSchema-base64Binary-pattern-2.html#NISTXML-base64Binary-pattern-2-5
xml_schema/nisttest/base64Binary/whiteSpace/NISTSchema-base64Binary-whiteSpace-1.html#NISTXML-base64Binary-whiteSpace-1-1
xml_schema/nisttest/base64Binary/whiteSpace/NISTSchema-base64Binary-whiteSpace-1.html#NISTXML-base64Binary-whiteSpace-1-2
xml_schema/nisttest/base64Binary/whiteSpace/NISTSchema-base64Binary-whiteSpace-1.html#NISTXML-base64Binary-whiteSpace-1-3
xml_schema/nisttest/base64Binary/whiteSpace/NISTSchema-base64Binary-whiteSpace-1.html#NISTXML-base64Binary-whiteSpace-1-4
xml_schema/nisttest/base64Binary/whiteSpace/NISTSchema-base64Binary-whiteSpace-1.html#NISTXML-base64Binary-whiteSpace-1-5
xml_schema/nisttest/hexBinary/enumeration/NISTSchema-hexBinary-enumeration-1.html#NISTXML-hexBinary-enumeration-1-1
xml_schema/nisttest/hexBinary/enumeration/NISTSchema-hexBinary-enumeration-1.html#NISTXML-hexBinary-enumeration-1-2
xml_schema/nisttest/hexBinary/enumeration/NISTSchema-hexBinary-enumeration-1.html#NISTXML-hexBinary-enumeration-1-3
xml_schema/nisttest/hexBinary/enumeration/NISTSchema-hexBinary-enumeration-1.html#NISTXML-hexBinary-enumeration-1-4
xml_schema/nisttest/hexBinary/enumeration/NISTSchema-hexBinary-enumeration-1.html#NISTXML-hexBinary-enumeration-1-5
xml_schema/nisttest/hexBinary/length/NISTSchema-hexBinary-length-1.html#NISTXML-hexBinary-length-1-1
xml_schema/nisttest/hexBinary/length/NISTSchema-hexBinary-length-1.html#NISTXML-hexBinary-length-1-2
xml_schema/nisttest/hexBinary/length/NISTSchema-hexBinary-length-1.html#NISTXML-hexBinary-length-1-3
xml_schema/nisttest/hexBinary/length/NISTSchema-hexBinary-length-1.html#NISTXML-hexBinary-length-1-4
xml_schema/nisttest/hexBinary/length/NISTSchema-hexBinary-length-1.html#NISTXML-hexBinary-length-1-5
xml_schema/nisttest/hexBinary/maxLength/NISTSchema-hexBinary-maxLength-1.html#NISTXML-hexBinary-maxLength-1-1
xml_schema/nisttest/hexBinary/maxLength/NISTSchema-hexBinary-maxLength-1.html#NISTXML-hexBinary-maxLength-1-2
xml_schema/nisttest/hexBinary/maxLength/NISTSchema-hexBinary-maxLength-1.html#NISTXML-hexBinary-maxLength-1-3
xml_schema/nisttest/hexBinary/maxLength/NISTSchema-hexBinary-maxLength-1.html#NISTXML-hexBinary-maxLength-1-4
xml_schema/nisttest/hexBinary/maxLength/NISTSchema-hexBinary-maxLength-1.html#NISTXML-hexBinary-maxLength-1-5
xml_schema/nisttest/hexBinary/minLength/NISTSchema-hexBinary-minLength-1.html#NISTXML-hexBinary-minLength-1-1
xml_schema/nisttest/hexBinary/minLength/NISTSchema-hexBinary-minLength-1.html#NISTXML-hexBinary-minLength-1-2
xml_schema/nisttest/hexBinary/minLength/NISTSchema-hexBinary-minLength-1.html#NISTXML-hexBinary-minLength-1-3
xml_schema/nisttest/hexBinary/minLength/NISTSchema-hexBinary-minLength-1.html#NISTXML-hexBinary-minLength-1-4
xml_schema/nisttest/hexBinary/minLength/NISTSchema-hexBinary-minLength-1.html#NISTXML-hexBinary-minLength-1-5
xml_schema/nisttest/hexBinary/pattern/NISTSchema-hexBinary-pattern-1.html#NISTXML-hexBinary-pattern-1-1
xml_schema/nisttest/hexBinary/pattern/NISTSchema-hexBinary-pattern-1.html#NISTXML-hexBinary-pattern-1-2
xml_schema/nisttest/hexBinary/pattern/NISTSchema-hexBinary-pattern-1.html#NISTXML-hexBinary-pattern-1-3
xml_schema/nisttest/hexBinary/pattern/NISTSchema-hexBinary-pattern-1.html#NISTXML-hexBinary-pattern-1-4
xml_schema/nisttest/hexBinary/pattern/NISTSchema-hexBinary-pattern-1.html#NISTXML-hexBinary-pattern-1-5
xml_schema/nisttest/hexBinary/whiteSpace/NISTSchema-hexBinary-whiteSpace-1.html#NISTXML-hexBinary-whiteSpace-1-1
xml_schema/nisttest/hexBinary/whiteSpace/NISTSchema-hexBinary-whiteSpace-1.html#NISTXML-hexBinary-whiteSpace-1-2
xml_schema/nisttest/hexBinary/whiteSpace/NISTSchema-hexBinary-whiteSpace-1.html#NISTXML-hexBinary-whiteSpace-1-3
xml_schema/nisttest/hexBinary/whiteSpace/NISTSchema-hexBinary-whiteSpace-1.html#NISTXML-hexBinary-whiteSpace-1-4
xml_schema/nisttest/hexBinary/whiteSpace/NISTSchema-hexBinary-whiteSpace-1.html#NISTXML-hexBinary-whiteSpace-1-5
The problem is inside java.bean.XMLDecoder.readObject() method
a mini-test has prepared (see attachments)
output of it on jdk7.0 b03
-----------------------------------
it162333@~/tests/jaxb>/java/re/jdk/7.0/promoted/all/b03/binaries/solaris-sparcv9/bin/java -cp . JAXBTest
java.lang.ClassNotFoundException: byte
Continuing ...
java.lang.ClassNotFoundException: byte
Continuing ...
java.lang.NullPointerException
Continuing ...
java.lang.NullPointerException: target should not be null
Continuing ...
java.lang.NullPointerException
Continuing ...
java.lang.NullPointerException: target should not be null
Continuing ...
java.lang.NullPointerException
Continuing ...
OK
------------------------------------
this problem appeared in b03 and disappeared in b15
it162333@~/tests/jaxb>for bNN in `ls /java/re/jdk/7.0/promoted/all/`; do echo $bNN; /java/re/jdk/7.0/promoted/all/$bNN/binaries/solaris-sparcv9/bin/java -cp . JAXBTest; done
b01
OK
b02
OK
b03
java.lang.ClassNotFoundException: byte
Continuing ...
java.lang.ClassNotFoundException: byte
Continuing ...
java.lang.NullPointerException
Continuing ...
java.lang.NullPointerException: target should not be null
Continuing ...
java.lang.NullPointerException
Continuing ...
java.lang.NullPointerException: target should not be null
Continuing ...
java.lang.NullPointerException
Continuing ...
OK
b04
java.lang.ClassNotFoundException: byte
Continuing ...
java.lang.ClassNotFoundException: byte
Continuing ...
java.lang.NullPointerException
Continuing ...
java.lang.NullPointerException: target should not be null
Continuing ...
java.lang.NullPointerException
Continuing ...
java.lang.NullPointerException: target should not be null
Continuing ...
java.lang.NullPointerException
Continuing ...
OK
b05
java.lang.ClassNotFoundException: byte
Continuing ...
java.lang.ClassNotFoundException: byte
Continuing ...
java.lang.NullPointerException
Continuing ...
java.lang.NullPointerException: target should not be null
Continuing ...
java.lang.NullPointerException
Continuing ...
java.lang.NullPointerException: target should not be null
Continuing ...
java.lang.NullPointerException
Continuing ...
OK
b06
java.lang.ClassNotFoundException: byte
Continuing ...
java.lang.ClassNotFoundException: byte
Continuing ...
java.lang.NullPointerException
Continuing ...
java.lang.NullPointerException: target should not be null
Continuing ...
java.lang.NullPointerException
Continuing ...
java.lang.NullPointerException: target should not be null
Continuing ...
java.lang.NullPointerException
Continuing ...
OK
b07
java.lang.ClassNotFoundException: byte
Continuing ...
java.lang.ClassNotFoundException: byte
Continuing ...
java.lang.NullPointerException
Continuing ...
java.lang.NullPointerException: target should not be null
Continuing ...
java.lang.NullPointerException
Continuing ...
java.lang.NullPointerException: target should not be null
Continuing ...
java.lang.NullPointerException
Continuing ...
OK
b08
java.lang.ClassNotFoundException: byte
Continuing ...
java.lang.ClassNotFoundException: byte
Continuing ...
java.lang.NullPointerException
Continuing ...
java.lang.NullPointerException: target should not be null
Continuing ...
java.lang.NullPointerException
Continuing ...
java.lang.NullPointerException: target should not be null
Continuing ...
java.lang.NullPointerException
Continuing ...
OK
b09
java.lang.ClassNotFoundException: byte
Continuing ...
java.lang.ClassNotFoundException: byte
Continuing ...
java.lang.NullPointerException
Continuing ...
java.lang.NullPointerException: target should not be null
Continuing ...
java.lang.NullPointerException
Continuing ...
java.lang.NullPointerException: target should not be null
Continuing ...
java.lang.NullPointerException
Continuing ...
OK
b10
java.lang.ClassNotFoundException: byte
Continuing ...
java.lang.ClassNotFoundException: byte
Continuing ...
java.lang.NullPointerException
Continuing ...
java.lang.NullPointerException: target should not be null
Continuing ...
java.lang.NullPointerException
Continuing ...
java.lang.NullPointerException: target should not be null
Continuing ...
java.lang.NullPointerException
Continuing ...
OK
b11
java.lang.ClassNotFoundException: byte
Continuing ...
java.lang.ClassNotFoundException: byte
Continuing ...
java.lang.NullPointerException
Continuing ...
java.lang.NullPointerException: target should not be null
Continuing ...
java.lang.NullPointerException
Continuing ...
java.lang.NullPointerException: target should not be null
Continuing ...
java.lang.NullPointerException
Continuing ...
OK
b12
java.lang.ClassNotFoundException: byte
Continuing ...
java.lang.ClassNotFoundException: byte
Continuing ...
java.lang.NullPointerException
Continuing ...
java.lang.NullPointerException: target should not be null
Continuing ...
java.lang.NullPointerException
Continuing ...
java.lang.NullPointerException: target should not be null
Continuing ...
java.lang.NullPointerException
Continuing ...
OK
b13
java.lang.ClassNotFoundException: byte
Continuing ...
java.lang.ClassNotFoundException: byte
Continuing ...
java.lang.NullPointerException
Continuing ...
java.lang.NullPointerException: target should not be null
Continuing ...
java.lang.NullPointerException
Continuing ...
java.lang.NullPointerException: target should not be null
Continuing ...
java.lang.NullPointerException
Continuing ...
OK
b14
java.lang.ClassNotFoundException: byte
Continuing ...
java.lang.ClassNotFoundException: byte
Continuing ...
java.lang.NullPointerException
Continuing ...
java.lang.NullPointerException: target should not be null
Continuing ...
java.lang.NullPointerException
Continuing ...
java.lang.NullPointerException: target should not be null
Continuing ...
java.lang.NullPointerException
Continuing ...
OK
b15
OK
b16
OK
b17
OK
b18
OK
- duplicates
-
JDK-6531597 LTP: Array of primitives could not be decoded
- Closed