#4 IllegalStateException during I6 compilation phase

1.0.x
open
nobody
Code (5)
5
2007-08-16
2007-08-16
Jan Ploski
No

Reported against version 1.0.1.

When the Inform 6 compilation step fails because of missing libraries, the following exception is thrown instead of generating a sensible error message:

java.lang.IllegalStateException: No match found
at java.util.regex.Matcher.group(Matcher.java:468)
at com.jpl.inform7.builder.I7Compiler$Error.createI6(I7Compiler.java:336)
at com.jpl.inform7.builder.I7Compiler.parseI6Errors(I7Compiler.java:266)
at com.jpl.inform7.builder.I7Compiler.compile(I7Compiler.java:99)
at com.jpl.inform7.builder.I7Builder.compile(I7Builder.java:68)
at com.jpl.inform7.builder.I7Builder.incrementalBuild(I7Builder.java:152)
at com.jpl.inform7.builder.I7Builder.build(I7Builder.java:36)
at
org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:603)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:167)
at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:201)
at
org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:230)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:233)
at
org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:252)
at
org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:285)
at
org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:154)
at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:217)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)

Discussion