Skip to content

Conversation

@alex0x08
Copy link

Hi,
got this NPE after H2 upgrade to 2.2.222 (latest) version:
pgjdbc-ng-bug

This was taken from "H2 Console" subproject, which I use in combination with your driver. So I observed driver sources and found a place that looks like very simple bug. For sure, there must be more complicated reason for such NPE, but function 'getMaxPrecision()' below has the same check as in PR:
type = type.unwrap(); PGType pgType = PGType.valueOf(type); if (pgType == null) { return 0; }
So hope this is just small and annoying bug, nothing more.
After patch:
pgjdbc-ng-patched

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant