Hello,
i am working on XML editor with syntax highlighting using RichTextFX. Everything was running smoothly until I started using large XML files. Then my applicatioon and even XML Editor demo started crashing on StackOverFlow exception:
Executing xxx.jar using platform C:\Program Files\Java\jdk1.8.0_51\jre/bin/java
Exception in thread "JavaFX Application Thread" java.lang.StackOverflowError
at org.reactfx.util.ListsHelper$ConcatListView.size(Lists.java:250)
at java.util.Collections$UnmodifiableCollection.size(Collections.java:1030)
at org.reactfx.util.ListsHelper$ConcatListView.size(Lists.java:250)
at java.util.Collections$UnmodifiableCollection.size(Collections.java:1030)
at org.reactfx.util.ListsHelper$ConcatListView.size(Lists.java:250)
at java.util.Collections$UnmodifiableCollection.size(Collections.java:1030)
at org.reactfx.util.ListsHelper$ConcatListView.size(Lists.java:250)
at java.util.Collections$UnmodifiableCollection.size(Collections.java:1030)
at org.reactfx.util.ListsHelper$ConcatListView.size(Lists.java:250)
at java.util.Collections$UnmodifiableCollection.size(Collections.java:1030)
at org.reactfx.util.ListsHelper$ConcatListView.size(Lists.java:250)
at java.util.Collections$UnmodifiableCollection.size(Collections.java:1030)
at org.reactfx.util.ListsHelper$ConcatListView.size(Lists.java:250)
at java.util.Collections$UnmodifiableCollection.size(Collections.java:1030)
(etc...)
What is weird: program is working for 15 MB of XML data and it crashes for 2 MB of XML data. I did not spotted any bigger differences in file's structure.
It is working for this data: http://dawon.cz/test1.xml and not working for this: http://dawon.cz/test2.xml
Can you please look into this issue?
Thank you very much
Jakub
Hello,
i am working on XML editor with syntax highlighting using RichTextFX. Everything was running smoothly until I started using large XML files. Then my applicatioon and even XML Editor demo started crashing on StackOverFlow exception:
What is weird: program is working for 15 MB of XML data and it crashes for 2 MB of XML data. I did not spotted any bigger differences in file's structure.
It is working for this data: http://dawon.cz/test1.xml and not working for this: http://dawon.cz/test2.xml
Can you please look into this issue?
Thank you very much
Jakub