Gary D. Gregory created CONFIGURATION-767: ---------------------------------------------
Summary: NullPointerException in XMLConfiguration.createTransformer() when no FileLocator is set Key: CONFIGURATION-767 URL: https://issues.apache.org/jira/browse/CONFIGURATION-767 Project: Commons Configuration Issue Type: New Feature Reporter: Gary D. Gregory You get a {{NullPointerException}} in {{XMLConfiguration.createTransformer()}} when no FileLocator is set. For example: {code:java} XMLConfiguration xmlConfig = new XMLConfiguration(); xmlConfig.setRootElementName("IAmRoot"); xmlConfig.setProperty("Child", "Alexander"); StringWriter sw = new StringWriter(); xmlConfig.write(sw); {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)