#vulnerable code 
                                public void testProcess() throws SQLException {
        int rowCount = 0;
        TestBean b = null;
        while (this.rs.next()) {
            b = (TestBean) beanProc.toBean(this.rs, TestBean.class);
            assertNotNull(b);
            rowCount++;
        }

        assertEquals(ROWS, rowCount);
        assertEquals(13.0, b.getColumnProcessorDoubleTest(), 0);
    } 
                            #location 11 
                            #vulnerability type NULL_DEREFERENCE
#fixed code
                                public void testProcess() throws SQLException {
        TestBean b = null;
        assertTrue(this.rs.next());
        b = (TestBean) beanProc.toBean(this.rs, TestBean.class);
        assertEquals(13.0, b.getColumnProcessorDoubleTest(), 0);
        
        assertTrue(this.rs.next());
        b = (TestBean) beanProc.toBean(this.rs, TestBean.class);
        assertEquals(13.0, b.getColumnProcessorDoubleTest(), 0);

        assertFalse(this.rs.next());
    }