What should Path.getAttribute(null) do? Plausible options seem to be: 1. Throw an IllegalArgumentException. 2. Throw a NullPointerException. 3. Return null. The docs don't specify any behavior. -- J.