1 Reply Latest reply: May 29, 2006 6:39 AM by 843844 RSS

    AVK is not working java.lang.NullPointerException is displayed

    843844
      Hi,

      I Installed AVK. I am doing static varification. when i am running build.xml file it is giving following error.

      E:\CruiseControl\cruisecontrol-bin-2.4.1\projects\wsc\build.xml:122: The following error occurred while executing this line:
      E:\CruiseControl\cruisecontrol-bin-2.4.1\projects\wsc\build.xml:140: java.lang.NullPointerException
      at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:539)
      at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:384)
      at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:107)
      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
      at org.apache.tools.ant.Task.perform(Task.java:364)
      at org.apache.tools.ant.Target.execute(Target.java:341)
      at org.apache.tools.ant.Target.performTasks(Target.java:369)
      at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
      at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
      at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
      at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
      at org.apache.tools.ant.Main.runBuild(Main.java:668)
      at org.apache.tools.ant.Main.startAnt(Main.java:187)
      at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
      at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
      Caused by: E:\CruiseControl\cruisecontrol-bin-2.4.1\projects\wsc\build.xml:140: java.lang.NullPointerException
      at org.apache.tools.ant.Task.perform(Task.java:373)
      at org.apache.tools.ant.Target.execute(Target.java:341)
      at org.apache.tools.ant.Target.performTasks(Target.java:369)
      at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
      at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37)
      at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
      at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
      ... 13 more
      Caused by: java.lang.NullPointerException
      at java.io.File.<init>(File.java:180)
      at org.apache.tools.ant.taskdefs.optional.sun.verification.AVKTasks.getInstallHomes(AVKTasks.java:140)
      at org.apache.tools.ant.taskdefs.optional.sun.verification.StaticArchiveTest.execute(StaticArchiveTest.java:64)
      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
      at org.apache.tools.ant.Task.perform(Task.java:364)
      ... 19 more
      --- Nested Exception ---
      E:\CruiseControl\cruisecontrol-bin-2.4.1\projects\wsc\build.xml:140: java.lang.NullPointerException
      at org.apache.tools.ant.Task.perform(Task.java:373)
      at org.apache.tools.ant.Target.execute(Target.java:341)
      at org.apache.tools.ant.Target.performTasks(Target.java:369)
      at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
      at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37)
      at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
      at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
      at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:107)
      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
      at org.apache.tools.ant.Task.perform(Task.java:364)
      at org.apache.tools.ant.Target.execute(Target.java:341)
      at org.apache.tools.ant.Target.performTasks(Target.java:369)
      at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
      at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
      at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
      at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
      at org.apache.tools.ant.Main.runBuild(Main.java:668)
      at org.apache.tools.ant.Main.startAnt(Main.java:187)
      at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
      at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
      Caused by: java.lang.NullPointerException
      at java.io.File.<init>(File.java:180)
      at org.apache.tools.ant.taskdefs.optional.sun.verification.AVKTasks.getInstallHomes(AVKTasks.java:140)
      at org.apache.tools.ant.taskdefs.optional.sun.verification.StaticArchiveTest.execute(StaticArchiveTest.java:64)
      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
      at org.apache.tools.ant.Task.perform(Task.java:364)
      ... 19 more
      --- Nested Exception ---
      java.lang.NullPointerException
      at java.io.File.<init>(File.java:180)
      at org.apache.tools.ant.taskdefs.optional.sun.verification.AVKTasks.getInstallHomes(AVKTasks.java:140)
      at org.apache.tools.ant.taskdefs.optional.sun.verification.StaticArchiveTest.execute(StaticArchiveTest.java:64)
      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
      at org.apache.tools.ant.Task.perform(Task.java:364)
      at org.apache.tools.ant.Target.execute(Target.java:341)
      at org.apache.tools.ant.Target.performTasks(Target.java:369)
      at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
      at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37)
      at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
      at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
      at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:107)
      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
      at org.apache.tools.ant.Task.perform(Task.java:364)
      at org.apache.tools.ant.Target.execute(Target.java:341)
      at org.apache.tools.ant.Target.performTasks(Target.java:369)
      at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
      at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
      at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
      at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
      at org.apache.tools.ant.Main.runBuild(Main.java:668)
      at org.apache.tools.ant.Main.startAnt(Main.java:187)
      at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
      at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)