redfine class error

Description

java.lang.InternalError at sun.instrument.InstrumentationImpl.redefineClasses0(Native Method) at sun.instrument.InstrumentationImpl.redefineClasses(InstrumentationImpl.java:170) at lucee.commons.lang.PhysicalClassLoader.loadClass(PhysicalClassLoader.java:174) at lucee.runtime.MappingImpl.getPhysicalClass(MappingImpl.java:259) at lucee.runtime.PageSourceImpl._compile(PageSourceImpl.java:358) at lucee.runtime.PageSourceImpl.compile(PageSourceImpl.java:322) at lucee.runtime.PageSourceImpl.loadPhysical(PageSourceImpl.java:290) at lucee.runtime.PageSourceImpl.loadPageThrowTemplateException(PageSourceImpl.java:182) at lucee.runtime.PageSourceImpl.loadPage(PageSourceImpl.java:905) at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:889) at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:842) at lucee.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:224) at lucee.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:43) at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2408) at lucee.runtime.PageContextImpl._execute(PageContextImpl.java:2398) at lucee.runtime.PageContextImpl.executeCFML(PageContextImpl.java:2366) at lucee.runtime.engine.Request.run(Request.java:34)

Environment

None

Activity

Michael Offner 
16 August 2017 at 15:27

This should no longer happen, because the cause was reverted.

Michael Offner 
31 July 2017 at 17:01

sadly i'm not able to reproduce the issue with the current version. Does this still happen for you.
We had changes in meantime with the code in question. Specially with the code for https://luceeserver.atlassian.net/browse/LDEV-1201#icft=LDEV-1201 was changed.

Michael Offner 
3 May 2017 at 16:04

this is caused by LDEV-1201, there are in the end 2 issues, the default value bytecode type is not correctly handled what leads to the exception above.
But the other problem is that a null value is handled as valid value even full null support is disabled, when the value not comes from a UDF.

Michael Offner 
3 May 2017 at 12:39
(edited)

this seem to cause the problem:

<cfset sTarget = isEmpty(url.target ?: '') ? '/#qry_appl.appl_url#/index.cfm?&uebergabe=#url.uebergabe ?: 0#' : url.target>

Michael Offner 
3 May 2017 at 11:50

Fixed

Details

Assignee

Reporter

Priority

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

Created 3 May 2017 at 09:49
Updated 16 August 2017 at 15:27
Resolved 16 August 2017 at 15:27