cfinvoke throws NPE without method attribute

Description

While using cfinvoke without method attribute throws a NullPointerException. Seems ACF throws an attribute validation error like It requires the attribute(s): METHOD .

stacktrace:

"ERROR","ajp-nio-8009-exec-1","05/07/2021","13:33:59","","java.lang.NullPointerException;java.lang.NullPointerException;lucee.runtime.exp.NativeException: java.lang.NullPointerException at lucee.runtime.type.KeyImpl.<init>(KeyImpl.java:123) at lucee.runtime.type.KeyImpl.init(KeyImpl.java:134) at lucee.runtime.tag.Invoke.doWebService(Invoke.java:239) at lucee.runtime.tag.Invoke.doEndTag(Invoke.java:190) at test.testcase.cfinvoke.test_cfm$cf.call(/test/testcase/cfinvoke/test.cfm:2) at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:1031) at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:923)

Environment

None

Activity

Show:

Pothys - MitrahSoft 12 May 2021 at 14:58

I've checked this ticket with a fixed version it works fine. would be nice to see these changes in lucee 5.3 too.

Zac Spitzer 7 May 2021 at 11:22

Fixed

Details

Assignee

Reporter

Priority

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

Sprint

Affects versions

Created 7 May 2021 at 09:40
Updated 27 April 2022 at 16:54
Resolved 19 May 2021 at 09:44

Flag notifications