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

NullPointerException because listenAddress[0] is null

XMLWordPrintable

    • b22
    • x86_64
    • os_x

        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)

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

                Created:
                Updated:
                Resolved: