Console error when Lucee can't read OSGI bundle info doesn't tell you what jar failed

Description

If an IOException is encountered while reading bundle info for any of Lucee's jar files, you get an exception like this in the console:

But the error doesn't tell you what file was being read, making it nearly impossible to debug. I'm sending a pull request that will output the exact file that caused the error to help troubleshoot.

Environment

None

Activity

Show:
Michael Offner
October 9, 2020, 1:40 PM

maybe we should consider trying to resolve the problem in that case and not ignore it.

Brad Wood
October 9, 2020, 4:29 PM

Sure, but the problem is I don't even know what jar is having the issue! So we need to start with better debugging so I can tell what jar it is. I think the issue ultimately is antivirus on my users' machines that block jar files. But I need the improved debugging to know where to start looking the next time it happens.

Michael Offner
October 15, 2020, 3:45 PM

i took in the PR, but i will keep the ticket open, we should not simply output to the console

Assignee

Unassigned

Reporter

Brad Wood

Priority

Blocker

Labels

Fix versions

None
Configure