-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed
Description
Describe the bug
Just calling this end point multiple times make UI frozen, good thing we have graalvm which make starting very fast 🤓

today tested more and did not freeze like yesterday but got these exceptions on multiple calls.
09:15:23.343 [JavaFX Application Thread] INFO i.g.o.swaggerific.tools.HttpUtility - Request completed with status code: 200
Exception in thread "JavaFX Application Thread" java.lang.IndexOutOfBoundsException: Position 54117 is out of bounds
at org.reactfx.util.FingerTree$NonEmptyFingerTree.locate(FingerTree.java:42)
at org.fxmisc.richtext.model.ReadOnlyStyledDocument.split(ReadOnlyStyledDocument.java:278)
at org.fxmisc.richtext.model.ReadOnlyStyledDocument.subSequence(ReadOnlyStyledDocument.java:318)
at org.fxmisc.richtext.model.GenericEditableStyledDocumentBase.subSequence(GenericEditableStyledDocumentBase.java:196)
at org.fxmisc.richtext.model.SimpleEditableStyledDocument.subSequence(SimpleEditableStyledDocument.java:10)
at org.fxmisc.richtext.model.StyledDocument.getText(StyledDocument.java:35)
at org.fxmisc.richtext.GenericStyledArea.getText(GenericStyledArea.java:1119)
at io.github.ozkanpakdil.swaggerific.ui.textfx.BracketHighlighter.highlightBracket(BracketHighlighter.java:33)
at io.github.ozkanpakdil.swaggerific.ui.textfx.BracketHighlighter.lambda$new$1(BracketHighlighter.java:24)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:456)
at java.base@23.0.2/java.security.AccessController.executePrivileged(AccessController.java:132)
at java.base@23.0.2/java.security.AccessController.doPrivileged(AccessController.java:400)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:455)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:185)
at java.base@23.0.2/java.lang.Thread.runWith(Thread.java:1588)
at java.base@23.0.2/java.lang.Thread.run(Thread.java:1575)
at org.graalvm.nativeimage.builder/com.oracle.svm.core.thread.PlatformThreads.threadStartRoutine(PlatformThreads.java:832)
at org.graalvm.nativeimage.builder/com.oracle.svm.core.thread.PlatformThreads.threadStartRoutine(PlatformThreads.java:808)
Exception in thread "JavaFX Application Thread" java.lang.IndexOutOfBoundsException: Position 54117 is out of bounds
at org.reactfx.util.FingerTree$NonEmptyFingerTree.locate(FingerTree.java:42)
at org.fxmisc.richtext.model.ReadOnlyStyledDocument.split(ReadOnlyStyledDocument.java:278)
at org.fxmisc.richtext.model.ReadOnlyStyledDocument.subSequence(ReadOnlyStyledDocument.java:318)
at org.fxmisc.richtext.model.GenericEditableStyledDocumentBase.subSequence(GenericEditableStyledDocumentBase.java:196)
at org.fxmisc.richtext.model.SimpleEditableStyledDocument.subSequence(SimpleEditableStyledDocument.java:10)
at org.fxmisc.richtext.model.StyledDocument.getText(StyledDocument.java:35)
at org.fxmisc.richtext.GenericStyledArea.getText(GenericStyledArea.java:1119)
at io.github.ozkanpakdil.swaggerific.ui.textfx.BracketHighlighter.highlightBracket(BracketHighlighter.java:33)
at io.github.ozkanpakdil.swaggerific.ui.textfx.BracketHighlighter.lambda$new$1(BracketHighlighter.java:24)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:456)
at java.base@23.0.2/java.security.AccessController.executePrivileged(AccessController.java:132)
at java.base@23.0.2/java.security.AccessController.doPrivileged(AccessController.java:400)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:455)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:185)
at java.base@23.0.2/java.lang.Thread.runWith(Thread.java:1588)
at java.base@23.0.2/java.lang.Thread.run(Thread.java:1575)
at org.graalvm.nativeimage.builder/com.oracle.svm.core.thread.PlatformThreads.threadStartRoutine(PlatformThreads.java:832)
at org.graalvm.nativeimage.builder/com.oracle.svm.core.thread.PlatformThreads.threadStartRoutine(PlatformThreads.java:808)
Exception in thread "JavaFX Application Thread" java.lang.IndexOutOfBoundsException: Position 54117 is out of bounds
at org.reactfx.util.FingerTree$NonEmptyFingerTree.locate(FingerTree.java:42)
at org.fxmisc.richtext.model.ReadOnlyStyledDocument.split(ReadOnlyStyledDocument.java:278)
at org.fxmisc.richtext.model.ReadOnlyStyledDocument.subSequence(ReadOnlyStyledDocument.java:318)
at org.fxmisc.richtext.model.GenericEditableStyledDocumentBase.subSequence(GenericEditableStyledDocumentBase.java:196)
at org.fxmisc.richtext.model.SimpleEditableStyledDocument.subSequence(SimpleEditableStyledDocument.java:10)
at org.fxmisc.richtext.model.StyledDocument.getText(StyledDocument.java:35)
at org.fxmisc.richtext.GenericStyledArea.getText(GenericStyledArea.java:1119)
at io.github.ozkanpakdil.swaggerific.ui.textfx.BracketHighlighter.highlightBracket(BracketHighlighter.java:33)
at io.github.ozkanpakdil.swaggerific.ui.textfx.BracketHighlighter.lambda$new$1(BracketHighlighter.java:24)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:456)
at java.base@23.0.2/java.security.AccessController.executePrivileged(AccessController.java:132)
at java.base@23.0.2/java.security.AccessController.doPrivileged(AccessController.java:400)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:455)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:185)
at java.base@23.0.2/java.lang.Thread.runWith(Thread.java:1588)
at java.base@23.0.2/java.lang.Thread.run(Thread.java:1575)
at org.graalvm.nativeimage.builder/com.oracle.svm.core.thread.PlatformThreads.threadStartRoutine(PlatformThreads.java:832)
at org.graalvm.nativeimage.builder/com.oracle.svm.core.thread.PlatformThreads.threadStartRoutine(PlatformThreads.java:808)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed