You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
java.lang.IllegalArgumentException: Cannot construct a Paragraph with an empty list of segments
at org.fxmisc.richtext.model.Paragraph.<init>(Paragraph.java:67)
at org.fxmisc.richtext.model.Paragraph.restyle(Paragraph.java:249)
at org.fxmisc.richtext.model.GenericEditableStyledDocumentBase.lambda$5(GenericEditableStyledDocumentBase.java:160)
at org.fxmisc.richtext.model.ReadOnlyStyledDocument.lambda$10(ReadOnlyStyledDocument.java:272)
at org.reactfx.util.Tuple2.map(Tuple2.java:31)
at org.fxmisc.richtext.model.ReadOnlyStyledDocument.lambda$7(ReadOnlyStyledDocument.java:271)
at org.reactfx.util.Tuple2.map(Tuple2.java:31)
at org.fxmisc.richtext.model.ReadOnlyStyledDocument.replace(ReadOnlyStyledDocument.java:270)
at org.fxmisc.richtext.model.ReadOnlyStyledDocument.replace(ReadOnlyStyledDocument.java:260)
at org.fxmisc.richtext.model.GenericEditableStyledDocumentBase.setStyleSpans(GenericEditableStyledDocumentBase.java:154)
at org.fxmisc.richtext.model.SimpleEditableStyledDocument.setStyleSpans(SimpleEditableStyledDocument.java:1)
at org.fxmisc.richtext.GenericStyledArea.setStyleSpans(GenericStyledArea.java:1282)
I wasn't getting this exception with version 0.7-M3.
The text was updated successfully, but these errors were encountered:
Consider the following test case:
I got the following exception:
I wasn't getting this exception with version 0.7-M3.
The text was updated successfully, but these errors were encountered: