Bug #5272
closedkepler 2.1 suite can not be started using 'ant run'
0%
Description
Today, one partner tried to start Kepler 2.1 through build-area and failed.
We first tried the build-area at https://code.kepler-project.org/code/kepler/releases/release-branches/build-area-2.0/. The error message is:
<huynh@enea142 ~/SANDIEGOIII/kepler_2.1/build-area-2.0>ant run
Buildfile: build.xml
BUILD FAILED
/afs/efda-itm.eu/isip/user/huynh/SANDIEGOIII/kepler_2.1/build-area-2.0/build.xml:4: The following error occurred while executing this line:
/afs/efda-itm.eu/isip/user/huynh/SANDIEGOIII/kepler_2.1/build-area-2.0/settings/taskdefs.xml:114: typedef class org.kepler.build.RegisterModule cannot be found
Total time: 0 seconds
We switched to the build-area in kepler trunk, it can compile Kepler 2.1 but it get other exceptions:
JVM Memory = 5m 512m
[run] /afs/efda-itm.eu/isip/user/huynh/SANDIEGOIII/kepler_2.1
[run] java.io.FileNotFoundException: /afs/efda-itm.eu/isip/user/huynh/SANDIEGOIII/kepler_2.1/build-area/registry.txt (No such file or directory)
[run] at java.io.FileInputStream.open(Native Method)
[run] at java.io.FileInputStream.<init>(FileInputStream.java:106)
[run] at java.io.FileReader.<init>(FileReader.java:55)
[run] at org.kepler.build.project.RepositoryLocations.readModuleRegistryHelper(RepositoryLocations.java:75)
[run] at org.kepler.build.project.RepositoryLocations.readModuleRegistry(RepositoryLocations.java:62)
[run] at org.kepler.build.project.RepositoryLocations.getLocation(RepositoryLocations.java:96)
[run] at org.kepler.build.modules.Module.<init>(Module.java:152)
[run] at org.kepler.build.modules.Module.<init>(Module.java:204)
[run] at org.kepler.build.modules.ModulesTxt.readHelper(ModulesTxt.java:165)
[run] at org.kepler.build.modules.ModulesTxt.read(ModulesTxt.java:137)
[run] at org.kepler.build.modules.ModulesTxt.init(ModulesTxt.java:58)
[run] at org.kepler.build.modules.ModuleTree.init(ModuleTree.java:96)
[run] at org.kepler.build.modules.ModuleTree.instance(ModuleTree.java:86)
[run] at org.kepler.configuration.ConfigurationManager.loadConfiguration(ConfigurationManager.java:414)
[run] at org.kepler.configuration.ConfigurationManager.<init>(ConfigurationManager.java:87)
[run] at org.kepler.configuration.ConfigurationManager.getInstance(ConfigurationManager.java:116)
[run] at org.kepler.configuration.ConfigurationManager.getInstance(ConfigurationManager.java:105)
[run] at org.kepler.modulemanager.RepositoryLocations.initReleaseLocation(RepositoryLocations.java:24)
[run] at org.kepler.modulemanager.RepositoryLocations.getReleaseLocation(RepositoryLocations.java:18)
[run] at org.kepler.Kepler.main(Kepler.java:89)
[run] java.lang.NullPointerException
[run] at org.kepler.build.project.RepositoryLocations.getLocation(RepositoryLocations.java:98)
[run] at org.kepler.build.modules.Module.<init>(Module.java:152)
[run] at org.kepler.build.modules.Module.<init>(Module.java:204)
[run] at org.kepler.build.modules.ModulesTxt.readHelper(ModulesTxt.java:165)
[run] at org.kepler.build.modules.ModulesTxt.read(ModulesTxt.java:137)
[run] at org.kepler.build.modules.ModulesTxt.init(ModulesTxt.java:58)
[run] at org.kepler.build.modules.ModuleTree.init(ModuleTree.java:96)
[run] at org.kepler.build.modules.ModuleTree.instance(ModuleTree.java:86)
[run] at org.kepler.configuration.ConfigurationManager.loadConfiguration(ConfigurationManager.java:414)
[run] at org.kepler.configuration.ConfigurationManager.<init>(ConfigurationManager.java:87)
[run] at org.kepler.configuration.ConfigurationManager.getInstance(ConfigurationManager.java:116)
[run] at org.kepler.configuration.ConfigurationManager.getInstance(ConfigurationManager.java:105)
[run] at org.kepler.modulemanager.RepositoryLocations.initReleaseLocation(RepositoryLocations.java:24)
[run] at org.kepler.modulemanager.RepositoryLocations.getReleaseLocation(RepositoryLocations.java:18)
[run] at org.kepler.Kepler.main(Kepler.java:89)
[run] Exception in thread "main" java.lang.RuntimeException: Could not load configuration: null
[run] at org.kepler.configuration.ConfigurationManager.<init>(ConfigurationManager.java:93)
[run] at org.kepler.configuration.ConfigurationManager.getInstance(ConfigurationManager.java:116)
[run] at org.kepler.configuration.ConfigurationManager.getInstance(ConfigurationManager.java:105)
[run] at org.kepler.modulemanager.RepositoryLocations.initReleaseLocation(RepositoryLocations.java:24)
[run] at org.kepler.modulemanager.RepositoryLocations.getReleaseLocation(RepositoryLocations.java:18)
[run] at org.kepler.Kepler.main(Kepler.java:89)
BUILD FAILED
/afs/efda-itm.eu/isip/user/huynh/SANDIEGOIII/kepler_2.1/build-area/build.xml:36: Java returned: 1