[kepler-dev] [Bug 5669] replace ProjectLocator.findKeplerModulesDir() with something more robust.
bugzilla-daemon at ecoinformatics.org
bugzilla-daemon at ecoinformatics.org
Wed Dec 19 11:12:17 PST 2012
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5669
Daniel Crawl <crawl at sdsc.edu> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |crawl at sdsc.edu
Assignee|barseghian at nceas.ucsb.edu |jianwu at sdsc.edu
--- Comment #3 from Daniel Crawl <crawl at sdsc.edu> ---
On Linux, if build-area/use.keplerdata exists, an NPE occurs:
cd /
ant -f ~/.../build-area/build.xml run
compile:
[echo] Note that you may need to run "ant force-ptolemy compile" to
compile ptolemy.
[compile] java.lang.Exception: No project dir found.
[compile] at
org.kepler.build.project.ProjectLocator.findProjectLocation(ProjectLocator.java:194)
[compile] at
org.kepler.build.project.ProjectLocator.findProjectLocation(ProjectLocator.java:196)
[compile] at
org.kepler.build.project.ProjectLocator.findProjectLocation(ProjectLocator.java:196)
[compile] at
org.kepler.build.project.ProjectLocator.findProjectLocation(ProjectLocator.java:196)
[compile] at
org.kepler.build.project.ProjectLocator.findProjectLocation(ProjectLocator.java:196)
[compile] at
org.kepler.build.project.ProjectLocator.findProjectLocation(ProjectLocator.java:196)
[compile] at
org.kepler.build.project.ProjectLocator.findKeplerModulesDir(ProjectLocator.java:160)
[compile] at
org.kepler.build.project.ProjectLocator.getUserBuildDir(ProjectLocator.java:232)
[compile] at
org.kepler.build.modules.ModulesTxt.instance(ModulesTxt.java:70)
[compile] at
org.kepler.build.modules.ModulesTask.init(ModulesTask.java:78)
[compile] at
org.apache.tools.ant.ComponentHelper.createComponent(ComponentHelper.java:223)
[compile] at
org.apache.tools.ant.UnknownElement.makeObject(UnknownElement.java:414)
[compile] at
org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.java:160)
[compile] at org.apache.tools.ant.Task.perform(Task.java:347)
[compile] at org.apache.tools.ant.Target.execute(Target.java:357)
[compile] at org.apache.tools.ant.Target.performTasks(Target.java:385)
[compile] at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
[compile] at
org.apache.tools.ant.Project.executeTarget(Project.java:1306)
[compile] at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
[compile] at
org.apache.tools.ant.Project.executeTargets(Project.java:1189)
[compile] at org.apache.tools.ant.Main.runBuild(Main.java:758)
[compile] at org.apache.tools.ant.Main.startAnt(Main.java:217)
[compile] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
[compile] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
[compile] WARNING: Using virtual project location.
BUILD FAILED
java.lang.NullPointerException
at java.io.File.<init>(File.java:239)
at
org.kepler.build.project.KeplerModulesDir.<init>(KeplerModulesDir.java:50)
at org.kepler.build.project.ProjectDir.<init>(ProjectDir.java:22)
at
org.kepler.build.project.ProjectLocator.findKeplerModulesDir(ProjectLocator.java:172)
at
org.kepler.build.project.ProjectLocator.getUserBuildDir(ProjectLocator.java:232)
at org.kepler.build.modules.ModulesTxt.instance(ModulesTxt.java:70)
at org.kepler.build.modules.ModulesTask.init(ModulesTask.java:78)
at
org.apache.tools.ant.ComponentHelper.createComponent(ComponentHelper.java:223)
at org.apache.tools.ant.UnknownElement.makeObject(UnknownElement.java:414)
at
org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.java:160)
at org.apache.tools.ant.Task.perform(Task.java:347)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
at org.apache.tools.ant.Main.runBuild(Main.java:758)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
--
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nceas.ucsb.edu/kepler/pipermail/kepler-dev/attachments/20121219/41b8849c/attachment.html>
More information about the Kepler-dev
mailing list