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
Operations

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 https://stackoverflow.com/q/65369197/466862

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Mark Rotteveel made changes - 19/Dec/20 12:56 PM
Field Original Value New Value
Fix Version/s Jaybird 3.0.10 [ 10932 ]
Fix Version/s Jaybird 4.0.2 [ 10950 ]
Fix Version/s Jaybird 5 [ 10871 ]
Mark Rotteveel made changes - 19/Dec/20 01:37 PM
Description 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 and ProtocolCollection. As a result, the driver is then in an unusable state because the fallback handling is skipped.

See for example https://stackoverflow.com/q/65369197/466862
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 https://stackoverflow.com/q/65369197/466862
Mark Rotteveel made changes - 19/Dec/20 01:37 PM
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Mark Rotteveel made changes - 17/Jan/21 09:46 AM
Status Resolved [ 5 ] Closed [ 6 ]