JQL opened a new issue, #6965:
URL: https://github.com/apache/netbeans/issues/6965
### Apache NetBeans version
Apache NetBeans 20
### What happened
While editing a Markdown File and saving it the error occurred
(java.lang.ArrayIndexOutOfBoundsException).
### Language / Project Type / NetBeans Component
Markdown
### How to reproduce
Create and edit a Markdown file then save it.
### Did this work correctly in an earlier version?
Apache NetBeans 19
### Operating System
Linux version 5.4.0-150-generic running on amd64; UTF-8; en_GB (nb)
### JDK
17.0.7; OpenJDK 64-Bit Server VM 17.0.7+7-Ubuntu-0ubuntu118.04
### Apache NetBeans packaging
Apache NetBeans provided installer
### Anything else
java.lang.ArrayIndexOutOfBoundsException: Index 0 out of bounds for length 0
at java.desktop/javax.swing.text.BoxView.getOffset(BoxView.java:1102)
at
java.desktop/javax.swing.text.BoxView.childAllocation(BoxView.java:696)
at
java.desktop/javax.swing.text.CompositeView.getChildAllocation(CompositeView.java:234)
at
java.desktop/javax.swing.text.BoxView.getChildAllocation(BoxView.java:454)
at
java.desktop/javax.swing.plaf.basic.BasicTextUI$UpdateHandler.calculateViewPosition(BasicTextUI.java:2111)
at
java.desktop/javax.swing.plaf.basic.BasicTextUI$UpdateHandler.layoutContainer(BasicTextUI.java:2087)
at java.desktop/java.awt.Container.layout(Container.java:1541)
at java.desktop/java.awt.Container.doLayout(Container.java:1530)
at java.desktop/java.awt.Container.validateTree(Container.java:1725)
at java.desktop/java.awt.Container.validateTree(Container.java:1734)
at java.desktop/java.awt.Container.validateTree(Container.java:1734)
at java.desktop/java.awt.Container.validate(Container.java:1660)
at
java.desktop/javax.swing.RepaintManager$3.run(RepaintManager.java:757)
at
java.desktop/javax.swing.RepaintManager$3.run(RepaintManager.java:755)
at
java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
at
java.desktop/javax.swing.RepaintManager.validateInvalidComponents(RepaintManager.java:754)
at
java.desktop/javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1897)
at
java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318)
at
java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:771)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:722)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:716)
at
java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:741)
at
org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
[catch] at
java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at
java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at
java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at
java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at
java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at
java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
### Are you willing to submit a pull request?
No
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists