#vulnerable code 
                             @Test
	public void testTrivialMethod() throws Exception {
		lib.simple("com.jitlogic.zorka.spy.unittest.SomeClass", "someMethod", 
					"zorka:type=ZorkaStats,name=SomeClass", "stats");
		
		Object obj = TestUtil.instrumentAndInstantiate(spy, 
					"com.jitlogic.zorka.spy.unittest.SomeClass");
		
		assertNotNull(obj);
		
		TestUtil.callMethod(obj, "someMethod");
		
		checkStats("someMethod", 1, 0, 1);
	} 
                            #location 11 
                            #vulnerability type NULL_DEREFERENCE
#fixed code
                             @Test
	public void testTrivialMethod() throws Exception {
		Object obj = makeCall("someMethod");		
		assertEquals(1, obj.getClass().getField("runCounter").get(obj));
		checkStats("someMethod", 1, 0, 1);
	}