Skip to content

Instantly share code, notes, and snippets.

@bardware
Created March 23, 2018 11:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bardware/078b1d927710f98c7a3e583a4bfd2d75 to your computer and use it in GitHub Desktop.
Save bardware/078b1d927710f98c7a3e583a4bfd2d75 to your computer and use it in GitHub Desktop.
Commandbox variable [NEWCONTENT] doesn't exist
CommandBox:stmelfposy> utils normalize-line-endings *.txt --type windows
Confirm normalizing line endings for 179 files : y
ERROR (3.9.2+00826)
variable [NEWCONTENT] doesn't exist
C:\Users\bddoeble\.CommandBox\cfml\system\modules_app\utils-commands\commands\utils\normalize-line-endings.cfc: line 95
93: }
94:
95: if ( content != newContent ) {
96: if ( arguments.verbose ){
97: print.line( "Normalizing line endings for " & arguments.filePath & "..." )
called from C:\Users\bddoeble\.CommandBox\cfml\system\modules_app\utils-commands\commands\utils\normalize-line-endings.cfc: line 62
60:
61: for ( var file in arguments.files ){
62: normalizeLineEndings( file, arguments.type, arguments.verbose );
63: }
64: }
called from C:\Users\bddoeble\.CommandBox\cfml\system\services\CommandService.cfc: line 315
313: // Run the command
314: try {
315: var result = commandInfo.commandReference.CFC.run( argumentCollection = parameterInfo.namedParameters );
316: lastCommandErrored = commandInfo.commandReference.CFC.hasError();
317: } catch( any e ){
called from C:\Users\bddoeble\.CommandBox\cfml\system\services\CommandService.cfc: line 135
133: var commandChain = resolveCommand( line );
134:
135: return runCommand( commandChain, line );
136: }
137:
called from C:\Users\bddoeble\.CommandBox\cfml\system\Shell.cfc: line 465
463: }
464: } else {
465: var result = variables.commandService.runCommandLine( arguments.command );
466: }
467:
called from C:\Users\bddoeble\.CommandBox\cfml\system\Shell.cfc: line 414
412: // If there's input, try to run it.
413: if( len( trim( line ) ) ) {
414: callCommand( command=line, initialCommand=true );
415: }
416:
called from C:\Users\bddoeble\.CommandBox\cfml\system\Bootstrap.cfm: line 113
111:
112: // Running the "reload" command will enter this while loop once
113: while( shell.run( silent=silent ) ){
114: clearScreen = shell.getDoClearScreen();
115:
variable [NEWCONTENT] doesn't exist
at lucee.runtime.type.scope.UndefinedImpl.get(UndefinedImpl.java:226):226
at system.modules_app.utils_commands270.commands.utils.normalize_line_endings_cfc1125$cf.udfCall(/commandbox/system/modules_app/utils-commands/commands/utils/normalize-line-endings.cfc:95):95
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:111):111
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:328):328
at lucee.runtime.type.UDFImpl.call(UDFImpl.java:229):229
at lucee.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:766):766
at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:743):743
at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1599):1599
at system.modules_app.utils_commands270.commands.utils.normalize_line_endings_cfc1125$cf.udfCall(/commandbox/system/modules_app/utils-commands/commands/utils/normalize-line-endings.cfc:62):62
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:111):111
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:328):328
at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:216):216
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:643):643
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:524):524
at lucee.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:1778):1778
at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:774):774
at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:1609):1609
at system.services.commandservice_cfc$cf.udfCall1(/commandbox/system/services/CommandService.cfc:315):315
at system.services.commandservice_cfc$cf.udfCall(/commandbox/system/services/CommandService.cfc):-1
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:111):111
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:328):328
at lucee.runtime.type.UDFImpl.call(UDFImpl.java:229):229
at lucee.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:766):766
at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:743):743
at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1599):1599
at system.services.commandservice_cfc$cf.udfCall1(/commandbox/system/services/CommandService.cfc:135):135
at system.services.commandservice_cfc$cf.udfCall(/commandbox/system/services/CommandService.cfc):-1
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:111):111
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:328):328
at lucee.runtime.type.UDFImpl.call(UDFImpl.java:229):229
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:642):642
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:524):524
at lucee.runtime.ComponentImpl.call(ComponentImpl.java:1761):1761
at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:743):743
at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1599):1599
at system.shell_cfc$cf.udfCall3(/commandbox/system/Shell.cfc:465):465
at system.shell_cfc$cf.udfCall(/commandbox/system/Shell.cfc):-1
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:111):111
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:328):328
at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:216):216
at lucee.runtime.type.scope.UndefinedImpl.callWithNamedValues(UndefinedImpl.java:775):775
at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:774):774
at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:1609):1609
at system.shell_cfc$cf.udfCall2(/commandbox/system/Shell.cfc:414):414
at system.shell_cfc$cf.udfCall(/commandbox/system/Shell.cfc):-1
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:111):111
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:328):328
at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:216):216
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:643):643
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:524):524
at lucee.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:1778):1778
at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:774):774
at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:1609):1609
at users.bddoeble._commandbox46.cfml.system.bootstrap_cfm$cf.call(/Users/bddoeble/.CommandBox/cfml/system/Bootstrap.cfm:113):113
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:957):957
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:909):909
at lucee.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:225):225
at lucee.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:37):37
at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2271):2271
at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2234):2234
at lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:456):456
at lucee.runtime.engine.CFMLEngineImpl.cli(CFMLEngineImpl.java:760):760
at lucee.loader.engine.CFMLEngineWrapper.cli(CFMLEngineWrapper.java:267):267
at luceecli.CLIMain.run(CLIMain.java:223):223
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method):-2
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62):62
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43):43
at java.lang.reflect.Method.invoke(Method.java:498):498
at cliloader.LoaderCLIMain.execute(LoaderCLIMain.java:199):199
at cliloader.LoaderCLIMain.main(LoaderCLIMain.java:626):626
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment