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

StringIndexOutOfBoundsException while preprocessing #3531

Closed
JakubValtar opened this Issue Aug 4, 2015 · 0 comments

Comments

Projects
None yet
1 participant
@JakubValtar
Contributor

JakubValtar commented Aug 4, 2015

This

void setup() {
  size(500, 500, P2D);
  smooth(8);
}

creates this

java.lang.StringIndexOutOfBoundsException: String index out of range: -1
    at java.lang.AbstractStringBuilder.delete(AbstractStringBuilder.java:729)
    at java.lang.StringBuilder.delete(StringBuilder.java:244)
    at processing.mode.java.JavaBuild.preprocess(JavaBuild.java:266)
    at processing.mode.java.JavaBuild.preprocess(JavaBuild.java:193)
    at processing.mode.java.JavaBuild.build(JavaBuild.java:152)
    at processing.mode.java.JavaBuild.build(JavaBuild.java:131)
    at processing.mode.java.JavaMode.handleLaunch(JavaMode.java:154)
    at processing.mode.java.JavaMode.handleRun(JavaMode.java:131)
    at processing.mode.java.JavaEditor$33.run(JavaEditor.java:1137)
    at java.lang.Thread.run(Thread.java:745)

@benfry benfry closed this in 0385fd7 Aug 5, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment