1 Reply Latest reply on Jun 11, 2008 10:38 AM by Rob Stryker

    NPE when selecting Build Archive from the Project Archives v

    Karl Koster Newbie

      I am getting an NPE from the archive builder when selecting the Build Archive (Full) menu option on the Project Archives. I am running a fresh copy of Eclipse 3.3 under JDK 1.5.0_12. I have been working with an Eclipse 3.3 version downloaded earlier this year (1/15/2008) until today also under JDK 1.5.0_12 with the current version of JBoss Tools from that date with no problems. The following stack trace is in the log file for the project:

      !MESSAGE Errors during build.
      !SUBENTRY 1 org.jboss.ide.eclipse.archives.core 2 75 2008-06-11 10:01:55.250
      !MESSAGE Errors running builder 'JBossIDE Packages Builder' on project 'Risk.Core'.
      !SUBENTRY 1 org.jboss.ide.eclipse.archives.core 2 75 2008-06-11 10:01:55.250
      !MESSAGE java.lang.NullPointerException encountered while running JBossIDE Packages Builder.
      !STACK 0
      java.lang.NullPointerException
       at de.schlichtherle.io.UpdatingArchiveController.initInArchive(UpdatingArchiveController.java:442)
       at de.schlichtherle.io.UpdatingArchiveController.mount0(UpdatingArchiveController.java:165)
       at de.schlichtherle.io.UpdatingArchiveController.mount(UpdatingArchiveController.java:127)
       at de.schlichtherle.io.ArchiveFileSystemController$ResetFileSystem$1Mounter.run(ArchiveFileSystemController.java:96)
       at de.schlichtherle.io.ArchiveController.runWriteLocked(ArchiveController.java:207)
       at de.schlichtherle.io.ArchiveFileSystemController$ResetFileSystem.autoMount(ArchiveFileSystemController.java:105)
       at de.schlichtherle.io.ArchiveFileSystemController.autoMount(ArchiveFileSystemController.java:60)
       at de.schlichtherle.io.ArchiveController.exists0(ArchiveController.java:677)
       at de.schlichtherle.io.ArchiveController.exists(ArchiveController.java:663)
       at de.schlichtherle.io.File.exists(File.java:2208)
       at de.schlichtherle.io.File.mkdirs(File.java:2630)
       at org.jboss.ide.eclipse.archives.core.util.internal.TrueZipUtil.copyFile(TrueZipUtil.java:70)
       at org.jboss.ide.eclipse.archives.core.util.internal.ModelTruezipBridge.copyFiles(ModelTruezipBridge.java:143)
       at org.jboss.ide.eclipse.archives.core.util.internal.ModelTruezipBridge.fullFilesetBuild(ModelTruezipBridge.java:75)
       at org.jboss.ide.eclipse.archives.core.util.internal.ModelTruezipBridge.fullFilesetBuild(ModelTruezipBridge.java:71)
       at org.jboss.ide.eclipse.archives.core.build.ArchiveBuildDelegate.fullFilesetBuild(ArchiveBuildDelegate.java:113)
       at org.jboss.ide.eclipse.archives.core.build.ArchiveBuildDelegate.fullArchiveBuild(ArchiveBuildDelegate.java:96)
       at org.jboss.ide.eclipse.archives.core.build.ArchiveBuildDelegate.fullProjectBuild(ArchiveBuildDelegate.java:67)
       at org.jboss.ide.eclipse.archives.core.project.ArchivesBuilder.build(ArchivesBuilder.java:83)
       at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:624)
       at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
       at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:166)
       at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:197)
       at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:246)
       at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
       at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:249)
       at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:302)
       at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:334)
       at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:137)
       at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:235)
       at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)