-
Notifications
You must be signed in to change notification settings - Fork 328
fix NPE for binary/varbinary/blob when P6LogFactory not registered #488
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Before this NPE fixed, I have to register a simple module that can add P6LogOptions into P6ModuleManager as a workaround: |
gavlyukovskiy
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with small comment
|
@auntyellow any chance to provide the fix requested by @gavlyukovskiy ? afterwards we'd be happy to merge |
fixed :-) |
|
@auntyellow merged, thank you! |
|
@typekpb fyi I just released version 3.8.6 with this fix |
|
Perfect, thanks a lot!
Arthur Gavlyukovskiy <[email protected]> schrieb am Di., 24. Sep.
2019, 16:42:
… @typekpb <https://github.com/typekpb> fyi I just released version 3.8.6
with this fix
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#488?email_source=notifications&email_token=AAD2A3FWCDTVIOZZ6DF7BY3QLIRMNA5CNFSM4IVQY3YKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7OTNTA#issuecomment-534591180>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAD2A3CLA4HPCXC6ZT3MM33QLIRMNANCNFSM4IVQY3YA>
.
|
I found a NPE when a binary/varbinary/blob type in SQL, because I disable registering P6LogFactory (to avoid massive log):
So I add the null check for
P6LogOptions.getActiveInstance().btw, duplicated
allOptions.put(...)call inP6ModuleManagerremoved.