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

Resolved java.lang.IllegalArgumentException: Argument is not an array

Discussion in 'Developer Support' started by Snufalufugus, Feb 23, 2018.

  1. Snufalufugus

    Joined:
    Aug 23, 2015
    Messages:
    1,961
    Likes Received:
    757
    Happens randomly with health checks. Escalated exception many times, issue is unfixed many weeks later. Posting to hopefully get this resolved.

    Example exception:
    Code (Text):
    1.  at java.lang.reflect.Array.getLength(Native Method)
    2.  at aux.IiiiIiiiiiI.length(ab:539)
    3.  at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
    4.  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    5.  at java.lang.reflect.Method.invoke(Method.java:601)
    6.  at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)
    7.  at sun.rmi.transport.Transport$1.run(Transport.java:177)
    8.  at sun.rmi.transport.Transport$1.run(Transport.java:174)
    9.  at java.security.AccessController.doPrivileged(Native Method)
    10.  at sun.rmi.transport.Transport.serviceCall(Transport.java:173)
    11.  at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:553)
    12.  at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:808)
    13.  at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:667)
    14.  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    15.  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    16.  at java.lang.Thread.run(Thread.java:722)
    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.length(Unknown Source)
    23.  at nul.IiiiIIiiIIIiI.do(uec:104)
    24.  at nul.IIiIIIiiiiiii.do(yub:220)
    25.  at nul.IIiIIIiiiiiii.do(yub:178)
    26.  at nul.IIiIIIiiiiiii.byte(yub:211)
    27.  at com.runemate.game.api.hybrid.local.Skill.getBaseLevel(sgc:151)
    28.  at nul.IiIiiIiiIIIII.long(jub:180)
    29.  at com.runemate.game.api.hybrid.local.hud.interfaces.Health.getMaximum(yfc:161)
    30.  at com.runemate.game.api.hybrid.local.hud.interfaces.Health.getCurrentPercent(yfc:88)
    31.  at com.regalbots.firemaking.wtodt.leafs.FightTodt.execute(FightTodt.java:40)
    32.  at com.runemate.game.api.script.framework.tree.TreeBot.onLoop(pcc:92)
    33.  at com.runemate.game.api.script.framework.LoopingBot.run(xyb:125)
    34.  at com.runemate.game.api.script.framework.AbstractBot.start(yyb:22595)
    35.  at nul.IiiIiIiiiIiiI.run(ljc:163)
    36. RuneMate v2.79.4.0 - Regal Wintertodt Lite v1.0.3 - OSRS r164 8FBEB7 - Windows 10 - Java8u121 x86 (Oracle Corporation)


     
  2. Best Answer:
    Post #8 by Cloud, Mar 2, 2018
  3. Arbiter

    Arbiter Mod Automation

    Joined:
    Jul 26, 2013
    Messages:
    2,938
    Likes Received:
    1,266
  4. Savior

    Savior Java Warlord

    Joined:
    Nov 17, 2014
    Messages:
    4,906
    Likes Received:
    2,748
  5. Aidden

    Aidden Author of MaxiBots

    Joined:
    Dec 3, 2013
    Messages:
    6,606
    Likes Received:
    990
    It's not just health checks. I get it too in a bunch of my bots and none of them check health. iirc mine were to do with skills.
     
  6. Derk

    Derk 12 year old normie

    Joined:
    Jan 8, 2015
    Messages:
    2,766
    Likes Received:
    1,339
    at com.runemate.game.api.hybrid.local.Skill.getBaseLevel(sgc:151)

    Makes sense. Something seems to be wrong with checking skills.
     
  7. Jhinn

    Joined:
    Jun 9, 2015
    Messages:
    3,648
    Likes Received:
    1,337
    @Cloud please take a look
     
  8. Snufalufugus

    Joined:
    Aug 23, 2015
    Messages:
    1,961
    Likes Received:
    757
  9. Cloud

    Cloud Engineer

    Joined:
    Jul 28, 2013
    Messages:
    2,777
    Likes Received:
    1,124
    Fixed in 2.80.4
     
    Derk, Jhinn and Snufalufugus like this.
  10. Savior

    Savior Java Warlord

    Joined:
    Nov 17, 2014
    Messages:
    4,906
    Likes Received:
    2,748
    it's still occuring on the newest version
     
    #9 Savior, Mar 3, 2018
    Last edited: Mar 3, 2018
  11. datguyrespect

    Joined:
    Mar 1, 2018
    Messages:
    1
    Likes Received:
    0
    ye i just got this error today after the client update
     
  12. Arbiter

    Arbiter Mod Automation

    Joined:
    Jul 26, 2013
    Messages:
    2,938
    Likes Received:
    1,266
  13. Cloud

    Cloud Engineer

    Joined:
    Jul 28, 2013
    Messages:
    2,777
    Likes Received:
    1,124
    Is it occurring as frequently as before then? Do you guys know of an easy way to reproduce it?
     
  14. Snufalufugus

    Joined:
    Aug 23, 2015
    Messages:
    1,961
    Likes Received:
    757
    Got this 7h ago.

    Idk how to reproduce, not nearly as frequently.
    Code (Text):
    1. java.lang.IllegalArgumentException: Argument is not an array
    2.  at java.lang.reflect.Array.getLength(Native Method)
    3.  at aux.IiiiIiiiiiI.length(ab:539)
    4.  at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
    5.  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    6.  at java.lang.reflect.Method.invoke(Method.java:601)
    7.  at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)
    8.  at sun.rmi.transport.Transport$1.run(Transport.java:177)
    9.  at sun.rmi.transport.Transport$1.run(Transport.java:174)
    10.  at java.security.AccessController.doPrivileged(Native Method)
    11.  at sun.rmi.transport.Transport.serviceCall(Transport.java:173)
    12.  at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:553)
    13.  at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:808)
    14.  at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:667)
    15.  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    16.  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    17.  at java.lang.Thread.run(Thread.java:722)
    18.  at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:276)
    19.  at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:253)
    20.  at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:162)
    21.  at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:227)
    22.  at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:179)
    23.  at com.sun.proxy.$Proxy8.length(Unknown Source)
    24.  at nul.iiIIIIiiIIiiI.class(gbc:119)
    25.  at nul.IIiIiIiiIIiIi.class(ycc:103)
    26.  at nul.IIiIiIiiIIiIi.class(ycc:17)
    27.  at nul.IIiIiIiiIIiIi.true(ycc:126)
    28.  at com.runemate.game.api.hybrid.local.Skill.getBaseLevel(vmc:226)
    29.  at nul.iiIIIIiiIIIII.class(qec:77)
    30.  at com.runemate.game.api.hybrid.local.hud.interfaces.Health.getMaximum(lqc:4)
    31.  at com.runemate.game.api.hybrid.local.hud.interfaces.Health.getCurrentPercent(lqc:13)
    32.  at com.regalbots.thieving.AIOish.generic_pickpocket.PickpocketNpc.execute(PickpocketNpc.java:73)
    33.  at com.runemate.game.api.script.framework.tree.TreeBot.onLoop(ywb:93)
    34.  at com.runemate.game.api.script.framework.LoopingBot.run(pwb:111)
    35.  at com.runemate.game.api.script.framework.AbstractBot.start(gdc:6216)
    36.  at nul.iiIIIIiiIIIIi.run(roc:12)
    37. RuneMate v2.81.0.0 - Regal Thieving v1.0.5 - OSRS r165 9F8743 - Windows 7 - Java8u121 x86 (Oracle Corporation)
    --- Double Post Merged, Mar 7, 2018, Original Post Date: Mar 6, 2018 ---
    Code (Text):
    1. java.lang.IllegalArgumentException: Argument is not an array
    2.  at java.lang.reflect.Array.getLength(Native Method)
    3.  at aux.IiiiIiiiiiI.length(ab:539)
    4.  at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
    5.  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    6.  at java.lang.reflect.Method.invoke(Method.java:601)
    7.  at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)
    8.  at sun.rmi.transport.Transport$1.run(Transport.java:177)
    9.  at sun.rmi.transport.Transport$1.run(Transport.java:174)
    10.  at java.security.AccessController.doPrivileged(Native Method)
    11.  at sun.rmi.transport.Transport.serviceCall(Transport.java:173)
    12.  at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:553)
    13.  at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:808)
    14.  at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:667)
    15.  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    16.  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    17.  at java.lang.Thread.run(Thread.java:722)
    18.  at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:276)
    19.  at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:253)
    20.  at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:162)
    21.  at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:227)
    22.  at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:179)
    23.  at com.sun.proxy.$Proxy8.length(Unknown Source)
    24.  at nul.iIiiiIiiIiIiI.super(ecc:150)
    25.  at nul.IIIIIIiiiIIII.super(tzb:176)
    26.  at nul.IIIIIIiiiIIII.super(tzb:64)
    27.  at nul.IIIIIIiiiIIII.null(tzb:61)
    28.  at com.runemate.game.api.hybrid.local.Skill.getBaseLevel(gqc:140)
    29.  at nul.IiIiIIiiIiIii.super(syb:161)
    30.  at com.runemate.game.api.hybrid.local.hud.interfaces.Health.getMaximum(jgc:26)
    31.  at com.runemate.game.api.hybrid.local.hud.interfaces.Health.getCurrentPercent(jgc:30)
    32.  at com.regalbots.minigames.warrior_guild.leafs.FightAndLoot.lambda$execute$0(FightAndLoot.java:66)
    33.  at com.runemate.game.api.script.Execution.delayUntil(ayb:141)
    34.  at com.runemate.game.api.script.Execution.delayUntil(ayb:21)
    35.  at com.RegalAPI.utility.common_playersensed_methods.DelaysPsensed.delayUntil(DelaysPsensed.java:17)
    36.  at com.regalbots.minigames.warrior_guild.leafs.FightAndLoot.execute(FightAndLoot.java:66)
    37.  at com.runemate.game.api.script.framework.tree.TreeBot.onLoop(tac:129)
    38.  at com.runemate.game.api.script.framework.LoopingBot.run(qvb:151)
    39.  at com.runemate.game.api.script.framework.AbstractBot.start(aac:16247)
    40.  at nul.IiIIiIiiIiIII.run(gpc:103)
    41. RuneMate v2.81.1.0 - Regal Warrior Guild v1.0.0 - OSRS r165 9F8743 - Windows 10 - Java8u121 x86 (Oracle Corporation)
    --- Double Post Merged, Mar 7, 2018 ---
    Code (Text):
    1. java.lang.IllegalArgumentException: Argument is not an array
    2.  at java.lang.reflect.Array.getLength(Native Method)
    3.  at aux.IiiiIiiiiiI.length(ab:539)
    4.  at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
    5.  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    6.  at java.lang.reflect.Method.invoke(Method.java:601)
    7.  at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)
    8.  at sun.rmi.transport.Transport$1.run(Transport.java:177)
    9.  at sun.rmi.transport.Transport$1.run(Transport.java:174)
    10.  at java.security.AccessController.doPrivileged(Native Method)
    11.  at sun.rmi.transport.Transport.serviceCall(Transport.java:173)
    12.  at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:553)
    13.  at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:808)
    14.  at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:667)
    15.  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    16.  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    17.  at java.lang.Thread.run(Thread.java:722)
    18.  at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:276)
    19.  at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:253)
    20.  at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:162)
    21.  at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:227)
    22.  at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:179)
    23.  at com.sun.proxy.$Proxy8.length(Unknown Source)
    24.  at nul.iIiiiIiiIiIiI.super(ecc:150)
    25.  at nul.IIIIIIiiiIIII.super(tzb:176)
    26.  at nul.IIIIIIiiiIIII.super(tzb:64)
    27.  at nul.IIIIIIiiiIIII.null(tzb:61)
    28.  at com.runemate.game.api.hybrid.local.Skill.getBaseLevel(gqc:140)
    29.  at nul.IiIiIIiiIiIii.super(syb:161)
    30.  at com.runemate.game.api.hybrid.local.hud.interfaces.Health.getMaximum(jgc:26)
    31.  at com.runemate.game.api.hybrid.local.hud.interfaces.Health.getCurrentPercent(jgc:30)
    32.  at com.regalbots.firemaking.wtodt.leafs.FightTodt.execute(FightTodt.java:40)
    33.  at com.runemate.game.api.script.framework.tree.TreeBot.onLoop(tac:129)
    34.  at com.runemate.game.api.script.framework.LoopingBot.run(qvb:151)
    35.  at com.runemate.game.api.script.framework.AbstractBot.start(aac:16247)
    36.  at nul.IiIIiIiiIiIII.run(gpc:103)
    37. RuneMate v2.81.1.0 - Regal Wintertodt v1.0.3 - OSRS r165 9F8743 - Windows 10 - Java8u121 x86 (Oracle Corporation)
    --- Double Post Merged, Mar 7, 2018 ---
    Code (Text):
    1. java.lang.IllegalArgumentException: Argument is not an array
    2.  at java.lang.reflect.Array.getLength(Native Method)
    3.  at aux.IiiiIiiiiiI.length(ab:539)
    4.  at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
    5.  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    6.  at java.lang.reflect.Method.invoke(Method.java:601)
    7.  at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)
    8.  at sun.rmi.transport.Transport$1.run(Transport.java:177)
    9.  at sun.rmi.transport.Transport$1.run(Transport.java:174)
    10.  at java.security.AccessController.doPrivileged(Native Method)
    11.  at sun.rmi.transport.Transport.serviceCall(Transport.java:173)
    12.  at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:553)
    13.  at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:808)
    14.  at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:667)
    15.  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    16.  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    17.  at java.lang.Thread.run(Thread.java:722)
    18.  at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:276)
    19.  at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:253)
    20.  at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:162)
    21.  at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:227)
    22.  at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:179)
    23.  at com.sun.proxy.$Proxy8.length(Unknown Source)
    24.  at nul.iIiiiIiiIiIiI.super(ecc:150)
    25.  at nul.IIIIIIiiiIIII.super(tzb:176)
    26.  at nul.IIIIIIiiiIIII.super(tzb:64)
    27.  at nul.IIIIIIiiiIIII.null(tzb:61)
    28.  at com.runemate.game.api.hybrid.local.Skill.getBaseLevel(gqc:140)
    29.  at nul.IiIiIIiiIiIii.super(syb:161)
    30.  at com.runemate.game.api.hybrid.local.hud.interfaces.Health.getMaximum(jgc:26)
    31.  at com.runemate.game.api.hybrid.local.hud.interfaces.Health.getCurrentPercent(jgc:30)
    32.  at com.regalbots.firemaking.wtodt.leafs.PrepareForTodt.execute(PrepareForTodt.java:90)
    33.  at com.runemate.game.api.script.framework.tree.TreeBot.onLoop(tac:129)
    34.  at com.runemate.game.api.script.framework.LoopingBot.run(qvb:151)
    35.  at com.runemate.game.api.script.framework.AbstractBot.start(aac:16247)
    36.  at nul.IiIIiIiiIiIII.run(gpc:103)
    37. RuneMate v2.81.1.0 - Regal Wintertodt v1.0.3 - OSRS r165 9F8743 - Windows 10 - Java8u121 x86 (Oracle Corporation)
    --- Double Post Merged, Mar 19, 2018 ---
    @Cloud escalated two more, still unresolved
    --- Double Post Merged, Mar 23, 2018 ---
    Unresolved
    --- Double Post Merged, Mar 25, 2018 ---
    Unresolved 3/25
     

Share This Page

Loading...