File.getParent can return null
------------------------------
Key: JBESB-335
URL:
https://jira.jboss.org/jira/browse/JBESB-335
Project: JBoss ESB
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Rosetta
Affects Versions: 4.0 CR2
Reporter: Mark Little
Assignee: Esteban Schifman
Priority: Blocker
Fix For: 4.0 CR2
FileCourier.postFile relies on getParent never returning null so it can get the post
directory if one is not specified in the EPR. It even does a comparison later on without
checking for null. Unfortunately it is legal for getParent to return null. However, in
that situation we should throw an exception at the very least. The signature doesn't
allow for it and I'm not changing it yet. If a post directory is not specified we will
assume a relative default directory of 'post'.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: