1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Resolved RS3: Unable to reflect aih.type

Discussion in 'Developer Support' started by Ozzy, Feb 15, 2016.

  1. Ozzy

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

    Code (Text):
    1.  
    2. java.rmi.RemoteException: Unable to reflect aih.type; nested exception is:
    3.     java.lang.NoSuchFieldException: type
    4.     at nul.iIiiIiIIII.this(Unknown Source)
    5.     at nul.iIiiIiIIII.this(Unknown Source)
    6.     at nul.iIiiIiIIII.int8(Unknown Source)
    7.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    8.     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    9.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    10.     at java.lang.reflect.Method.invoke(Unknown Source)
    11.     at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
    12.     at sun.rmi.transport.Transport$1.run(Unknown Source)
    13.     at sun.rmi.transport.Transport$1.run(Unknown Source)
    14.     at java.security.AccessController.doPrivileged(Native Method)
    15.     at sun.rmi.transport.Transport.serviceCall(Unknown Source)
    16.     at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
    17.     at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown Source)
    18.     at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$256(Unknown Source)
    19.     at java.security.AccessController.doPrivileged(Native Method)
    20.     at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
    21.     at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    22.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    23.     at java.lang.Thread.run(Unknown Source)
    24. Caused by: java.lang.NoSuchFieldException: type
    25.     at java.lang.Class.getDeclaredField(Unknown Source)
    26.     ... 20 more
    27.  
    Which then causes:

    Code (Text):
    1. java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
    2.     java.rmi.RemoteException: Unable to reflect aih.type; nested exception is:
    3.     java.lang.NoSuchFieldException: type
    4.     at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
    5.     at sun.rmi.transport.Transport$1.run(Unknown Source)
    6.     at sun.rmi.transport.Transport$1.run(Unknown Source)
    7.     at java.security.AccessController.doPrivileged(Native Method)
    8.     at sun.rmi.transport.Transport.serviceCall(Unknown Source)
    9.     at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
    10.     at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown Source)
    11.     at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$256(Unknown Source)
    12.     at java.security.AccessController.doPrivileged(Native Method)
    13.     at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
    14.     at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    15.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    16.     at java.lang.Thread.run(Unknown Source)
    17.     at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:276)
    18.     at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:253)
    19.     at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:162)
    20.     at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:227)
    21.     at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:179)
    22.     at com.sun.proxy.$Proxy8.int8(Unknown Source)
    23.     at nul.iIIiiIiiIiiI.super(dnb:106)
    24.     at nul.iIIIiIiIIiiI.int(kpb:227)
    25.     at com.runemate.game.api.hybrid.region.Region.getCollisionFlags(nn:260)
    26.     at com.runemate.game.api.hybrid.location.Coordinate.getReachableCoordinates(ijc:153)
    27.     at com.runemate.game.api.hybrid.queries.LocatableEntityQueryBuilder.int(pic:117)
    28.     at com.runemate.game.api.hybrid.queries.LocatableEntityQueryBuilder.accepts(pic:63)
    29.     at com.runemate.game.api.hybrid.queries.RotatableQueryBuilder.accepts(ibc:133)
    30.     at com.runemate.game.api.hybrid.queries.ActorQueryBuilder.accepts(kjc:66)
    31.     at com.runemate.game.api.hybrid.queries.NpcQueryBuilder.accepts(ghc:103)
    32.     at com.runemate.game.api.hybrid.queries.NpcQueryBuilder.accepts(ghc:64)
    33.     at com.runemate.game.api.hybrid.queries.QueryBuilder$1.test(snb:115)
    34.     at java.util.ArrayList.removeIf(ArrayList.java:1405)
    35.     at com.runemate.game.api.hybrid.queries.QueryBuilder.results(snb:70)
    36.     at scripts.massfighter.tasks.shared.Attack.getSuitableNpcs(Attack.java:36)
    37.     at scripts.massfighter.tasks.shared.Attack.execute(Attack.java:50)
    38.     at com.runemate.game.api.script.framework.task.TaskScript.onLoop(fxb:54)
    39.     at com.runemate.game.api.script.framework.LoopingScript.run(mnb:260)
    40.     at com.runemate.game.api.script.framework.AbstractScript.start(drb:90)
    41.     at nul.IiiIiIiiiiii.run(hfc:190)
     
  2. Best Answer:
    Post #2 by Cloud, Feb 15, 2016
  3. Cloud

    Cloud Engineer

    Joined:
    Jul 28, 2013
    Messages:
    2,777
    Likes Received:
    1,124
    Check if this is fixed by V1.0.12.
     
    Ozzy likes this.
  4. Ozzy

    Joined:
    Nov 5, 2014
    Messages:
    505
    Likes Received:
    162
    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).
     

Share This Page

Loading...