#vulnerable code 
                                public boolean initForceBatchStatementsOrdering(TypedMap configMap) {
        return configMap.getTypedOr(FORCE_BATCH_STATEMENTS_ORDERING, true);
    } 
                            #location 2 
                            #vulnerability type NULL_DEREFERENCE
#fixed code
                                public boolean initForceBatchStatementsOrdering(TypedMap configMap) {
        return configMap.getTypedOr(FORCE_BATCH_STATEMENTS_ORDERING, DEFAULT_FORCE_BATCH_STATEMENTS_ORDERING);
    }