DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5374>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5374

NullPointerException in GenericDeploymentTool  line 695

           Summary: NullPointerException in GenericDeploymentTool  line 695
           Product: Ant
           Version: 1.4.1
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Optional Tasks
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
                CC: [EMAIL PROTECTED]


I had a EJB deployment descriptor containing a <ejb-ref> to a class that wasn't 
in the srcdir.
ejbjar couldn't add it to the jar.
However, the code in GenericDeploymentTool that handles inner classes calls 
File.list()
File.list() can return null. 
However, the code wasn't checking for this and so innerfiles.length got a 
NullPointerException

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to