Test name(s):java/beans/XMLEncoder/Test4903007.java
java/beans/XMLEncoder/java_awt_GridBagLayout.java
JDK tested: 9b32,9b31,9b30
OS tested:Windows,Linux
Is it a regression? Yes
Regression introduced in release/build: b31
Is it platform specific? No
The is failure reproduced:Windows,Linux
java/beans/XMLEncoder/Test4903007.java
----------System.err:(50/3767)----------
java.lang.Error: unexpected exception
at AbstractTest.exceptionThrown(AbstractTest.java:39)
at com.sun.beans.decoder.DocumentHandler.handleException(DocumentHandler.java:359)
at com.sun.beans.decoder.NewElementHandler.getValueObject(NewElementHandler.java:126)
at com.sun.beans.decoder.ObjectElementHandler.startElement(ObjectElementHandler.java:113)
at com.sun.beans.decoder.DocumentHandler.startElement(DocumentHandler.java:300)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:508)
at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:182)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1342)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2785)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:605)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:509)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:868)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:797)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:140)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1212)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:648)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(SAXParserImpl.java:332)
at com.sun.beans.decoder.DocumentHandler$1.run(DocumentHandler.java:375)
at com.sun.beans.decoder.DocumentHandler$1.run(DocumentHandler.java:372)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
at com.sun.beans.decoder.DocumentHandler.parse(DocumentHandler.java:372)
at java.beans.XMLDecoder$1.run(XMLDecoder.java:201)
at java.beans.XMLDecoder$1.run(XMLDecoder.java:199)
at java.security.AccessController.doPrivileged(Native Method)
at java.beans.XMLDecoder.parsingComplete(XMLDecoder.java:199)
at java.beans.XMLDecoder.readObject(XMLDecoder.java:250)
at AbstractTest.readObject(AbstractTest.java:151)
at AbstractTest.testObject(AbstractTest.java:133)
at AbstractTest.test(AbstractTest.java:103)
at Test4903007.main(Test4903007.java:39)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NoSuchFieldException: Field 'width' is not static
at com.sun.beans.finder.FieldFinder.findStaticField(FieldFinder.java:99)
at com.sun.beans.decoder.FieldElementHandler.findField(FieldElementHandler.java:186)
at com.sun.beans.decoder.FieldElementHandler.getFieldValue(FieldElementHandler.java:158)
at com.sun.beans.decoder.ObjectElementHandler.getValueObject(ObjectElementHandler.java:141)
at com.sun.beans.decoder.NewElementHandler.getValueObject(NewElementHandler.java:123)
... 34 more
JavaTest Message: Test threw exception: java.lang.Error: unexpected exception
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.Error: unexpected exception
java/beans/XMLEncoder/java_awt_GridBagLayout.java
----------System.err:(50/3793)----------
java.lang.Error: unexpected exception
at AbstractTest.exceptionThrown(AbstractTest.java:39)
at com.sun.beans.decoder.DocumentHandler.handleException(DocumentHandler.java:359)
at com.sun.beans.decoder.NewElementHandler.getValueObject(NewElementHandler.java:126)
at com.sun.beans.decoder.ObjectElementHandler.startElement(ObjectElementHandler.java:113)
at com.sun.beans.decoder.DocumentHandler.startElement(DocumentHandler.java:300)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:508)
at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:182)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1342)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2785)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:605)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:509)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:868)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:797)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:140)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1212)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:648)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(SAXParserImpl.java:332)
at com.sun.beans.decoder.DocumentHandler$1.run(DocumentHandler.java:375)
at com.sun.beans.decoder.DocumentHandler$1.run(DocumentHandler.java:372)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
at com.sun.beans.decoder.DocumentHandler.parse(DocumentHandler.java:372)
at java.beans.XMLDecoder$1.run(XMLDecoder.java:201)
at java.beans.XMLDecoder$1.run(XMLDecoder.java:199)
at java.security.AccessController.doPrivileged(Native Method)
at java.beans.XMLDecoder.parsingComplete(XMLDecoder.java:199)
at java.beans.XMLDecoder.readObject(XMLDecoder.java:250)
at AbstractTest.readObject(AbstractTest.java:151)
at AbstractTest.testObject(AbstractTest.java:133)
at AbstractTest.test(AbstractTest.java:103)
at java_awt_GridBagLayout.main(java_awt_GridBagLayout.java:43)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NoSuchFieldException: Field 'gridwidth' is not static
at com.sun.beans.finder.FieldFinder.findStaticField(FieldFinder.java:99)
at com.sun.beans.decoder.FieldElementHandler.findField(FieldElementHandler.java:186)
at com.sun.beans.decoder.FieldElementHandler.getFieldValue(FieldElementHandler.java:158)
at com.sun.beans.decoder.ObjectElementHandler.getValueObject(ObjectElementHandler.java:141)
at com.sun.beans.decoder.NewElementHandler.getValueObject(NewElementHandler.java:123)
... 34 more
JavaTest Message: Test threw exception: java.lang.Error: unexpected exception
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.Error: unexpected exception