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.ArrayIndexOutOfBoundsException: 5
at de.mfietz.jhyphenator.Hyphenator.hyphenate(Hyphenator.java:135)
as far as I could investigate, it seems that nodePointsLength is too big (4) for i = 2 at
for (int k = 0, nodePointsLength = nodePoints.length; k < nodePointsLength; k++) {
points[i + k] = Math.max(points[i + k], nodePoints[k]);
}
Hyphenator initialization:
HyphenationPattern de = HyphenationPattern.lookup("de");
Hyphenator h = Hyphenator.getInstance(de);
The text was updated successfully, but these errors were encountered:
java.lang.ArrayIndexOutOfBoundsException: 5
at de.mfietz.jhyphenator.Hyphenator.hyphenate(Hyphenator.java:135)
as far as I could investigate, it seems that nodePointsLength is too big (4) for i = 2 at
for (int k = 0, nodePointsLength = nodePoints.length; k < nodePointsLength; k++) {
points[i + k] = Math.max(points[i + k], nodePoints[k]);
}
Hyphenator initialization:
HyphenationPattern de = HyphenationPattern.lookup("de");
Hyphenator h = Hyphenator.getInstance(de);
The text was updated successfully, but these errors were encountered: