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=22065>. 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=22065 NullPointerException if user specifies "-Debug" Summary: NullPointerException if user specifies "-Debug" Product: Ant Version: 1.6Alpha (nightly) Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: Core AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] If the user mistakenly specifies "-Debug" instead of "-debug" you will get a NullPointerException. The reason is in the parsing of -D properties at line 383 of Main.processArgs(String[]). The "-Debug" is incorrectly interpreted as a property with name "ebug" and a value of null. And since the NullPointerException does not have a message, the user gets nothing printed to System.err (You might want to consider that if the message == null, do a Throwable.printStackTrace(System.err)? ) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]