#vulnerable code 
                             @Test
	public void deployAndExtractFunctions() throws Exception {
		// This one can only work if you change the boot classpath to contain reactor-core
		// and reactive-streams
		expected.expect(ClassCastException.class);
		@SuppressWarnings("unchecked")
		Flux<String> result = (Flux<String>) deployer.lookupFunction("uppercase")
				.apply(Flux.just("foo"));
		assertThat(result.blockFirst()).isEqualTo("FOO");
	} 
                            #location 8 
                            #vulnerability type NULL_DEREFERENCE
#fixed code
                             @Test
	public void deployAndExtractFunctions() throws Exception {
		// This one can only work if you change the boot classpath to contain reactor-core
		// and reactive-streams
		expected.expect(ClassCastException.class);
		@SuppressWarnings("unchecked")
		Flux<String> result = (Flux<String>) deployer.lookupFunction("pojos/uppercase")
				.apply(Flux.just("foo"));
		assertThat(result.blockFirst()).isEqualTo("FOO");
	}