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

NullPointerException because listenAddress[0] is null

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 18
    • Fix Version/s: 18
    • Component/s: core-svc
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b22
    • CPU:
      x86_64
    • OS:
      os_x

      Description

      Test: com/sun/jdi/RedefineAddPrivateMethod.java

      ----------System.err:(19/1478)----------
      [debuggee] Java HotSpot(TM) 64-Bit Server VM warning: Option AllowRedefinitionToAddDeleteMethods was deprecated in version 13.0 and will likely be removed in a future release.
      java.lang.NullPointerException: Cannot invoke "jdk.test.lib.JDWP$ListenAddress.transport()" because "listenAddress[0]" is null
      at lib.jdb.Debuggee.<init>(Debuggee.java:135)
      at lib.jdb.Debuggee$Launcher.launch(Debuggee.java:117)
      at lib.jdb.Debuggee$Launcher.launch(Debuggee.java:120)
      at lib.jdb.JdbTest.setup(JdbTest.java:117)
      at lib.jdb.JdbTest.run(JdbTest.java:94)
      at RedefineAddPrivateMethod.main(RedefineAddPrivateMethod.java:54)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:568)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:833)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              amenkov Alex Menkov
              Reporter:
              dholmes David Holmes
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: