Skip to content

Possible NullPointerException in VariableUpdateRowMapper.map for Types.JAVA_OBJECT #81

Open
@dcrissman

Description

@dcrissman
                case Types.JAVA_OBJECT:
                    Object object = rs.getObject(column.getPosition());
                    if (rs.wasNull()) {
                        object = null;
                    }
                    dyn.put(object, object.getClass(), column);
                    break;

if rs.wasNull returns true then object is set to null. null.getClass will thrown a NPE.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions