tracker issue : CF-4126638

select a category, or use search below
(searches all categories and all time range)
Title:

Calling writedump twice throws exception

| View in Tracker

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:

Adding BUG AUDIT TRAIL ********action: updated fieldName: Status newValue: Withdrawn oldValue: ToTest oprid: hkallae recordName: RQ_DEFECT timpestamp: 2015-08-31 08:06:19.0 action: updated fieldName: State newValue: Closed oldValue: Open oprid: hkallae recordName: RQ_DEFECT timpestamp: 2015-08-31 08:06:19.0 action: updated fieldName: Reason newValue: Duplicate oldValue: Duplicate oprid: hkallae recordName: RQ_DEFECT timpestamp: 2015-08-31 08:06:19.0 action: updated fieldName: Owner newValue: Blank oldValue: hkallae oprid: hkallae recordName: RQ_DEFECT timpestamp: 2015-08-31 08:06:19.0 action: updated fieldName: Closed By newValue: hkallae oldValue: Blank oprid: hkallae recordName: RQ_DEFECT timpestamp: 2015-08-31 08:06:19.0 action: updated fieldName: Date Closed newValue: 2015-08-31 01:06:19.0 oldValue: Blank oprid: hkallae recordName: RQ_DEFECT timpestamp: 2015-08-31 08:06:19.0 action: updated fieldName: Status newValue: ToTest oldValue: Unverified oprid: himar recordName: RQ_DEFECT timpestamp: 2015-08-31 07:55:58.0 action: updated fieldName: Duplicate Bug ID newValue: CF-4020872 oldValue: Blank oprid: himar recordName: RQ_DEFECT timpestamp: 2015-08-31 07:55:58.0 action: updated fieldName: Reason newValue: Duplicate oldValue: Blank oprid: himar recordName: RQ_DEFECT timpestamp: 2015-08-31 07:55:58.0 action: added fieldName: Vote Type newValue: BETA oldValue: Blank oprid: prerelease recordName: AD_DEFECT_VOTE timpestamp: 2015-08-29 09:04:16.0
Comment by CFwatson U.
3653 | March 09, 2016 04:22:31 AM GMT
I'm seeing this too. Both writeDump() and <cfdump>.
Vote by External U.
3656 | March 09, 2016 04:22:32 AM GMT
Added By: PreRelease User User Name:Sean Corfield Note Added: Confirmed working in 9/15 build. Date Added :2015-09-15 21:11:17.0 Added By:hkallae Note Added: It's duplicate of #CF-4020872 Date Added :2015-08-31 08:06:20.0 Added By:himar Note Added: Turns out it is same as CF-4020872. Works if you use cf.sh ./dump.cfm Date Added :2015-08-31 07:56:00.0 Added By: PreRelease User User Name:Sean Corfield Note Added: Entered Bug. Date Added :2015-08-28 18:49:28.0
Comment by CFwatson U.
3654 | March 09, 2016 04:22:34 AM GMT
Hi Adobe, Please change Duplicate ID from CF-4020872 to CF-4126714 so that bugbase.adobe.com users can click to see the original. PR:CF-4045532|Public:CF-4126638 is duplicate of PR:CF-4020872|Public:CF-4126714 Thanks!, -Aaron
Comment by External U.
3655 | May 28, 2016 02:06:26 PM GMT