-
Bug
-
Resolution: Fixed
-
P4
-
1.5.1, 8, 22
-
b21
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8323348 | 21.0.3-oracle | Johannes Bechberger | P4 | Resolved | Fixed | b01 |
JDK-8319593 | 21.0.2 | Johannes Bechberger | P4 | Resolved | Fixed | b07 |
JDK-8319576 | 17.0.10 | Johannes Bechberger | P4 | Resolved | Fixed | b02 |
JDK-8319614 | 11.0.22 | Johannes Bechberger | P4 | Resolved | Fixed | b02 |
```
Exception event:
thread: 0x0
clazz: 0x0
method: 0x0
location: 0
object: 0x0
catch_clazz: 0x0
catch_method: 0x0
catch_location: 0
```
This in turn causes jdb to throw an internal NullPointerException:
```
Exception in thread "event-handler" java.lang.NullPointerException: Cannot invoke "com.sun.jdi.ObjectReference.referenceType()" because the return value of "com.sun.jdi.event.ExceptionEvent.exception()" is null
at jdk.jdi/com.sun.tools.example.debug.tty.TTY.exceptionEvent(TTY.java:171)
at jdk.jdi/com.sun.tools.example.debug.tty.EventHandler.exceptionEvent(EventHandler.java:295)
at jdk.jdi/com.sun.tools.example.debug.tty.EventHandler.handleEvent(EventHandler.java:133)
at jdk.jdi/com.sun.tools.example.debug.tty.EventHandler.run(EventHandler.java:78)
at java.base/java.lang.Thread.run(Thread.java:1583)
```
- backported by
-
JDK-8319576 JDWP-agent sends broken exception event with onthrow option
-
- Resolved
-
-
JDK-8319593 JDWP-agent sends broken exception event with onthrow option
-
- Resolved
-
-
JDK-8319614 JDWP-agent sends broken exception event with onthrow option
-
- Resolved
-
-
JDK-8323348 JDWP-agent sends broken exception event with onthrow option
-
- Resolved
-
- relates to
-
JDK-8318564 Debug agent "onthrow" and "onuncaught" arguments rely on unspecified JDWP and JDI behavior.
-
- Open
-
-
JDK-8318568 Documentation for debug agent "onthrow" and "onuncaught" arguments needs improvement
-
- Open
-
-
JDK-8318736 com/sun/jdi/JdwpOnThrowTest.java failed with "transport error 202: bind failed: Address already in use"
-
- Resolved
-
- links to
-
Commit openjdk/jdk11u-dev/662f3bde
-
Commit openjdk/jdk17u-dev/f60d396c
-
Commit openjdk/jdk21u/337271f8
-
Commit openjdk/jdk/8f4ebd89
-
Review openjdk/jdk11u-dev/2206
-
Review openjdk/jdk17u-dev/1902
-
Review openjdk/jdk21u/276
-
Review openjdk/jdk/16145