You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The org.firebirdsql.encodings.Encoding_NotOneByte has nullpointer dereference (so it throws NPE) if the encoding does not actually exist (UnsupportedEncodingException) in some of it methods, in other similar methods it will return null when this occurs.
This needs to be fixed either by throwing a checked or unchecked exception when the UnsupportedEncodingException occurs, always return an expected error value or maybe check the existence of the encoding in the constructor so the object is never available for use when the encoding is not supported.
The text was updated successfully, but these errors were encountered:
Submitted by: @mrotteveel
The org.firebirdsql.encodings.Encoding_NotOneByte has nullpointer dereference (so it throws NPE) if the encoding does not actually exist (UnsupportedEncodingException) in some of it methods, in other similar methods it will return null when this occurs.
This needs to be fixed either by throwing a checked or unchecked exception when the UnsupportedEncodingException occurs, always return an expected error value or maybe check the existence of the encoding in the constructor so the object is never available for use when the encoding is not supported.
The text was updated successfully, but these errors were encountered: