Issues
- regression: ClassCastException with ortus hibernate extension on dockerLDEV-5399Resolved issue: LDEV-5399Zac Spitzer
- serializeJSON(ormObject) is missing child relationshipsLDEV-5117Resolved issue: LDEV-5117Pothys - MitrahSoft
- unbundle hibernate from standard distribution 5.4.1LDEV-4609Resolved issue: LDEV-4609Zac Spitzer
- unbundle hibernate from standard distribution 6.0LDEV-4606Resolved issue: LDEV-4606Zac Spitzer
- In Lucee Docker Image, ORM logs are not being updatedLDEV-4586Michael Offner
- orm events should fire cfc, then globalLDEV-4561Resolved issue: LDEV-4561Pothys - MitrahSoft
- OSGI error with hibernate.extension 5.4.29.20-BETA (lucee 6.0.0.425-SNAPSHOT) and InfiniSpanLDEV-4527Michael Offner
- show total open orm sessions in adminLDEV-4523
- applicationStop(). should close ORM sessionsLDEV-4520Michael Offner
- update commons-collections 3.2.1 to 4.4.0 in hibernate 5.4 extensionLDEV-4519Resolved issue: LDEV-4519
- update hibernate extension dom4j lib due to CVEsLDEV-4478Resolved issue: LDEV-4478Michael Offner
- Using named arguments in entityLoadByPK call results in java.lang.NoSuchMethodErrorLDEV-4461Resolved issue: LDEV-4461Pothys - MitrahSoft
- ORMFlush() throws NullPointerExceptionLDEV-4380Resolved issue: LDEV-4380Michael Offner
- cbdbinfo ignores datasource with mysql 8 and hibernate 3.5.5LDEV-4359
- 5.4 Hibernate regressions since 3.5.5LDEV-4341Michael Offner
- Hibernate 5.4 returning the event java objects not the entityLDEV-4340Michael Offner
- Memory leak when using ORM code in threadsLDEV-4339Resolved issue: LDEV-4339Michael Offner
- ORM test.orm.Hibernate testMany2Many failing with 5.4LDEV-4321Resolved issue: LDEV-4321Pothys - MitrahSoft
- orm preInsert() not working with 5.4LDEV-4308Resolved issue: LDEV-4308
- Bundle hibernate 5.4 with Lucee 5.4LDEV-4291Resolved issue: LDEV-4291
- upgrade to hibernate 6LDEV-4288
- Using named arguments in entityLoad call results in CasterExceptionLDEV-4285Resolved issue: LDEV-4285Zac Spitzer
- 5.4.29.18-BETA throws "Could not parse mapping document: null (INPUT_STREAM)"LDEV-4276Michael Offner
- Using not existing ORM entity within transaction throws incorrect errorLDEV-4211Resolved issue: LDEV-4211Pothys - MitrahSoft
- isWithinTransactions doesn't detect native Hibernate transactionsLDEV-4185Michael Offner
- Length is ignored on "varchar" type properties in ORM entitiesLDEV-4150Resolved issue: LDEV-4150Pothys - MitrahSoft
- Lucee Hibernate property defaults don't override explicit NULLs from DBLDEV-4121Michael Offner
- update hibernate extension to include slf4j to 1.7.36 and bundle itLDEV-4107Michael Offner
- Lucee 6.0 with Apache pool2 fails with "Object has already been returned to pool"LDEV-4106
- update ORM ehcache lib to 2.10.9.2 due to CVELDEV-4073Resolved issue: LDEV-4073Zac Spitzer
- ORM lambda invocations receive wrong `this` scopeLDEV-4067Michael Offner
- Hibernate 5.4 extension closes the ORM session when any ORM transaction endsLDEV-4017Resolved issue: LDEV-4017Michael Offner
- jdbc commit issues using transactions and hibernateLDEV-3980Resolved issue: LDEV-3980Michael Offner
- Hibernate 5.4 oldState data in preUpdate event is wrongLDEV-3925Resolved issue: LDEV-3925Pothys - MitrahSoft
- Hibernate 5.4 setting default value in primary key throws errorLDEV-3907Resolved issue: LDEV-3907Michael Offner
- Hibernate 5.4 getAllClassMetadata is no longer supportedLDEV-3905Resolved issue: LDEV-3905Pothys - MitrahSoft
- Lucee is firing onRequesStart BEFORE onApplicationStart, breaking coldbox.LDEV-3883Michael Offner
- Using ORM in transaction and query in outside of transaction fails in Hibernate-3.5.5.80-SNAPSHOTLDEV-3861Michael Offner
- Error occurred in the transaction block with ORM throws the different exceptionLDEV-3860Resolved issue: LDEV-3860Michael Offner
- Using multi-transaction with ORM and queryExecute throws error in Hibernate -3.5.5.80-SNAPSHOTLDEV-3859Michael Offner
- ORM: could not extract ResultSetLDEV-3848Michael Offner
- ORMExecuteQuery() with named params throws NPELDEV-3768Resolved issue: LDEV-3768Zac Spitzer
- Hibernate timeout on 5.3.8.201 and 3.5.5.75LDEV-3682Resolved issue: LDEV-3682
- Transactions with mixture of ORM and vanilla SQL do not completeLDEV-3659Resolved issue: LDEV-3659Michael Offner
- Savepoints are not supported on ORM transactionsLDEV-3657
- Lucee's implementation of SerializeJSON function ignores remotingfetch and getter of a property in Entity componentLDEV-3652Resolved issue: LDEV-3652Michael Offner
- Component imports do not work with entityNew() or entityLoad()LDEV-3649Resolved issue: LDEV-3649Pothys - MitrahSoft
- Hibernate: composite-id not get storedLDEV-3648Resolved issue: LDEV-3648Michael Offner
- Hibernate extension does not support JPA positional parameter syntaxLDEV-3641Resolved issue: LDEV-3641Michael Offner
- Add ormFlush should also accept a list of datasourcesLDEV-3630Michael Offner
regression: ClassCastException with ortus hibernate extension on docker
Description
Environment
Lucee Hibernate ORM 3.5.5.89 (but also tried extension v 5.x
Attachments
Details
Assignee
Zac SpitzerZac SpitzerReporter
Zac SpitzerZac SpitzerPriority
NewLabels
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
Details
Details
Assignee
Reporter
Priority
Labels
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
Activity
Michael Offner18 March 2025 at 21:54
Based on
i added a check if the statement returned is from type TagComponent
or not, if not the parser simply goes on
if that fixes this issue or not is unclear and as long i have not the source code causing this, i have no chance to verify.
i know that it must be some code with component<space>
, but still valid code, i tried to reproduce the issue with code like this
but that did work just fine
without any further input on this and when all test cases passes after this change, we have to assume that the issue is fixed and close this ticket.
What is certain if their code still fail, they will see a different exception, that maybe gives more inside.
Michael Offner17 March 2025 at 14:08
there is something else going on here, i also get a proper exception when i delete an extended component
try/finally is absolutely fine in that context, it simply clean up and then escalates the exception.
your exception completely differs from the exception in the description, yours is a runtime exception, the exception in the description is a compiler exception. something goes wrong when compiling code. compiler errors are easy to reproduce because they do not depend on a specific environment, so we simply need the template that fails to compile and when we have it, we can reproduce the issue.
Zac Spitzer17 March 2025 at 12:11
I tried to reproduce this error, i.e. with an invalid model cfc extends, but the error message was useful for both orm 5.4 and 3.5.5
there’s a try finally without a catch here?
ort we could add some context to this exception?
https://github.com/lucee/Lucee/blob/6.2/core/src/main/java/lucee/transformer/cfml/tag/CFMLTransformer.java#L382
Michael Offner17 March 2025 at 09:49
so do we have an issue not to get a proper exception message then or is this a non issue?
Zac Spitzer15 March 2025 at 16:42Edited
Via slack:
So, I think this had to do with component file not found due to a directory mapping issue . This resulted in some components that use extends="path.to.basecomponent"
not being able to get instantiated. Once I fixed the mappings, seemed to run properly both locally and via Docker
from slack
This is what I'm getting when running Lucee 6.1/6.2 via Docker + CommandBox. If I run natively, no such error. MacOs 15.4, Java Version: 21.0.6+7-LTS (Eclipse Adoptium) (edited)
interestingly repos via commandbox docker, but not with commandbox without docker
I’ve asked for a repo