Toolbox scripts hitting `java.lang.ArrayIndexOutOfBoundsException: index 17 is larger than length 17` on SH 5.5.10?

Hi!

My company has been using SimpleHelp for years now, and I have a bunch of saved Bash (etc) scripts.

Today, on SH 5.5.10 build 112084499.1, all the scripts I have saved seem to be failing with a Java stacktrace similar to this:

I can’t copy/paste from that box, but for searchability, the relevant bit seems to be:

Tool failed to launch

Reason: Transaction 1589706779 failed on the server with error java.lang.ArrayIndexOutOfBoundsException: index 17 is larger than length 17, server trace follows: java.lang.ArrayIndexOutOfBoundsException: index 17 is larger than length 17 at jwgeneralutils.message.Message.get(Message.java:607) at jwgeneralutils.message.Message.getNextInt(Message.java:703) at com.aem.shelp.common.toolbox.ToolBoxItem.fromMessage(ToolBoxItem.java:261) at com.aem […lots more com.aem.shelp.* items skipped…]
at utils.transaction.multi.AbstractMTTransactionServer$AbstractMessageHandler.run(AbstractMTTransactionServer.java:204) at utils.progtools.OnDemandThreadPool$TimedJob.run(OnDemandThreadPool.java:413) at utils.progtools.OnDemandThreadPool$Worker.run(OnDemandThreadPool.java:490)

Is this a SimpleHelp bug, or am I doing something wrong in my scripts now? Even simple “Hello World” scripts seem to be doing this, so my instinct is that the problem isn’t the scripts, but the way that they’re being invoked by SH.

Any help would be appreciated. Thanks!

I encounter this as well, but only running a toolbox tool on more than one device. If I run it on one, it works OK for me; run it on 2 or more, I get this error.

1 Like

Same issue here - I submitted a ticket Aprt 23… but no feed back or fix yet. Happy I’m not the only one having a problem.

1 Like

Its to do with UDP on the last update I have the same issue, change the simple help server connection in the agent to https it works fine.

1 Like

We have the same problem. It appeared after updating to version 5.5.10. On version 5.5.9, everything works as it should.

1 Like

This is a big bug for us, we often mass deploy a toolbox to numerous machines and this is now a killer having to run them per device

1 Like

If you haven’t already reach out to SH support they’ll provide a release with the fix.