Issues
- Error in database operations with 5.3.9 and loader 5.0.0.254LDEV-3974Michael Offner
- <cfstoredproc /> is not returning correct exception when MSSQL when raiserror() is usedLDEV-3908Resolved issue: LDEV-3908Michael Offner
- add dbinfo type="columns_minimal"LDEV-3374Resolved issue: LDEV-3374Zac Spitzer
- allow table wildcards for dbinfo type="columns"LDEV-3373Resolved issue: LDEV-3373Zac Spitzer
- Firebird jdbc support missingLDEV-3205Pothys - MitrahSoft
- Error Executing Query with empty queryparam value listLDEV-2616Michael Offner
- Query CachedWithin not working for MySQLLDEV-2266Resolved issue: LDEV-2266Michael Offner
- Unable to open cacerts after AWS RDS (Amazon Web Services Relational Database Service) UpgradeLDEV-1894
- Client-Daten in DB funktioniert seit Update von 5.1.3.18 nicht mehrLDEV-1319Resolved issue: LDEV-1319
Error in database operations with 5.3.9 and loader 5.0.0.254
Description
Environment
Details
Assignee
Michael OffnerMichael OffnerReporter
Zac SpitzerZac SpitzerPriority
NewNew 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
Details
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
Activity
Pothys - MitrahSoft5 May 2022 at 07:52Edited
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)
https://dev.lucee.org/t/lucee-5-3-9-133-nullpointerexception/10043