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

javax/xml/soap/spi/SAAJFactoryTest.java fails intermittently

XMLWordPrintable

    • windows

      That will cause test setup fails on Windows sometimes. As well as another test issue: test should not continue when setup fails.

      [scenario10] writing configuration [saaj.factory.NonExisting] into file [C:\\Users\\aurora\\sandbox\\gresults\\testoutput\\jdk_other\\JTwork\\classes\\javax\\xml\\soap\\spi\\META-INF\\services\\javax.xml.soap.MessageFactory]
      [scenario10] SETUP FAILED.
           TEST: factory class = [com.sun.xml.internal.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl]

      [scenario10] PASSED.
      [scenario10] FAILED - ERROR: Incorrect factory: [com.sun.xml.internal.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl], Expected: [-]
      [scenario10] FAILED - ERROR: Got unexpected exception: [java.lang.RuntimeException], expected: [javax.xml.soap.SOAPException]
      ----------System.err:(159/13707)*----------
      javax.xml.soap.SOAPException: Unable to create message factory for SOAP: Error while searching for service [javax.xml.soap.MessageFactory]
      at javax.xml.soap.MessageFactory.newInstance(java.xml.ws@9-ea/MessageFactory.java:106)
      at SAAJFactoryTest.factory(SAAJFactoryTest.java:95)
      at SAAJFactoryTest.test(SAAJFactoryTest.java:117)
      at SAAJFactoryTest.main(SAAJFactoryTest.java:196)
      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method)
      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62)
      at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:531)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
      at java.lang.Thread.run(java.base@9-ea/Thread.java:804)
      java.nio.file.AccessDeniedException: C:\\Users\\aurora\\sandbox\\gresults\\testoutput\\jdk_other\\JTwork\\classes\\javax\\xml\\soap\\spi\\META-INF\\services\\javax.xml.soap.MessageFactory
      at sun.nio.fs.WindowsException.translateToIOException(java.base@9-ea/WindowsException.java:89)
      at sun.nio.fs.WindowsException.rethrowAsIOException(java.base@9-ea/WindowsException.java:103)
      at sun.nio.fs.WindowsException.rethrowAsIOException(java.base@9-ea/WindowsException.java:108)
      at sun.nio.fs.WindowsFileSystemProvider.implDelete(java.base@9-ea/WindowsFileSystemProvider.java:270)
      at sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(java.base@9-ea/AbstractFileSystemProvider.java:110)
      at java.nio.file.Files.deleteIfExists(java.base@9-ea/Files.java:1168)
      at SAAJFactoryTest.cleanResource(SAAJFactoryTest.java:143)
      at SAAJFactoryTest.setupFile(SAAJFactoryTest.java:169)
      at SAAJFactoryTest.prepare(SAAJFactoryTest.java:155)
      at SAAJFactoryTest.test(SAAJFactoryTest.java:114)
      at SAAJFactoryTest.main(SAAJFactoryTest.java:205)
      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method)
      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62)
      at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:531)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
      at java.lang.Thread.run(java.base@9-ea/Thread.java:804)
      java.nio.file.AccessDeniedException: C:\\Users\\aurora\\sandbox\\gresults\\testoutput\\jdk_other\\JTwork\\classes\\javax\\xml\\soap\\spi\\META-INF\\services
      at sun.nio.fs.WindowsException.translateToIOException(java.base@9-ea/WindowsException.java:89)
      at sun.nio.fs.WindowsException.rethrowAsIOException(java.base@9-ea/WindowsException.java:103)
      at sun.nio.fs.WindowsException.rethrowAsIOException(java.base@9-ea/WindowsException.java:108)
      at sun.nio.fs.WindowsFileSystemProvider.createDirectory(java.base@9-ea/WindowsFileSystemProvider.java:505)
      at java.nio.file.Files.createDirectory(java.base@9-ea/Files.java:677)
      at java.nio.file.Files.createAndCheckIsDirectory(java.base@9-ea/Files.java:784)
      at java.nio.file.Files.createDirectories(java.base@9-ea/Files.java:770)
      at SAAJFactoryTest.setupFile(SAAJFactoryTest.java:172)
      at SAAJFactoryTest.prepare(SAAJFactoryTest.java:155)
      at SAAJFactoryTest.test(SAAJFactoryTest.java:114)
      at SAAJFactoryTest.main(SAAJFactoryTest.java:205)
      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method)
      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62)
      at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:531)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
      at java.lang.Thread.run(java.base@9-ea/Thread.java:804)

            fyuan Frank Yuan (Inactive)
            fyuan Frank Yuan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: