From: Steve L. (JIRA) <ji...@sm...> - 2007-11-28 14:59:27
|
[ http://jira.smartfrog.org/jira/browse/SFOS-564?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Loughran resolved SFOS-564. --------------------------------- Compatibility: backwards compatible (was: unknown) Resolution: Fixed fixed in SVN, with tests > regression in RunShell; list operations causing NPW > --------------------------------------------------- > > Key: SFOS-564 > URL: http://jira.smartfrog.org/jira/browse/SFOS-564 > Project: SmartFrog > Issue Type: Bug > Components: .sfCore > Affects Versions: 3.12.010 > Reporter: Steve Loughran > Assignee: Steve Loughran > Fix For: 3.12.011 dev > > > fullShellCommand = ListUtils.stringify(commands, " '", "'\n", "'\n"); > String[] cmdArray=commands.toArray(null); ** here ** > subProcess = runtime.exec( > cmdArray, > envProp, > workDirFile); > The 212 line is causing the problem: > String[] cmdArray=commands.toArray(null); > Caused by: java.lang.NullPointerException > at java.util.Vector.toArray(Vector.java:685) > at org.smartfrog.services.os.runshell.RunShellImpl.execute(RunShellImpl.java:212) > at org.smartfrog.services.os.runshell.RunShellImpl.sfDeploy(RunShellImpl.java:181) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294) > at sun.rmi.transport.Transport$1.run(Transport.java:153) > at java.security.AccessController.doPrivileged(Native Method) > at sun.rmi.transport.Transport.serviceCall(Transport.java:149) > at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466) > at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707) > ... 1 more -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.smartfrog.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |