#fixed code
                                @Test
    public void priceFactor() {
        assertEquals(100.0, FRACTIONS.get("FOO").getPriceFactor(), 0.0);
    }
#vulnerable code 
                                @Test
    public void priceFactor() {
        assertEquals(100.0, INSTRUMENTS.get("FOO").getPriceFactor(), 0.0);
    } 
                            #location 3 
                            #vulnerability type NULL_DEREFERENCE