-
Bug
-
Resolution: Fixed
-
P3
-
jfx11, 8u40, jfx17, jfx18, jfx19
-
b27
-
b03
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8297440 | jfx17.0.6 | Ambarish Rapte | P3 | Resolved | Fixed | |
JDK-8293115 | 8u361 | Ambarish Rapte | P3 | Resolved | Fixed | b01 |
JDK-8294811 | 8u351 | Ambarish Rapte | P3 | Resolved | Fixed | b31 |
JDK-8293418 | 8u341 | Ambarish Rapte | P3 | Closed | Fixed | b32 |
JDK-8297485 | jfx11.0.18 | Ambarish Rapte | P3 | Resolved | Fixed |
Tested with Java 8u321 and Java 17
TextArea
Exception in thread "JavaFX Application Thread" java.lang.NullPointerException
at javafx.scene.text.Text.queryAccessibleAttribute(Text.java:1931)
at com.sun.javafx.scene.control.skin.TextAreaSkin.queryAccessibleAttribute(TextAreaSkin.java:1384)
at javafx.scene.control.Control.queryAccessibleAttribute(Control.java:917)
at javafx.scene.control.TextInputControl.queryAccessibleAttribute(TextInputControl.java:1578)
at javafx.scene.Node$19.getAttribute(Node.java:9659)
at com.sun.glass.ui.Accessible$GetAttribute.run(Accessible.java:142)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.glass.ui.Accessible.lambda$getAttribute$0(Accessible.java:169)
at com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(QuantumToolkit.java:411)
at com.sun.glass.ui.Accessible.getAttribute(Accessible.java:166)
at com.sun.glass.ui.win.WinTextRangeProvider.getAttribute(WinTextRangeProvider.java:112)
at com.sun.glass.ui.win.WinTextRangeProvider.ExpandToEnclosingUnit(WinTextRangeProvider.java:181)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.lambda$null$4(WinApplication.java:185)
at java.lang.Thread.run(Unknown Source)
TextField
Exception in thread "JavaFX Application Thread" java.lang.IllegalArgumentException: offset out of bounds
at sun.util.locale.provider.RuleBasedBreakIterator.checkOffset(RuleBasedBreakIterator.java:759)
at sun.util.locale.provider.RuleBasedBreakIterator.isBoundary(RuleBasedBreakIterator.java:834)
at com.sun.glass.ui.win.WinTextRangeProvider.isWordStart(WinTextRangeProvider.java:119)
at com.sun.glass.ui.win.WinTextRangeProvider.ExpandToEnclosingUnit(WinTextRangeProvider.java:163)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.lambda$null$4(WinApplication.java:185)
at java.lang.Thread.run(Thread.java:748)
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
I provided a standalone testcase.
You can download it here:
<link>
1) Start Programm
2) Start Narrator ( Win + Ctrl + Enter)
3) Remove last character will cause the exception.
Hints:
- Only removing the last character causes the exception
FREQUENCY : always
- backported by
-
JDK-8293115 [Accessibility] [Win] [Narrator] Exceptions with TextArea & TextField when deleted last char
-
- Resolved
-
-
JDK-8294811 [Accessibility] [Win] [Narrator] Exceptions with TextArea & TextField when deleted last char
-
- Resolved
-
-
JDK-8297440 [Accessibility] [Win] [Narrator] Exceptions with TextArea & TextField when deleted last char
-
- Resolved
-
-
JDK-8297485 [Accessibility] [Win] [Narrator] Exceptions with TextArea & TextField when deleted last char
-
- Resolved
-
-
JDK-8293418 [Accessibility] [Win] [Narrator] Exceptions with TextArea & TextField when deleted last char
-
- Closed
-
- relates to
-
JDK-8293795 [Accessibility] [Win] [Narrator] Exceptions When Deleting Text with Continuous Key Press in TextArea and TextField
-
- Resolved
-
- links to
-
Commit openjdk/jfx11u/088509eb
-
Commit openjdk/jfx17u/3a79a154
-
Commit openjdk/jfx/996eb84b
-
Review openjdk/jfx11u/117
-
Review openjdk/jfx17u/98
-
Review openjdk/jfx/884