I also see the exception with no highlighting but with hyperlinks, eg with the text below. STDERR: Nov 20, 2025 3:31:28 PM org.freeplane.core.util.LogUtils severe SEVERE: Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: arraycopy: last destination index 469 out of bounds for object array[468] at java.base/java.util.Vector.copyInto(Unknown Source) at java.desktop/javax.swing.text.DefaultHighlighter.getHighlights(Unknown Source) at java.desktop/javax.swing.text.GlyphView.paint(Unknown...
Hi! I have a problem with SimplyHTML in Freeplane related to highlighting regions in big texts. When I open the SimplyHTML editor an ArrayIndexOutOfBoundsException occurs. I could not reproduce the problem with only Latin characters so it might be specific.to non-Latin chars. Steps to reproduce with Freeplane 1.12.14 and Java 15.0.2 on Win 10 Pro: - create a new map with one node - Ctrl+F3 to open SimplyHTML - paste the big text below - highlight (change bg color) of the following piece [ с указанием...
I guess the Freemind ( or SimplyHTML) code has to be fixed to resolve the error as I have the latest Java installed ( for the portable Freeplane version on Win): Freeplane docs (https://docs.freeplane.org/getting-started/Distributions.html) read: FreeplanePortable-xxx.paf.exe: runs on Windows using Portable Apps launcher. Requires Open JDK JRE64 portable java version 15 to be installed
It appears this specific stack trace is a known "race condition in Swing's RepaintManager" in older versions of the Java Swing library. I will update Java ( from the current 15.0.2) but it may be worth considering some defensive coding strategies (like adding extra synchronization locks) or documenting the Java version where the problem is fixed.
Dimitry, thank you for your quick response. I could not yet register at GitHub as their captcha support site (octocaptcha.com) is blocked in my region. Indeed this could be a Freeplane bug rather than a SimplyHTML one. I got another exception today (Freeplane log attached, SimplyHTML version 0.19.12, Java 15.0.2 on Win 10 Pro) with an approx 11K text block with Cyrillic chars. And all text fragments were pasted to Freeplane via Ctrl+Shift+V from the Google AI Mode page open in Firefox. That means...
Could you please open submit your bug report to github as a Freeplane bug report at https://github.com/freeplane/freeplane/issues ? Maybe there is a waiting time after registering a new github account because many fresh accounts are used for spamming. Please attach all relevant html examples as zipped files, I can not reproduce the problem from text fragments mentioned here probably because source forge modifies them.
duplicate of https://sourceforge.net/p/simplyhtml/discussion/599359/thread/255badfc59/ please delete
Hi! I have a problem with SimplyHTML in Freeplane related to highlighting regions in big texts. When I open the SimplyHTML editor an ArrayIndexOutOfBoundsException occurs. I could not reproduce the problem with only Latin characters so it might be specific.to non-Latin chars. Steps to reproduce with Freeplane 1.12.14 and Java 15.0.2 on Win 10 Pro: - create a new map with one node - Ctrl+F3 to open SimplyHTML - paste the big text below - highlight (change bg color) of the following piece [ с указанием...
I also see the exception with no highlighting but with hyperlinks, eg with the text below. STDERR: Nov 20, 2025 3:31:28 PM org.freeplane.core.util.LogUtils severe SEVERE: Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: arraycopy: last destination index 469 out of bounds for object array[468] at java.base/java.util.Vector.copyInto(Unknown Source) at java.desktop/javax.swing.text.DefaultHighlighter.getHighlights(Unknown Source) at java.desktop/javax.swing.text.GlyphView.paint(Unknown...
I also see the exception with no highlighting but with hyperlinks, eg with the text below. STDERR: Nov 20, 2025 3:31:28 PM org.freeplane.core.util.LogUtils severe SEVERE: Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: arraycopy: last destination index 469 out of bounds for object array[468] at java.base/java.util.Vector.copyInto(Unknown Source) at java.desktop/javax.swing.text.DefaultHighlighter.getHighlights(Unknown Source) at java.desktop/javax.swing.text.GlyphView.paint(Unknown...
Hi! I got the 599359@discussion.simplyhtml.p.re.sourceforge.net email address at https://sourceforge.net/p/simplyhtml/discussion/599359/ but I do not need a new Topic if the problem can be fixed without creating a new Topic. My intention was to submit a bug report but I found no way to do it. I have a problem with SimplyHTML in Freeplane related to highlighting regions in big texts. When I open the SimplyHTML editor an ArrayIndexOutOfBoundsException occurs. I could not reproduce the problem with...
change build files to satisfy latest gradle version and repositories
fix image directory name
increase version number
Options to copy images when html is pasted
require known URL before external image can be inserted
update version
update version number
Merge branch 'master' of ssh://git.code.sf.net/p/simplyhtml/code
update version number
inline method
don't use encoded characters in URL paths
fix html preprocessing
use new java dialog constructor
use file specific image directory
wip copyExternalImages
java 8
save images in image directory, only on external copy&paste
document base url is the html file, not the containing directory
Remove map elements from html document when its text is replaced
restore part of the previous logic
update version to 0.17.8
remove buggy insertion of <p> - element
use try blocks with autoclosables
update version number
Freeplane bug #2787 Character "< " in html text node can corrupt map
Merge branch 'master' of ssh://git.code.sf.net/p/simplyhtml/code
Freeplane bug #2787 Character "< " in html text node can corrupt map
allow to hide and show menu by preference change
allow to switch toolbar on and off by preference change
update repo url to https
Use light and dark colors for quick color format based on current caret
fix inRange
update version number
fix build
fix build for gradle 6
refactor + do not encode non ascii chars
exclude help sources from distribution
use repo ${project.gradle.gradleUserHomeDir}/local-artifacts
Unfortunately reviewing all changes in one pull request seems to be too hard. For doing selective pull request you can create a new branch starting with current 1.6.x freeplane branch and use gir command cherry-pick to select single commits. Then you can create a pull request from this branch and repeat after I review and merge it. Please concentrate on one topic each time: each pull request should have only one reason so that the reivew is easier. Regards, Dimitry
I agree with you J8 is not necessary and Im not using it for now Sadly, fixes and unrelated changes are mixed in the commits and GitHub doesn't provide a mechanism to make selective pull request, maybe we can use a feature branch next time. Can I create the pull request with all my changes? Regards
I have created a new github repository so that you can submit your pull request there: https://github.com/freeplane/shtml . It has an advantage that I can comment each line of each commit and so it is easier to discuss things. Now you can fork the github project and submit your pull requests there. You do not need to loose your changes as you can add your github fork as a second remote repository of your existing project. However there are some general issues. You need to make sure that your changes...
Yes, please Mainly for educational reasons, I would like to apply Java 8/9 at some point and there is no better way to learn than programming. I think this project is perfect for my purposes, not so big not so small. Checking the code I found some errors and I think it is better to fix them than to change the version. Also, I would like to integrate these changes into Freemind, in which I've been working from time to time
Hello Xavier, I have learned that poor SourceForge implementation of merge requests does not allow me to comment on single code lines you changed. Therefore if you really want to contribute I need to move the source code to the github so that you can submit a pull request on a github where better review facilities are available. Should I do so? And could you explain me your motivation why you did the changes? Regards, Dimitry
Small fixes, performance improvements and general clean code
Fix toolbar element layout
Version 0.17.3
fix recently broken logic
Fix selected action icons
version 0.17.2
refactor + remove "_on" images
Fix accessing internal resources for use in OSGi
Update version to 0.17.1
Allow setting icons using UI resources
remove unused imports
Refactor: remove duplication
black color and remove font color actions
Increase / decrease font size actions
Edit link accelerator
Set accelerators in properties
Add color and clear formatting actions and acce...
Update version number to 0.16.18
Ignore html paragraph elements inside of pre el...
Update mnemonicsetter version
use basename 'SimplyHTML' for sources jar
0.16.16: remove gnu-regexp dependency
fix version in FrmMain.java
enable javadoc
clean up distribs, move distrib tasks to own file
add source distribution