Bug 55332 - empty input file cause exception in FileMessageFactory
empty input file cause exception in FileMessageFactory
Status: RESOLVED FIXED
Product: Tomcat 7
Classification: Unclassified
Component: Catalina
7.0.41
PC Linux
: P2 normal (vote)
: ---
Assigned To: Tomcat Developers Mailing List
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2013-07-31 12:39 UTC by lionghostshop
Modified: 2013-08-01 09:27 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description lionghostshop 2013-07-31 12:39:02 UTC
rm -rf inputFileX
touch inputFileX 

java org.apache.catalina.ha.deploy.FileMessageFactory inputFileX outputFileX


Exception in thread "main" java.lang.NullPointerException
	at org.apache.catalina.ha.deploy.FileMessageFactory.main(FileMessageFactory.java:379)
Comment 1 Keiichi Fujino 2013-08-01 09:27:15 UTC
Fixed in trunk and 7.0.x and will be included in 7.0.43 onwards.