Skip to content

Oracle11g - OracleValueConverter - GetValue throws System.NullReferenceException #46

@opejanovic

Description

@opejanovic

Hi,
I got System.NullReferenceException while I was trying to read PLSQLAssociativeArray output parameter.

in line 63, we will have System.NullReferenceException if valueType.GetProperty("IsNull", typeof(bool)) is null
var isNull = (bool)valueType.GetProperty("IsNull", typeof(bool))?.GetValue(value);

I discovered this when I tried to get value from OracleString[]
This was working in previous version

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions