Skip to content
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

Property IscException.Message should never return a null value [DNET651] #608

Closed
firebird-automations opened this issue Nov 22, 2015 · 5 comments

Comments

@firebird-automations
Copy link

Submitted by: Petr Vones (pvones)

Votes: 1

I was debugging a legacy application that throws NullReferenceException in .NET Framework code (which is bug, of course) and found the root source is nested IscException (of FbException) that returns null value from Message property. According documentation https://msdn.microsoft.com/en-us/library/system.exception.message.aspx it is supposed to have an empty string value, not a null value.

@firebird-automations
Copy link
Author

Modified by: Petr Vones (pvones)

description: I was debugging a legacy application that throws NullReferenceException in .NET Framework code (which is bug, of course) and found the root source is nested IscException (of FbException) that has null value in Message property. According documentation https://msdn.microsoft.com/en-us/library/system.exception.message.aspx it is supposed to have an empty string value, not the null value.

=>

I was debugging a legacy application that throws NullReferenceException in .NET Framework code (which is bug, of course) and found the root source is nested IscException (of FbException) that returns null value from Message property. According documentation https://msdn.microsoft.com/en-us/library/system.exception.message.aspx it is supposed to have an empty string value, not a null value.

summary: IscException.Message should not have null value => Property IscException.Message should never return a null value

@firebird-automations
Copy link
Author

Modified by: @cincuranet

status: Open [ 1 ] => In Progress [ 3 ]

@firebird-automations
Copy link
Author

Commented by: @cincuranet

Do you have some code where it's visible? From the looks I don't see a path a where it could be left uninitialized. Just to make sure there's nothing else hidden around.

@firebird-automations
Copy link
Author

Commented by: Alexander Muylaert-Gelein (gonline)

Are we talking here about a recent firebird provider version or is this also legacy?

@firebird-automations
Copy link
Author

Modified by: @cincuranet

status: In Progress [ 3 ] => Closed [ 6 ]

resolution: Cannot Reproduce [ 5 ]

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

No branches or pull requests

2 participants