14:44 | INFO  | o.m.s.e.m.b.PreJavaBuilder     - Building language project eclipse:///dynsem
14:44 | INFO  | Build log                      - Requirement inconsistent: FileReq(/Users/vladvergu/tud/slde/software/languages/meta/dynsem-core/dynsem/trans/backend/java-backend/emit-execmethods.str)
14:44 | INFO  | Build log                      - > Compile Stratego code
14:44 | INFO  | Build log                      - Execute strj
14:45 | INFO  | o.m.s.e.m.b.PostJavaBuilder    - Packaging language project eclipse:///dynsem
14:45 | INFO  | Build log                      - > Copy ds.tbl
14:45 | INFO  | Build log                      - > Copy ds.pp.af
14:45 | INFO  | Build log                      - > Copy ds.generated.pp.af
14:45 | INFO  | Build log                      - Requirement inconsistent: FileReq(/Users/vladvergu/tud/slde/software/languages/meta/dynsem-core/dynsem/target/classes/trans)
14:45 | INFO  | Build log                      - > Package
14:45 | INFO  | Build log                      - > Creating JAR file
14:45 | ERROR | Build log                      - Builder failed unexpectedly
java.lang.StringIndexOutOfBoundsException: String index out of range: 0
	at java.lang.String.charAt(String.java:658) ~[na:1.8.0_60]
	at build.pluto.xattr.Xattr.addGenBy(Xattr.java:51) ~[pluto-1.7.0.jar:na]
	at build.pluto.builder.DynamicAnalysis.checkGeneratedFilesOverlap(DynamicAnalysis.java:75) ~[pluto-1.7.0.jar:na]
	at build.pluto.builder.DynamicAnalysis.check(DynamicAnalysis.java:52) ~[pluto-1.7.0.jar:na]
	at build.pluto.builder.BuildManager.executeBuilder(BuildManager.java:123) [pluto-1.7.0.jar:na]
	at build.pluto.builder.BuildManager.require(BuildManager.java:323) [pluto-1.7.0.jar:na]
	at build.pluto.builder.Builder.requireBuild(Builder.java:214) ~[pluto-1.7.0.jar:na]
	at build.pluto.builder.Builder.requireBuild(Builder.java:166) ~[pluto-1.7.0.jar:na]
	at build.pluto.builder.Builder.requireBuild(Builder.java:191) ~[pluto-1.7.0.jar:na]
	at org.metaborg.spoofax.meta.core.pluto.build.main.PackageBuilder.jar(PackageBuilder.java:168) ~[org.metaborg.spoofax.meta.core_1.5.0.20160113-101844-new-spoofax-plugin.jar:na]
	at org.metaborg.spoofax.meta.core.pluto.build.main.PackageBuilder.build(PackageBuilder.java:140) ~[org.metaborg.spoofax.meta.core_1.5.0.20160113-101844-new-spoofax-plugin.jar:na]
	at org.metaborg.spoofax.meta.core.pluto.build.main.PackageBuilder.build(PackageBuilder.java:1) ~[org.metaborg.spoofax.meta.core_1.5.0.20160113-101844-new-spoofax-plugin.jar:na]
	at build.pluto.builder.Builder.triggerBuild(Builder.java:133) ~[pluto-1.7.0.jar:na]
	at build.pluto.builder.BuildManager.executeBuilder(BuildManager.java:90) [pluto-1.7.0.jar:na]
	at build.pluto.builder.BuildManager.require(BuildManager.java:336) [pluto-1.7.0.jar:na]
	at build.pluto.builder.BuildManager.requireInitially(BuildManager.java:250) [pluto-1.7.0.jar:na]
	at build.pluto.builder.BuildManagers.build(BuildManagers.java:62) [pluto-1.7.0.jar:na]
	at org.metaborg.spoofax.meta.core.SpoofaxMetaBuilder.plutoBuild(SpoofaxMetaBuilder.java:168) [org.metaborg.spoofax.meta.core_1.5.0.20160113-101844-new-spoofax-plugin.jar:na]
	at org.metaborg.spoofax.meta.core.SpoofaxMetaBuilder.compilePostJava(SpoofaxMetaBuilder.java:139) [org.metaborg.spoofax.meta.core_1.5.0.20160113-101844-new-spoofax-plugin.jar:na]
	at org.metaborg.spoofax.eclipse.meta.build.PostJavaBuilder$BuildRunnable.run(PostJavaBuilder.java:44) [org.metaborg.spoofax.eclipse.meta_1.5.0.20160113-101844-new-spoofax-plugin.jar:na]
	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2313) [org.eclipse.core.resources_3.9.1.v20140825-1431.jar:na]
	at org.metaborg.spoofax.eclipse.meta.build.PostJavaBuilder.build(PostJavaBuilder.java:93) [org.metaborg.spoofax.eclipse.meta_1.5.0.20160113-101844-new-spoofax-plugin.jar:na]
	at org.metaborg.spoofax.eclipse.meta.build.Builder.build(Builder.java:46) [org.metaborg.spoofax.eclipse.meta_1.5.0.20160113-101844-new-spoofax-plugin.jar:na]
	at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:734) [org.eclipse.core.resources_3.9.1.v20140825-1431.jar:na]
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) [org.eclipse.equinox.common_3.6.200.v20130402-1505.jar:na]
	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:206) [org.eclipse.core.resources_3.9.1.v20140825-1431.jar:na]
	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:246) [org.eclipse.core.resources_3.9.1.v20140825-1431.jar:na]
	at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:299) [org.eclipse.core.resources_3.9.1.v20140825-1431.jar:na]
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) [org.eclipse.equinox.common_3.6.200.v20130402-1505.jar:na]
	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:302) [org.eclipse.core.resources_3.9.1.v20140825-1431.jar:na]
	at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:358) [org.eclipse.core.resources_3.9.1.v20140825-1431.jar:na]
	at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:381) [org.eclipse.core.resources_3.9.1.v20140825-1431.jar:na]
	at org.eclipse.core.internal.resources.Workspace.buildInternal(Workspace.java:496) [org.eclipse.core.resources_3.9.1.v20140825-1431.jar:na]
	at org.eclipse.core.internal.resources.Workspace.build(Workspace.java:415) [org.eclipse.core.resources_3.9.1.v20140825-1431.jar:na]
	at org.eclipse.ui.actions.BuildAction$1.runInWorkspace(BuildAction.java:305) [org.eclipse.ui.ide_3.10.2.v20141118-1227.jar:na]
	at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38) [org.eclipse.core.resources_3.9.1.v20140825-1431.jar:na]
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) [org.eclipse.core.jobs_3.6.1.v20141014-1248.jar:na]
14:45 | ERROR | o.m.s.e.m.b.PostJavaBuilder    - String index out of range: 0
14:45 | ERROR | o.m.s.e.m.b.PostJavaBuilder    - BUILD FAILED
Submitted by Vlad Vergu on 13 January 2016 at 14:46

On 13 January 2016 at 15:08 Vlad Vergu commented:

This happens every other build. And the only solution is to clean the project and do a full build. This makes for a grandiose waste of time, to say the least.


On 13 January 2016 at 15:28 Gabriël Konat commented:

I’ve made a fix to Pluto and made a new release, Spoofax is now building with the new Pluto release.


On 14 January 2016 at 15:25 Gabriël Konat closed this issue.

Log in to post comments