Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RichText demo can not load sample document anymore #629

Closed
afester opened this issue Oct 23, 2017 · 0 comments
Closed

RichText demo can not load sample document anymore #629

afester opened this issue Oct 23, 2017 · 0 comments

Comments

@afester
Copy link
Collaborator

afester commented Oct 23, 2017

  • Launch the RichText demo
  • Load document "sample.rtfx"
java.io.EOFException
	at java.base/java.io.DataInputStream.readFully(DataInputStream.java:202)
	at java.base/java.io.DataInputStream.readUTF(DataInputStream.java:614)
	at java.base/java.io.DataInputStream.readUTF(DataInputStream.java:569)
	at org.fxmisc.richtext.model.Codec$1.decode(Codec.java:35)
	at org.fxmisc.richtext.model.Codec$1.decode(Codec.java:1)
	at org.fxmisc.richtext.model.Codec$5.decode(Codec.java:146)
	at org.fxmisc.richtext.model.Codec$5.decode(Codec.java:1)
	at org.fxmisc.richtext.demo.richtext.TextStyle$1.decode(TextStyle.java:49)
	at org.fxmisc.richtext.demo.richtext.TextStyle$1.decode(TextStyle.java:1)
	at org.fxmisc.richtext.model.Codec$3.decode(Codec.java:82)
	at org.fxmisc.richtext.model.Codec$3.decode(Codec.java:1)
	at org.fxmisc.richtext.model.SuperCodec$1.decode(SuperCodec.java:44)
	at org.fxmisc.richtext.model.SuperCodec$1.decode(SuperCodec.java:1)
	at org.fxmisc.richtext.model.ReadOnlyStyledDocument$3.decode(ReadOnlyStyledDocument.java:150)
	at org.fxmisc.richtext.model.ReadOnlyStyledDocument$3.decode(ReadOnlyStyledDocument.java:1)
	at org.fxmisc.richtext.model.SuperCodec$1.decode(SuperCodec.java:44)
	at org.fxmisc.richtext.model.SuperCodec$1.decode(SuperCodec.java:1)
	at org.fxmisc.richtext.model.ReadOnlyStyledDocument$2.decode(ReadOnlyStyledDocument.java:124)
	at org.fxmisc.richtext.model.ReadOnlyStyledDocument$2.decode(ReadOnlyStyledDocument.java:1)
	at org.fxmisc.richtext.demo.richtext.RichText.load(RichText.java:383)
	at org.fxmisc.richtext.demo.richtext.RichText.loadDocument(RichText.java:370)```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant