Issue Details (XML | Word | Printable)

Key: JDBC-636
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Mark Rotteveel
Reporter: Mark Rotteveel
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.
Jaybird JDBC Driver

ServiceConfigurationError on iterator.hasNext() when loading plugins isn't handled

Created: 19/Dec/20 12:55 PM   Updated: 17/Jan/21 09:46 AM
Component/s: JDBC driver, XCA/JCA layer
Affects Version/s: Jaybird 2.2.15, Jaybird 3.0.7, Jaybird 3.0.8, Jaybird 4.0.0, Jaybird 3.0.9, Jaybird 4.0.1
Fix Version/s: Jaybird 3.0.10, Jaybird 4.0.2, Jaybird 5

 Description  « Hide
The iterator.hasNext() of a ServiceLoader iterator can also throw a ServiceConfigurationError, but this isn't handled right now, causing the exception to escape loading of - for example - GDSFactory, EncodingFactory, ProtocolCollection and authentication plugins. As a result, the driver is then in an unusable state because the fallback handling is skipped.

See for example

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Mark Rotteveel added a comment - 19/Dec/20 01:37 PM
Committed fix