#fixed code
                                public int getErrorCode() {
        return errorCode;
    }
#vulnerable code 
                                public int getErrorCode() {
        return (int) get("errorCode");
    } 
                            #location 2 
                            #vulnerability type NULL_DEREFERENCE