Bug 55332 - empty input file cause exception in FileMessageFactory
Summary: empty input file cause exception in FileMessageFactory
Status: RESOLVED FIXED
Alias: None
Product: Tomcat 7
Classification: Unclassified
Component: Catalina (show other bugs)
Version: 7.0.41
Hardware: PC Linux
: P2 normal (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
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.