[
https://issues.jboss.org/browse/AS7-4125?page=com.atlassian.jira.plugin.s...
]
Brian Stansberry resolved AS7-4125.
-----------------------------------
Assignee: Brian Stansberry (was: Jason Greene)
Fix Version/s: 7.1.1.Final
Resolution: Done
ServerEnvironment.getFilesFromProperties reads path.separator from
the wrong place
----------------------------------------------------------------------------------
Key: AS7-4125
URL:
https://issues.jboss.org/browse/AS7-4125
Project: Application Server 7
Issue Type: Bug
Components: Server
Reporter: Brian Stansberry
Assignee: Brian Stansberry
Fix For: 7.1.1.Final
String sep = props.getProperty("path.separator");
should be
String sep = SecurityActions.getSystemProperty("path.separator");
The passed in "props" is not the system property map in a managed domain, so
this incorrect call will lead to an NPE
[Server:server-two] java.lang.NullPointerException
[Server:server-two] at java.util.regex.Pattern.quote(Pattern.java:1089)
[Server:server-two] at
org.jboss.as.server.ServerEnvironment.getFilesFromProperty(ServerEnvironment.java:1018)
[Server:server-two] at
org.jboss.as.server.ServerEnvironment.<init>(ServerEnvironment.java:320)
[Server:server-two] at
org.jboss.as.server.ServerStartTask.run(ServerStartTask.java:117)
[Server:server-two] at
org.jboss.as.server.DomainServerMain.main(DomainServerMain.java:129)
[Server:server-two] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[Server:server-two] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
[Server:server-two] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[Server:server-two] at java.lang.reflect.Method.invoke(Method.java:600)
[Server:server-two] at org.jboss.modules.Module.run(Module.java:260)
[Server:server-two] at org.jboss.modules.Main.main(Main.java:291)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira