Testrunner nullpointer when adding SPT language component
Dacos-MacBook-Pro:Downloads daco$ java -Xss8m -Xmx1g -jar spoofax-testrunner.jar -l /Users/daco/relations-core/relations -t /Users/daco/relations-core/relations-tests
14:26:05.393 INFO o.a.c.v.i.DefaultFileSystemManager - Using "/var/folders/c1/zhg5ddcn1rld0gvvtdbxfb700000gn/T/vfs_cache" as temporary files store. 14:26:05.395 INFO o.a.c.v.i.DefaultFileSystemManager - Using "/var/folders/c1/zhg5ddcn1rld0gvvtdbxfb700000gn/T/vfs_cache" as temporary files store. 14:26:05.763 DEBUG o.m.s.c.l.LanguageDiscoveryService - Creating language component for file:///Users/daco/relations-core/relations 14:26:05.873 DEBUG o.m.core.language.LanguageService - Adding language Relations 14:26:05.874 DEBUG o.m.core.language.LanguageService - Adding language impl. org.metaborg:relations:0.3.1-SNAPSHOT 14:26:05.875 DEBUG o.m.core.language.LanguageService - Adding language comp. org.metaborg:relations:0.3.1-SNAPSHOT@file:///Users/daco/relations-core/relations 14:26:05.876 DEBUG o.m.s.m.s.testrunner.core.TestRunner - Discovering SPT language 14:26:06.161 DEBUG o.m.s.c.l.LanguageDiscoveryService - Creating language component for jar:file:///Users/daco/Downloads/spoofax-testrunner.jar!/spt 14:26:06.163 DEBUG o.m.core.language.LanguageService - Adding language Spoofax-Testing 14:26:06.163 DEBUG o.m.core.language.LanguageService - Adding language impl. org.metaborg:org.metaborg.meta.lang.spt:1.5.0-SNAPSHOT 14:26:06.163 DEBUG o.m.core.language.LanguageService - Adding language comp. org.metaborg:org.metaborg.meta.lang.spt:1.5.0-SNAPSHOT@jar:file:///Users/daco/Downloads/spoofax-testrunner.jar!/spt 14:26:06.169 ERROR o.m.m.lang.spt.testrunner.cmd.Main - Error while running tests java.lang.NullPointerException: null at org.metaborg.util.iterators.ArrayIterator.hasNext(ArrayIterator.java:18) ~[spoofax-testrunner.jar:na] at org.metaborg.core.build.BuildInputBuilder.addSources(BuildInputBuilder.java:199) ~[spoofax-testrunner.jar:na] at org.metaborg.core.build.BuildInputBuilder.withSources(BuildInputBuilder.java:182) ~[spoofax-testrunner.jar:na] at org.metaborg.spoofax.meta.spt.testrunner.core.TestRunner.runTests(TestRunner.java:111) ~[spoofax-testrunner.jar:na] at org.metaborg.spoofax.meta.spt.testrunner.core.TestRunner.run(TestRunner.java:77) ~[spoofax-testrunner.jar:na] at org.metaborg.meta.lang.spt.testrunner.cmd.Runner.run(Runner.java:32) ~[spoofax-testrunner.jar:na] at org.metaborg.meta.lang.spt.testrunner.cmd.Main.main(Main.java:40) ~[spoofax-testrunner.jar:na]
(Both on Windows and OSX, but of course with Java that should be all the same.)
Submitted by Daco Harkes on 15 January 2016 at 14:35