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

tools/pack200/Pack200Test.java failed with NullPointerException

    Details

      Description

      Test tools/pack200/Pack200Test.java failed on Windows platform with following error message:

      ----------System.err:(27/1553)----------
      Feb 05, 2016 5:22:30 AM com.sun.java.util.jar.pack.Utils$Pack200Logger warning
      WARNING: Passing class file uncompressed due to unrecognized attribute: odds/BadAtt.class
      Feb 05, 2016 5:22:30 AM com.sun.java.util.jar.pack.Utils$Pack200Logger warning
      WARNING: Passing class file uncompressed due to unrecognized attribute: odds/BadCFV.class
      Feb 05, 2016 5:22:30 AM com.sun.java.util.jar.pack.Utils$Pack200Logger warning
      WARNING: Passing class file uncompressed due to unrecognized attribute: odds/BadFmt.class
      java.lang.NullPointerException
      at java.util.Objects.requireNonNull(Objects.java:220)
      at java.util.Arrays$ArrayList.<init>(Arrays.java:4322)
      at java.util.Arrays.asList(Arrays.java:4309)
      at Utils.findFiles0(Utils.java:327)
      at Utils.findFiles0(Utils.java:330)
      at Utils.findFiles(Utils.java:317)
      at Utils.cleanup(Utils.java:183)
      at Pack200Test.doPackUnpack(Pack200Test.java:121)
      at Pack200Test.main(Pack200Test.java:133)
      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:520)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
      at java.lang.Thread.run(Thread.java:804)

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

      STATUS:Failed.`main' threw exception: java.lang.NullPointerException

        Attachments

          Activity

            People

            • Assignee:
              amlu Amy Lu
              Reporter:
              amjiang Amanda Jiang (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: