cfdump eval throws wrong error when evaluation failed

Description

When the evaluation of a <cfdump eval="..."> fails, the displayed error is now always
attribute "eval" cannot be evaluated because it is not a string, the attribute "eval" is not supported for the Lucee dialect.

Stacktrace:
{{lucee.runtime.exp.CustomTypeException: attribute "eval" cannot be evaluated because it is not a string, the attribute "eval" is not supported for the Lucee dialect.
at lucee.runtime.tag.Throw._doStartTag(Throw.java:212)
at lucee.runtime.tag.Throw.doStartTag(Throw.java:201)
at dump_cfc$cf.udfCall1(/Users/frinky/lucee-5.0.0.153-azuretest/lucee-server/context/library/tag/Dump.cfc:66)
at dump_cfc$cf.udfCall(/Users/frinky/lucee-5.0.0.153-azuretest/lucee-server/context/library/tag/Dump.cfc)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:105)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:337)
at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:208)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:698)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:580)
at lucee.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:1919)
at lucee.runtime.tag.CFTag.cfcStartTag(CFTag.java:395)
at lucee.runtime.tag.CFTag.doStartTag(CFTag.java:177)
at test.index_cfm$cf.call(/Users/frinky/lucee-5.0.0.153-azuretest/webapps/ROOT/test/index.cfm:12)
at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:907)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:822)
[....]}}

Environment

None

Activity

Show:
Fixed

Details

Assignee

Reporter

Priority

Labels

Fix versions

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Affects versions

Created 18 January 2016 at 13:50
Updated 28 January 2016 at 14:30
Resolved 28 January 2016 at 14:30

Flag notifications