Status/Resolution/Reason: Closed/Withdrawn/Duplicate
Reporter/Name(from Bugbase): Sean Corfield / Sean Corfield (Sean Corfield)
Created: 03/09/2016
Components: CLI
Versions: 2016
Failure Type: Unspecified
Found In Build/Fixed In Build: Alpha_v12 /
Priority/Frequency: Trivial / Unknown
Locale/System: English / Mac All
Vote Count: 1
Duplicate ID: CF-4020872
Problem Description:
If you attempt to call writedump twice in a CLI script, you get an exception.
Steps to Reproduce:
(! 536)-> cf.sh dump.cfm
123
Aug 28, 2015 11:48:18 AM Error [main] -
java.lang.NullPointerException
at coldfusion.tagext.lang.ImportedTag$TagLibInfo.equals(ImportedTag.java:123)
at java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:940)
at coldfusion.util.SoftCache.get_statsOff(SoftCache.java:127)
at coldfusion.util.SoftCache.get(SoftCache.java:81)
at coldfusion.tagext.lang.ImportedTag.setName(ImportedTag.java:88)
at cfdump2ecfm2122490654.runPage(dump.cfm:4)
at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:250)
at coldfusion.tagext.lang.IncludeTag.handlePageInvoke(IncludeTag.java:736)
at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:572)
at coldfusion.tools.CLI.compileAndRun(CLI.java:310)
at coldfusion.tools.CLI.main(CLI.java:187)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at coldfusion.tools.CLIInvoker.main(CLIInvoker.java:142)
Fri Aug 28 11:48:18
(sean)-(jobs:0)-(~/cfml)
(! 537)-> cat -n dump.cfm
1 <cfscript>
2 foo = "123";
3 writedump(foo);
4 writedump(foo);
5 </cfscript>
Actual Result:
See exception above.
Expected Result:
Should print 123 twice.
Any Workarounds:
None.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 4126638
External Customer Info:
External Company: Railo US
External Customer Name: Sean Corfield
External Customer Email: SEAN@CORFIELD.ORG
External Test Config:
Attachments:
Comments: