Error:Ouch, this should not have happened!..... let us know about this error on

lenintowarzysz

  • Posts: 5
Unexpected problem on thread pool-20-thread-2: String index out of range: -1
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
   at java.lang.String.substring(Unknown Source)
   at stencyl.sw.editors.snippet.designer.Definition.parseForHaxe(Definition.java:1389)
   at stencyl.sw.editors.snippet.designer.Definition.parseCode(Definition.java:986)
   at stencyl.sw.editors.snippet.designer.Block.toCode(Block.java:2126)
   at stencyl.sw.editors.snippet.designer.Definition.parseForHaxe(Definition.java:1191)
   at stencyl.sw.editors.snippet.designer.Definition.parseCode(Definition.java:986)
   at stencyl.sw.editors.snippet.designer.Block.toCode(Block.java:2126)
   at stencyl.sw.editors.snippet.designer.Group.toNestedJava(Group.java:263)
   at stencyl.sw.editors.snippet.designer.Definition.parseForHaxe(Definition.java:1145)
   at stencyl.sw.editors.snippet.designer.Definition.parseCode(Definition.java:986)
   at stencyl.sw.editors.snippet.designer.Block.toCode(Block.java:2126)
   at stencyl.sw.editors.snippet.designer.Group.toNestedJava(Group.java:263)
   at stencyl.sw.editors.snippet.designer.Definition.parseForHaxe(Definition.java:1145)
   at stencyl.sw.editors.snippet.designer.Definition.parseCode(Definition.java:986)
   at stencyl.sw.editors.snippet.designer.Block.toCode(Block.java:2126)
   at stencyl.sw.editors.snippet.designer.Group.toNestedJava(Group.java:263)
   at stencyl.sw.editors.snippet.designer.Definition.parseForHaxe(Definition.java:1145)
   at stencyl.sw.editors.snippet.designer.Definition.parseCode(Definition.java:986)
   at stencyl.sw.editors.snippet.designer.Block.toCode(Block.java:2126)
   at stencyl.sw.editors.snippet.designer.Group.toJava(Group.java:245)
   at stencyl.sw.editors.snippet.designer.EditArea.toCode(EditArea.java:644)
   at stencyl.sw.editors.snippet.designer.EditArea.XMLToCode(EditArea.java:712)
   at stencyl.sw.io.write.resource.SnippetsWriter.convert(SnippetsWriter.java:840)
   at stencyl.sw.io.write.resource.SnippetsWriter.convert(SnippetsWriter.java:793)
   at stencyl.sw.io.write.resource.SnippetsWriter$1.run(SnippetsWriter.java:526)
   at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)

Although I'm not sure if this is the exact error, I have been getting one that starts the same way randomly lately. Stencyl 3.2 and my game compiles just fine.