<html>
    <head>
      <base href="http://bugzilla.ecoinformatics.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:crawl@sdsc.edu" title="Daniel Crawl <crawl@sdsc.edu>"> <span class="fn">Daniel Crawl</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - replace ProjectLocator.findKeplerModulesDir() with something more robust."
   href="http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5669">bug 5669</a>
        <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
                
           </td>
           <td>crawl@sdsc.edu
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Assignee</td>
           <td>barseghian@nceas.ucsb.edu
           </td>
           <td>jianwu@sdsc.edu
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - replace ProjectLocator.findKeplerModulesDir() with something more robust."
   href="http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5669#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - replace ProjectLocator.findKeplerModulesDir() with something more robust."
   href="http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5669">bug 5669</a>
              from <span class="vcard"><a class="email" href="mailto:crawl@sdsc.edu" title="Daniel Crawl <crawl@sdsc.edu>"> <span class="fn">Daniel Crawl</span></a>
</span></b>
        <pre>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)</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>