#vulnerable code 
                             @Override
	public void buildInstructionGraph()
	{
		Class clazz = field.getClassEntry();
		NameAndType nat = field.getNameAndType();

		ClassFile cf = this.getInstructions().getCode().getAttributes().getClassFile().getGroup().findClass(clazz.getName());
		if (cf == null)
			return;

		net.runelite.deob.Field f = cf.findFieldDeep(nat);
		assert f != null;

		f.addReference(this);
	} 
                            #location 7 
                            #vulnerability type NULL_DEREFERENCE
#fixed code
                             @Override
	public void buildInstructionGraph()
	{
		net.runelite.deob.Field f = getMyField();
		if (f != null)
			f.addReference(this);
	}