- From: Florent Georges <fgeorges@fgeorges.org>
- Date: Fri, 8 Jul 2011 14:14:31 +0200
- To: XProc Dev <xproc-dev@w3.org>
Hi, In the current revision of the trunk (#672), URIUtils.java contains the method homeAsURI() which calls dirAsURI() with the value of the system property "user.home": public static URI homeAsURI() { return dirAsURI(System.getProperty("user.home")); } dirAsURI() calls encode() which in turn dereferences the value of the property without checking for nullness. Even though it could be null in some environments (e.g. a web container). I am not sure how the null case could be treated (ignoring it?) but as for now it just crashes with an NPE. Regards, -- Florent Georges http://fgeorges.org/
Received on Friday, 8 July 2011 12:15:19 UTC