#vulnerable code 
                                @Test
    public void filter() throws Exception {
        List<ImageConfiguration> configs = Arrays.asList(new ImageConfiguration.Builder().name("test").build());
        CatchingLog logCatcher = new CatchingLog();
        List<ImageConfiguration> result = ConfigHelper.resolveImages(
            new AnsiLogger(logCatcher, true, true),
            configs, createResolver(), "bla", createCustomizer());
        assertEquals(0,result.size());
        assertTrue(resolverCalled);
        assertTrue(customizerCalled);
        assertTrue(logCatcher.getWarnMessage().contains("test"));
        assertTrue(logCatcher.getWarnMessage().contains("bla"));
    } 
                            #location 11 
                            #vulnerability type NULL_DEREFERENCE
#fixed code
                                @Test
    public void filter() throws Exception {
        List<ImageConfiguration> configs = Arrays.asList(new ImageConfiguration.Builder().name("test").build());
        CatchingLog logCatcher = new CatchingLog();
        List<ImageConfiguration> result = ConfigHelper.resolveImages(
            new AnsiLogger(logCatcher, true, "build"),
            configs, createResolver(), "bla", createCustomizer());
        assertEquals(0,result.size());
        assertTrue(resolverCalled);
        assertTrue(customizerCalled);
        assertTrue(logCatcher.getWarnMessage().contains("test"));
        assertTrue(logCatcher.getWarnMessage().contains("bla"));
    }