Avoid accessing state in DriverManagerConnectionProviderImpl if null

Description

I got a NPE in Quarkus with an invalid setup. The setup was invalid but we shouldn't have a NPE.

Environment

None
Fixed

Assignee

Guillaume Smet

Reporter

Guillaume Smet

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Priority

Major