#vulnerable code 
                                public void testAnalyzer() {
        ExpressionCompiler compiler = new ExpressionCompiler("order.id == 10");
        compiler.compile();

        for (String input : compiler.getInputs()) {
            System.out.println("input>" + input);
        }

        assertEquals(1, compiler.getInputs().size());
        assertTrue(compiler.getInputs().contains("order"));
    } 
                            #location 5 
                            #vulnerability type NULL_DEREFERENCE
#fixed code
                                public void testAnalyzer() {
        ExpressionCompiler compiler = new ExpressionCompiler("order.id == 10");
        compiler.compile();

        for (String input : compiler.getParserContextState().getInputs().keySet()) {
            System.out.println("input>" + input);
        }

        assertEquals(1, compiler.getParserContextState().getInputs().size());
        assertTrue(compiler.getParserContextState().getInputs().containsKey("order"));
    }