Project

General

Profile

Actions

Bug #5048

open

Can't clean (or do other build system operations) offline

Added by Sean Riddle over 14 years ago.

Status:
In Progress
Priority:
Normal
Assignee:
Category:
build system
Target version:
Start date:
06/14/2010
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
5048

Description

When I try to run "ant clean" from the sensor-view suite, I get the exception below. The module kepler-2.0.^ is not referenced by the modules.txt file, directly or otherwise, but is referenced in the modules.txt of an inactive module that is downloaded.

clean:
[clean] Transforming arrow name for get: kepler-2.0.^
[clean] java.lang.NullPointerException
[clean] at org.kepler.build.modules.ModulesTask.execute(ModulesTask.java:105)
[clean] at org.kepler.build.modules.Module.readPublished(Module.java:226)
[clean] at org.kepler.build.modules.Module.tranformArrowNameForGet(Module.java:280)
[clean] at org.kepler.build.modules.Module.transformName(Module.java:312)
[clean] at org.kepler.build.modules.Module.<init>(Module.java:144)
[clean] at org.kepler.build.modules.Module.<init>(Module.java:192)
[clean] at org.kepler.build.modules.Suite.<init>(Suite.java:79)
[clean] at org.kepler.build.modules.ModulesTxt.readHelper(ModulesTxt.java:148)
[clean] at org.kepler.build.modules.ModulesTxt.read(ModulesTxt.java:120)
[clean] at org.kepler.build.modules.Module.getModulesTxt(Module.java:604)
[clean] at org.kepler.build.modules.ModuleUtil.getCurrentSuiteName(ModuleUtil.java:220)
[clean] at org.kepler.build.modules.ModuleTree.<init>(ModuleTree.java:56)
[clean] at org.kepler.build.modules.ModuleTree.init(ModuleTree.java:98)
[clean] at org.kepler.build.modules.ModuleTree.instance(ModuleTree.java:86)
[clean] at org.kepler.util.DotKeplerManager.initialize(DotKeplerManager.java:141)
[clean] at org.kepler.util.DotKeplerManager.getInstance(DotKeplerManager.java:114)
[clean] at org.kepler.build.project.ProjectLocator.getCacheFile(ProjectLocator.java:60)
[clean] at org.kepler.build.UpdatePresentTxt.run(UpdatePresentTxt.java:64)
[clean] at org.kepler.build.modules.ModulesTask.execute(ModulesTask.java:101)
[clean] at org.kepler.build.modules.Module.readPresent(Module.java:215)
[clean] at org.kepler.build.modules.Module.transformName(Module.java:303)
[clean] at org.kepler.build.modules.Module.<init>(Module.java:144)
[clean] at org.kepler.build.modules.Module.<init>(Module.java:192)
[clean] at org.kepler.build.modules.Suite.<init>(Suite.java:79)
[clean] at org.kepler.build.modules.ModulesTxt.readHelper(ModulesTxt.java:148)
[clean] at org.kepler.build.modules.ModulesTxt.read(ModulesTxt.java:120)
[clean] at org.kepler.build.modules.Module.getModulesTxt(Module.java:604)
[clean] at org.kepler.build.modules.ModuleUtil.getCurrentSuiteName(ModuleUtil.java:220)
[clean] at org.kepler.build.modules.ModuleTree.<init>(ModuleTree.java:56)
[clean] at org.kepler.build.modules.ModuleTree.init(ModuleTree.java:98)
[clean] at org.kepler.build.modules.ModulesTask.init(ModulesTask.java:86)
[clean] at org.apache.tools.ant.ComponentHelper.createComponent(ComponentHelper.java:223)
[clean] at org.apache.tools.ant.UnknownElement.makeObject(UnknownElement.java:414)
[clean] at org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.java:160)
[clean] at org.apache.tools.ant.Task.perform(Task.java:347)
[clean] at org.apache.tools.ant.Target.execute(Target.java:357)
[clean] at org.apache.tools.ant.Target.performTasks(Target.java:385)
[clean] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
[clean] at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
[clean] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
[clean] at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
[clean] at org.apache.tools.ant.Main.runBuild(Main.java:758)
[clean] at org.apache.tools.ant.Main.startAnt(Main.java:217)
[clean] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
[clean] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
[clean] Caused by: java.lang.NullPointerException
[clean] at org.kepler.build.PublishedTask.trimOlderNames(PublishedTask.java:49)
[clean] at org.kepler.build.UpdatePublishedTxt.run(UpdatePublishedTxt.java:53)
[clean] at org.kepler.build.modules.ModulesTask.execute(ModulesTask.java:101)
[clean] ... 44 more
[clean] --- Nested Exception ---
[clean] java.lang.NullPointerException
[clean] at org.kepler.build.PublishedTask.trimOlderNames(PublishedTask.java:49)
[clean] at org.kepler.build.UpdatePublishedTxt.run(UpdatePublishedTxt.java:53)
[clean] at org.kepler.build.modules.ModulesTask.execute(ModulesTask.java:101)
[clean] at org.kepler.build.modules.Module.readPublished(Module.java:226)
[clean] at org.kepler.build.modules.Module.tranformArrowNameForGet(Module.java:280)
[clean] at org.kepler.build.modules.Module.transformName(Module.java:312)
[clean] at org.kepler.build.modules.Module.<init>(Module.java:144)
[clean] at org.kepler.build.modules.Module.<init>(Module.java:192)
[clean] at org.kepler.build.modules.Suite.<init>(Suite.java:79)
[clean] at org.kepler.build.modules.ModulesTxt.readHelper(ModulesTxt.java:148)
[clean] at org.kepler.build.modules.ModulesTxt.read(ModulesTxt.java:120)
[clean] at org.kepler.build.modules.Module.getModulesTxt(Module.java:604)
[clean] at org.kepler.build.modules.ModuleUtil.getCurrentSuiteName(ModuleUtil.java:220)
[clean] at org.kepler.build.modules.ModuleTree.<init>(ModuleTree.java:56)
[clean] at org.kepler.build.modules.ModuleTree.init(ModuleTree.java:98)
[clean] at org.kepler.build.modules.ModuleTree.instance(ModuleTree.java:86)
[clean] at org.kepler.util.DotKeplerManager.initialize(DotKeplerManager.java:141)
[clean] at org.kepler.util.DotKeplerManager.getInstance(DotKeplerManager.java:114)
[clean] at org.kepler.build.project.ProjectLocator.getCacheFile(ProjectLocator.java:60)
[clean] at org.kepler.build.UpdatePresentTxt.run(UpdatePresentTxt.java:64)
[clean] at org.kepler.build.modules.ModulesTask.execute(ModulesTask.java:101)
[clean] at org.kepler.build.modules.Module.readPresent(Module.java:215)
[clean] at org.kepler.build.modules.Module.transformName(Module.java:303)
[clean] at org.kepler.build.modules.Module.<init>(Module.java:144)
[clean] at org.kepler.build.modules.Module.<init>(Module.java:192)
[clean] at org.kepler.build.modules.Suite.<init>(Suite.java:79)
[clean] at org.kepler.build.modules.ModulesTxt.readHelper(ModulesTxt.java:148)
[clean] at org.kepler.build.modules.ModulesTxt.read(ModulesTxt.java:120)
[clean] at org.kepler.build.modules.Module.getModulesTxt(Module.java:604)
[clean] at org.kepler.build.modules.ModuleUtil.getCurrentSuiteName(ModuleUtil.java:220)
[clean] at org.kepler.build.modules.ModuleTree.<init>(ModuleTree.java:56)
[clean] at org.kepler.build.modules.ModuleTree.init(ModuleTree.java:98)
[clean] at org.kepler.build.modules.ModulesTask.init(ModulesTask.java:86)
[clean] at org.apache.tools.ant.ComponentHelper.createComponent(ComponentHelper.java:223)
[clean] at org.apache.tools.ant.UnknownElement.makeObject(UnknownElement.java:414)
[clean] at org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.java:160)
[clean] at org.apache.tools.ant.Task.perform(Task.java:347)
[clean] at org.apache.tools.ant.Target.execute(Target.java:357)
[clean] at org.apache.tools.ant.Target.performTasks(Target.java:385)
[clean] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
[clean] at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
[clean] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
[clean] at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
[clean] at org.apache.tools.ant.Main.runBuild(Main.java:758)
[clean] at org.apache.tools.ant.Main.startAnt(Main.java:217)
[clean] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
[clean] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
[clean] Module Directory could not be created

Actions #1

Updated by Redmine Admin over 11 years ago

Original Bugzilla ID was 5048

Actions

Also available in: Atom PDF