Following running an upgrade --latest command the prompt indicated that I had an update available and I hit enter then immediately following the update it throws the following error referencing userPositionalParams not existing. From what I can see the code in the CommandService.cfc properly checks for length of array, before deciding to call the convertToNamedParameters() method.
Not sure if others have run into this issue or if I was just too far behind that the update process didn’t work properly and I just need to blow away my .CommandBox folder to start fresh.
Thanks. Let me know your thoughts and if it looks like a code issue I can see if I can submit a pull request.
From CommandBox.log file:
`
“Severity”,“Appender”,“Date”,“Time”,“Category”,“Message”
“ERROR”,“FILEAPPENDER”,“03/26/2015”,“12:04:09”,“commandbox.system.Shell”,“variable [USERPOSITIONALPARAMS] doesn’t exist ExtraInfo:variable [USERPOSITIONALPARAMS] doesn’t exist
at railo.runtime.type.scope.UndefinedImpl.get(UndefinedImpl.java:208):208
at system.services.commandservice_cfc$cf.udfCall2(E:\Users\tim.CommandBox\cfml\system\services\CommandService.cfc:603):603
at system.services.commandservice_cfc$cf.udfCall(E:\Users\tim.CommandBox\cfml\system\services\CommandService.cfc):-1
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:93):93
at railo.runtime.type.UDFImpl._call(UDFImpl.java:307):307
at railo.runtime.type.UDFImpl.call(UDFImpl.java:208):208
at railo.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:748):748
at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:724):724
at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1547):1547
at system.services.commandservice_cfc$cf.udfCall1(E:\Users\tim.CommandBox\cfml\system\services\CommandService.cfc:203):203
at system.services.commandservice_cfc$cf.udfCall(E:\Users\tim.CommandBox\cfml\system\services\CommandService.cfc):-1
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:93):93
at railo.runtime.type.UDFImpl._call(UDFImpl.java:307):307
at railo.runtime.type.UDFImpl.call(UDFImpl.java:208):208
at railo.runtime.ComponentImpl._call(ComponentImpl.java:623):623
at railo.runtime.ComponentImpl._call(ComponentImpl.java:506):506
at railo.runtime.ComponentImpl.call(ComponentImpl.java:1738):1738
at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:724):724
at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1547):1547
at system.shell_cfc$cf.udfCall2(E:\Users\tim.CommandBox\cfml\system\Shell.cfc:401):401
at system.shell_cfc$cf.udfCall(E:\Users\tim.CommandBox\cfml\system\Shell.cfc):-1
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:93):93
at railo.runtime.type.UDFImpl._call(UDFImpl.java:307):307
at railo.runtime.type.UDFImpl.call(UDFImpl.java:208):208
at railo.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:748):748
at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:724):724
at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1547):1547
at system.shell_cfc$cf.udfCall2(E:\Users\tim.CommandBox\cfml\system\Shell.cfc:375):375
at system.shell_cfc$cf.udfCall(E:\Users\tim.CommandBox\cfml\system\Shell.cfc):-1
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:93):93
at railo.runtime.type.UDFImpl._call(UDFImpl.java:307):307
at railo.runtime.type.UDFImpl.call(UDFImpl.java:208):208
at railo.runtime.ComponentImpl._call(ComponentImpl.java:623):623
at railo.runtime.ComponentImpl._call(ComponentImpl.java:506):506
at railo.runtime.ComponentImpl.call(ComponentImpl.java:1738):1738
at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:724):724
at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1547):1547
at users.tim._commandbox46.cfml.system.bootstrap_cfm$cf.call(E:\Users\tim.CommandBox\cfml\system\Bootstrap.cfm:52):52
at railo.runtime.PageContextImpl.doInclude(PageContextImpl.java:909):909
at railo.runtime.PageContextImpl.doInclude(PageContextImpl.java:861):861
at railo.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:206):206
at railo.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:18):18
at railo.runtime.PageContextImpl.execute(PageContextImpl.java:2212):2212
at railo.runtime.PageContextImpl.execute(PageContextImpl.java:2179):2179
at railo.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:331):331
at railo.runtime.engine.CFMLEngineImpl.cli(CFMLEngineImpl.java:632):632
at railo.loader.engine.CFMLEngineWrapper.cli(CFMLEngineWrapper.java:249):249
at railocli.CLIMain.run(CLIMain.java:63):63
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method):-2
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source):-1
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source):-1
at java.lang.reflect.Method.invoke(Unknown Source):-1
at cliloader.LoaderCLIMain.execute(LoaderCLIMain.java:326):326
at cliloader.LoaderCLIMain.main(LoaderCLIMain.java:264):264”
`
Thanks!
~Tim