deploy, undeploy, deploy of an app using hot-deploy directory fails on the 
second deploy
----------------------------------------------------------------------------------------

                 Key: GERONIMO-5894
                 URL: https://issues.apache.org/jira/browse/GERONIMO-5894
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: Hot Deploy Dir
    Affects Versions: 3.0
            Reporter: Kevan Miller
             Fix For: 3.0


If you copy an app into deploy directory, delete it, and copy it back in, 
you're likely to get an error like:

2011-04-08 12:37:01,157 ERROR [DirectoryMonitor] Error during hot deployment    
                                                                            
java.lang.NullPointerException                                                  
                                                                            
        at 
org.apache.geronimo.kernel.repository.Artifact.create(Artifact.java:59)         
                                                                 
        at 
org.apache.geronimo.kernel.repository.Artifact.create(Artifact.java:51)         
                                                                 
        at 
org.apache.geronimo.deployment.hot.DirectoryMonitor.doRemoves(DirectoryMonitor.java:183)
                                                         
        at 
org.apache.geronimo.deployment.hot.DirectoryMonitor.scanDirectory(DirectoryMonitor.java:258)
                                                     
        at 
org.apache.geronimo.deployment.hot.DirectoryMonitor.run(DirectoryMonitor.java:219)
                                                               
        at java.lang.Thread.run(Thread.java:680) 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to