Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8015593

[macosx] Test java/beans/XMLEncoder/Test6570354.java fails on MacOS X

XMLWordPrintable

      Testsuite name: Regression
      Test name: java/beans/XMLEncoder/Test6570354.java
      JDK tested: 8b91
      OS tested: MacOSX
      Is it a regression: No

      Test fails against JDK 8 all builds

      LOG:

      #section:main
      ----------messages:(3/121)----------
      command: main Test6570354
      reason: Assumed action based on file name: run main Test6570354
      elapsed time (seconds): 0.921
      ----------System.out:(1/12)----------
      Test object
      ----------System.err:(71/4162)----------
      java.lang.Error: unexpected exception
      at AbstractTest.exceptionThrown(AbstractTest.java:39)
      at java.beans.Encoder.getValue(Encoder.java:108)
      at java.beans.Encoder.get(Encoder.java:252)
      at java.beans.PersistenceDelegate.writeObject(PersistenceDelegate.java:112)
      at java.beans.Encoder.writeObject(Encoder.java:74)
      at java.beans.XMLEncoder.writeObject(XMLEncoder.java:327)
      at java.beans.Encoder.writeExpression(Encoder.java:330)
      at java.beans.XMLEncoder.writeExpression(XMLEncoder.java:454)
      at java.beans.PersistenceDelegate.writeObject(PersistenceDelegate.java:115)
      at java.beans.Encoder.writeObject(Encoder.java:74)
      at java.beans.XMLEncoder.writeObject(XMLEncoder.java:327)
      at java.beans.Encoder.writeObject1(Encoder.java:258)
      at java.beans.Encoder.cloneStatement(Encoder.java:271)
      at java.beans.Encoder.writeStatement(Encoder.java:301)
      at java.beans.XMLEncoder.writeStatement(XMLEncoder.java:400)
      at java.beans.DefaultPersistenceDelegate.invokeStatement(DefaultPersistenceDelegate.java:217)
      at java.beans.DefaultPersistenceDelegate.initBean(DefaultPersistenceDelegate.java:340)
      at java.beans.DefaultPersistenceDelegate.initialize(DefaultPersistenceDelegate.java:400)
      at java.beans.PersistenceDelegate.writeObject(PersistenceDelegate.java:118)
      at java.beans.Encoder.writeObject(Encoder.java:74)
      at java.beans.XMLEncoder.writeObject(XMLEncoder.java:327)
      at java.beans.Encoder.writeExpression(Encoder.java:330)
      at java.beans.XMLEncoder.writeExpression(XMLEncoder.java:454)
      at java.beans.PersistenceDelegate.writeObject(PersistenceDelegate.java:115)
      at java.beans.Encoder.writeObject(Encoder.java:74)
      at java.beans.XMLEncoder.writeObject(XMLEncoder.java:327)
      at java.beans.Encoder.writeObject1(Encoder.java:258)
      at java.beans.Encoder.cloneStatement(Encoder.java:271)
      at java.beans.Encoder.writeStatement(Encoder.java:301)
      at java.beans.XMLEncoder.writeStatement(XMLEncoder.java:400)
      at java.beans.XMLEncoder.writeObject(XMLEncoder.java:330)
      at AbstractTest.writeObject(AbstractTest.java:141)
      at AbstractTest.testObject(AbstractTest.java:131)
      at AbstractTest.test(AbstractTest.java:103)
      at Test6570354.main(Test6570354.java:36)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:474)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:722)
      Caused by: java.lang.InstantiationException: java.beans.PropertyChangeListenerProxy
      at java.lang.Class.newInstance0(Class.java:353)
      at java.lang.Class.newInstance(Class.java:320)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:474)
      at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:51)
      at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:474)
      at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:259)
      at java.beans.Statement.invokeInternal(Statement.java:292)
      at java.beans.Statement.access$000(Statement.java:58)
      at java.beans.Statement$2.run(Statement.java:185)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.beans.Statement.invoke(Statement.java:182)
      at java.beans.Expression.getValue(Expression.java:153)
      at java.beans.Encoder.getValue(Encoder.java:105)
      ... 39 more
      Caused by: java.lang.NoSuchMethodException: java.beans.PropertyChangeListenerProxy.<init>()
      at java.lang.Class.getConstructor0(Class.java:2720)
      at java.lang.Class.newInstance0(Class.java:338)
      ... 56 more

      JavaTest Message: Test threw exception: java.lang.Error: unexpected exception
      JavaTest Message: shutting down test

        There are no Sub-Tasks for this issue.

            Unassigned Unassigned
            kshefov Konstantin Shefov
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated: