(java.lang.VerifyError) Message Expecting a stackmap frame at branch target 4253

Description

install my log viewer admin plugin

it's throwing the following, just opening it via the admin menu, works fine in 5.3.9 and 6.0.0.109

Lucee 6.0.0.150-SNAPSHOT Error (java.lang.VerifyError)
Message Expecting a stackmap frame at branch target 4253
Exception Details:
Location:
logviewer/logdirectory_cfc$cf.udfCall1(Llucee/runtime/PageContext;Llucee/runtime/type/UDF;I)Ljava/lang/Object; @1: lookupswitch
Reason:
Expected stackmap frame at this location.
Bytecode:
0000000: 1dab 0000 0000 109c 0000 000a 0000 0000
0000010: 0000 005b 0000 0001 0000 0071 0000 0002
0000020: 0000 05fe 0000 0003 0000 0712 0000 0004
etc etc

Stacktrace The Error Occurred in
C:\lucee\tomcat\lucee-server\context\context\admin\plugin\logViewer\LogGateway.cfc: line 32
30: public void function init() {
31: variables.logParser = new LogParser();
32: variables.logDirectory = new LogDirectory();
33: variables.logConfig = new LogConfig();
34: }

called from C:\lucee\tomcat\lucee-server\context\context\admin\plugin\logViewer\Action.cfc: line 29
called from /admin/plugin.cfm: line 37
called from /admin/web.cfm: line 508
called from /admin/server.cfm: line 7
Java Stacktrace lucee.runtime.exp.NativeException: Expecting a stackmap frame at branch target 4253
Exception Details:
Location:
logviewer/logdirectory_cfc$cf.udfCall1(Llucee/runtime/PageContext;Llucee/runtime/type/UDF;I)Ljava/lang/Object; @1: lookupswitch
Reason:
Expected stackmap frame at this location.
Bytecode:
0000000: 1dab 0000 0000 109c 0000 000a 0000 0000
0000010: 0000 005b 0000 0001 0000 0071 0000 0002
0000020: 0000 05fe 0000 0003 0000 0712 0000 0004
0000030: 0000 0921 0000 0005 0000 0b48 0000 0006

Environment

None

Attachments

2

Activity

Show:

Zac Spitzer 22 November 2022 at 14:33

closing this ticket as solved,

I have created about the above problem

Pothys - MitrahSoft 22 November 2022 at 13:15

I've checked this ticket with lucee version 6.0.0.300-SNAPSHOT. Now the java.lang.VerifyError issue was solved and logViewer page doesn't throw an error

Zac Spitzer 22 November 2022 at 11:28

plugins are loaded via a dynamic mapping

Zac Spitzer 22 November 2022 at 11:20
Edited

so i think this bug is actually fixed, but there’s a different problem, the generated class doesn’t ever get updated, even if i edit the cfc

if i copy logDirectory.cfc to logDirectory1.cfc  it all works

but if i make any changes to logDirectory.cfc nothing triggers the class to recompile, even a restart

simply deleting logdirectory_cfc$cf.class then recompiles and it all works

Pothys - MitrahSoft 22 November 2022 at 11:14

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 8 January 2022 at 19:43
Updated 22 November 2022 at 14:33
Resolved 22 November 2022 at 14:33