#fixed code
                             @Override
	public void lookup()
	{
		myMethods = lookupMethods();
	}
#vulnerable code 
                             @Override
	public void lookup()
	{
		ClassGroup group = this.getInstructions().getCode().getAttributes().getClassFile().getGroup();
		
		ClassFile otherClass = group.findClass(method.getClassEntry().getName());
		if (otherClass == null)
			return; // not our class
		
		// when I recompile classes I can see the class of invokevirtuals methods change, get all methods
		
		//List<net.runelite.deob.Method> list = new ArrayList<>();
		//findMethodFromClass(new HashSet<>(), list, otherClass);
		net.runelite.deob.Method m = otherClass.findMethodDeep(method.getNameAndType());
		if (m == null)
		{
			return;
		}

		myMethods = Renamer.getVirutalMethods(m);
	} 
                            #location 4 
                            #vulnerability type NULL_DEREFERENCE