Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!
RuneMate will permanently shut down on August 7, 2026
due to events outside our control. You can continue using RuneMate until this date after which it will no longer be available. Thank you to everyone that contributed to RuneMate's success and to the community for the opportunity to serve you all these years.

  • Learn about RuneMate Vault and how its zero knowledge local encryption already protects your sensitive information.
  • Edit or delete your RuneMate account from your Account Settings.
  • All account upgrade subscriptions have been cancelled. No action required.

Resolved RS3: Unable to reflect aih.type

Joined
Nov 5, 2014
Messages
505
Occurs on calling results() on an npc query @Cloud

Code:
java.rmi.RemoteException: Unable to reflect aih.type; nested exception is: 
    java.lang.NoSuchFieldException: type
    at nul.iIiiIiIIII.this(Unknown Source)
    at nul.iIiiIiIIII.this(Unknown Source)
    at nul.iIiiIiIIII.int8(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
    at sun.rmi.transport.Transport$1.run(Unknown Source)
    at sun.rmi.transport.Transport$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Unknown Source)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown Source)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$256(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NoSuchFieldException: type
    at java.lang.Class.getDeclaredField(Unknown Source)
    ... 20 more

Which then causes:

Code:
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
    java.rmi.RemoteException: Unable to reflect aih.type; nested exception is:
    java.lang.NoSuchFieldException: type
    at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
    at sun.rmi.transport.Transport$1.run(Unknown Source)
    at sun.rmi.transport.Transport$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Unknown Source)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown Source)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$256(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:276)
    at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:253)
    at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:162)
    at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:227)
    at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:179)
    at com.sun.proxy.$Proxy8.int8(Unknown Source)
    at nul.iIIiiIiiIiiI.super(dnb:106)
    at nul.iIIIiIiIIiiI.int(kpb:227)
    at com.runemate.game.api.hybrid.region.Region.getCollisionFlags(nn:260)
    at com.runemate.game.api.hybrid.location.Coordinate.getReachableCoordinates(ijc:153)
    at com.runemate.game.api.hybrid.queries.LocatableEntityQueryBuilder.int(pic:117)
    at com.runemate.game.api.hybrid.queries.LocatableEntityQueryBuilder.accepts(pic:63)
    at com.runemate.game.api.hybrid.queries.RotatableQueryBuilder.accepts(ibc:133)
    at com.runemate.game.api.hybrid.queries.ActorQueryBuilder.accepts(kjc:66)
    at com.runemate.game.api.hybrid.queries.NpcQueryBuilder.accepts(ghc:103)
    at com.runemate.game.api.hybrid.queries.NpcQueryBuilder.accepts(ghc:64)
    at com.runemate.game.api.hybrid.queries.QueryBuilder$1.test(snb:115)
    at java.util.ArrayList.removeIf(ArrayList.java:1405)
    at com.runemate.game.api.hybrid.queries.QueryBuilder.results(snb:70)
    at scripts.massfighter.tasks.shared.Attack.getSuitableNpcs(Attack.java:36)
    at scripts.massfighter.tasks.shared.Attack.execute(Attack.java:50)
    at com.runemate.game.api.script.framework.task.TaskScript.onLoop(fxb:54)
    at com.runemate.game.api.script.framework.LoopingScript.run(mnb:260)
    at com.runemate.game.api.script.framework.AbstractScript.start(drb:90)
    at nul.IiiIiIiiiiii.run(hfc:190)
 
Joined
Nov 5, 2014
Messages
505
Check if this is fixed by V1.0.12.

That's fixed, thanks. However Interact() seems to be failing and returning false almost all of the time though, specifically on NPC's for me (RS3).
 
Top