RFR: 7903336: java.lang.NullPointerException: at com.sun.javatest.TestSuite$GeneralPurposeLogger.<init>(TestSuite.java:1494) [v2]

Dmitry Bessonov dbessono at openjdk.org
Sun Oct 2 13:14:34 UTC 2022


> 7903336: java.lang.NullPointerException: at com.sun.javatest.TestSuite$GeneralPurposeLogger.<init>(TestSuite.java:1494)
> 
> Noticed when running a test suite:
> 
> java.lang.NullPointerException
> at java.base/java.util.Objects.requireNonNull(Objects.java:233)
> at java.logging/java.util.logging.Logger.addHandler(Logger.java:2064)
> at com.sun.javatest.TestSuite$GeneralPurposeLogger.<init>(TestSuite.java:1494)
> at com.sun.javatest.TestSuite$GeneralPurposeLogger.<init>(TestSuite.java:1481)
> at com.sun.javatest.TestSuite.createLog(TestSuite.java:1303)
> at com.sun.javatest.services.Service.createLog(Service.java:325)
> at com.sun.javatest.services.ServiceManager.setParameters(ServiceManager.java:133)
> at com.sun.javatest.services.ServiceManager.setHarness(ServiceManager.java:126)
> at com.sun.javatest.TestSuite.starting(TestSuite.java:546)
> at com.sun.jck.lib.JCKTestSuite.starting(JCKTestSuite.java:268)
> at com.sun.javatest.Harness.runTests(Harness.java:751)
> at com.sun.javatest.Harness.batch(Harness.java:447)
> at com.sun.javatest.batch.RunTestsCommand.run(RunTestsCommand.java:116)
> at com.sun.javatest.tool.CommandContext.runCommands(CommandContext.java:198)
> at com.sun.javatest.tool.Main.run(Main.java:427)
> at com.sun.javatest.tool.Main.main0(Main.java:139)
> at com.sun.javatest.tool.Main.main(Main.java:117)

Dmitry Bessonov has updated the pull request incrementally with one additional commit since the last revision:

  additional improvements per reviewer's comments

-------------

Changes:
  - all: https://git.openjdk.org/jtharness/pull/40/files
  - new: https://git.openjdk.org/jtharness/pull/40/files/72aabe30..ce579484

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jtharness&pr=40&range=01
 - incr: https://webrevs.openjdk.org/?repo=jtharness&pr=40&range=00-01

  Stats: 12 lines in 1 file changed: 4 ins; 0 del; 8 mod
  Patch: https://git.openjdk.org/jtharness/pull/40.diff
  Fetch: git fetch https://git.openjdk.org/jtharness pull/40/head:pull/40

PR: https://git.openjdk.org/jtharness/pull/40


More information about the jtharness-dev mailing list