Issues

Select view

Select search mode

 

Error in database operations with 5.3.9 and loader 5.0.0.254

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

Created 29 April 2022 at 15:38
Updated 5 May 2022 at 07:53

Activity

Show:

Pothys - MitrahSoft5 May 2022 at 07:52
Edited

I've checked this ticket and confirmed the issue happened on the lucee latest version 5.3.9.137-SNAPSHOT with a 5.0.8.15 loader. Executing the database operations( using cfquery or queryExecute ) throws error like org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.getBundle()Lorg/apache/Felix/framework/BundleImpl. But there is no NPE. Also using the little recent loader( checked with 5.3.6.68 ) works fine.

The regression starts from 5.3.9.117-SNAPSHOT. It works fine until 5.3.9.116-SNAPSHOT. This commit causes to this issue https://github.com/lucee/Lucee/commit/839ff9565bd03a793e387b98ed46bdb2501ec281

Stacktrace:

lucee.runtime.exp.NativeException: org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.getBundle()Lorg/apache/felix/framework/BundleImpl; at lucee.runtime.osgi.OSGiUtil.isValid(OSGiUtil.java:2027) at lucee.runtime.db.DatasourceConnectionPool.isValid(DatasourceConnectionPool.java:256) at lucee.runtime.db.DatasourceConnectionPool.getDatasourceConnection(DatasourceConnectionPool.java:133) at lucee.runtime.db.DatasourceManagerImpl.getConnection(DatasourceManagerImpl.java:81) at lucee.runtime.tag.Query.executeDatasoure(Query.java:1119) at lucee.runtime.tag.Query._doEndTag(Query.java:699) at lucee.runtime.tag.Query.doEndTag(Query.java:565) at test.testcases.test_cfm$cf.call(/test/testcases/test.cfm:15) at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:1043) at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:935) at lucee.runtime.listener.ClassicAppListener._onRequest(ClassicAppListener.java:65)

Flag notifications