Skip to content

Conversation

JaBuoniak
Copy link

Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: 2147483647
at java.lang.String.substring(String.java:1963)
at ca.szc.configparser.Ini.read(Ini.java:456)
at ca.szc.configparser.Ini.read(Ini.java:663)
at ca.szc.configparser.Ini.read(Ini.java:641)

… exception occurs:

Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: 2147483647
	at java.lang.String.substring(String.java:1963)
	at ca.szc.configparser.Ini.read(Ini.java:456)
	at ca.szc.configparser.Ini.read(Ini.java:663)
	at ca.szc.configparser.Ini.read(Ini.java:641)
@ASzc
Copy link
Owner

ASzc commented Oct 28, 2020

Thanks for the PR. Seems like this fixes #2. I will review, merge, and release a new version soon.

@ASzc ASzc self-assigned this Oct 28, 2020
@ASzc ASzc linked an issue Oct 28, 2020 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Set InlineCommentPrefixes always causes IndexOutOfBoundException
2 participants