ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 21947] - JUnit Task - XML formatter fails when type set to "xml": NullPointerException
Date Fri, 10 Aug 2007 15:16:05 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=21947>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=21947





------- Additional Comments From stevel@apache.org  2007-08-10 08:16 -------
ok. 

1. What happens when you run from the command line, rather than from Eclipse?
2. the log shows that you arent passing down the classpath you thought you were,
which doesnt help:

Property "classpath" has not been set
dropping ${path}\${classpath} from path as it doesn't exist

Try using the property java.class.path instead. 

looking in to Writer.write(), it looks like it is probably the write(String)
method that is NPE-ing on a null string...maybe we need some fallback code to
check that you really can get a line separator from system properties (a
security manager could block it, after all),and then drop back to a \n in such a
case.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message