1 Reply Latest reply on Nov 13, 2002 12:53 PM by Adrian Brock

    java.lang.NullPointerException  during undeployment of .war

    Paulo Henrique Newbie

      This exception during the undeployment is making hot-deploy useless as it makes a big mess with webapps (I need to restart the application server all the time to make the webapp work again)...
      How can I fix it? Is it a bug?


      16:58:00,056 INFO [Engine] StandardHost[localhost]: Removing web application at
      context path /reconc
      16:58:00,116 ERROR [MainDeployer] Undeployment failed: file:/D:/jboss-3.0.3_tomc
      at-4.1.12/server/all/deploy/reconc.ear/reconc.war/
      org.jboss.deployment.DeploymentException: Error during deploy; - nested throwabl
      e: (java.lang.NullPointerException)
      at org.jboss.web.AbstractWebContainer.stop(AbstractWebContainer.java:355
      )
      at org.jboss.deployment.MainDeployer.stop(MainDeployer.java:469)
      at org.jboss.deployment.MainDeployer.stop(MainDeployer.java:481)
      at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:443)
      at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:438)
      at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:411)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
      nDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
      at $Proxy4.undeploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.undeploy(URLDeploym
      entScanner.java:457)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
      canner.java:546)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      doScan(AbstractDeploymentScanner.java:212)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      loop(AbstractDeploymentScanner.java:225)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      run(AbstractDeploymentScanner.java:202)
      + nested throwable:
      java.lang.NullPointerException
      at org.jboss.util.file.Files.delete(Files.java:39)
      at org.jboss.web.catalina.EmbeddedCatalinaService41.performUndeploy(Embe
      ddedCatalinaService41.java:330)
      at org.jboss.web.AbstractWebContainer.stop(AbstractWebContainer.java:345
      )
      at org.jboss.deployment.MainDeployer.stop(MainDeployer.java:469)
      at org.jboss.deployment.MainDeployer.stop(MainDeployer.java:481)
      at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:443)
      at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:438)
      at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:411)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
      nDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
      at $Proxy4.undeploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.undeploy(URLDeploym
      entScanner.java:457)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
      canner.java:546)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      doScan(AbstractDeploymentScanner.java:212)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      loop(AbstractDeploymentScanner.java:225)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      run(AbstractDeploymentScanner.java:202)