Duplicate
Details
Assignee
Pothys - MitrahSoftPothys - MitrahSoftReporter
Jeff StevensJeff StevensPriority
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
Affects versions
Details
Details
Assignee
Pothys - MitrahSoft
Pothys - MitrahSoftReporter
Jeff Stevens
Jeff StevensPriority
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
Affects versions
Created 15 April 2022 at 17:09
Updated 20 May 2022 at 10:00
Resolved 18 April 2022 at 14:45
This bug was discovered during this thread to find a solution to unrecognized dependent injection error in ColdBox: https://community.ortussolutions.com/t/missing-dependency-error-with-wirebox-injection/9192/29
Essentially, there was a line in a dependency component that was being injected that looked like the following:
else if()
This really triggered a invalid syntax bytecode error, but due to the error being in an injected dependency, the reported error that popped up on the screen was a “requested missing dependency” error, while the dependency actually wasn’t missing in the first place – it was just trying to inject a component with an invalild syntax bytecode error.
I believe we should make a more descriptive error message for this situation.