Menu

Bug in ARS Server Input

Victor
2015-07-24
2015-07-31
  • Victor

    Victor - 2015-07-24

    Hello, seschmidt.
    First of all, thanks for your work on this plugin. It's very helpfull in my work with BMC ARS.
    I found a bug in ARS Server Input. There Remedy selection fields, which have attributes like Selection Values, Alias and ID. In my case selection field IDs are 1000, 2000, 3000 and so on.
    So when I try to get data I catch errors:
    ERROR (version 5.4.0.1-130, build 1 from 2015-06-14_12-34-55 by buildguy) : java.lang.RuntimeException: Index: 2000, Size: 7
    net.sf.kettle.plugin.trans.arsys.input.ArsInputServiceImpl$1.iteratorCallback(ArsInputServiceImpl.java:431)
    com.bmc.arsys.api.ARServerUser.getListEntryObjects(Unknown Source)
    net.sf.kettle.plugin.trans.arsys.input.ArsInputServiceImpl.processArsInputRow(ArsInputServiceImpl.java:415)
    net.sf.kettle.plugin.trans.arsys.input.ArsInput.processRow(ArsInput.java:81)
    org.pentaho.di.trans.step.RunThread.run(RunThread.java:62)
    java.lang.Thread.run(Thread.java:745)

    I think your logic trys to use those IDs as index of massive, which size is 7
    and it, of course, don't have index bigger than 6.

    Hope this save someones time.

     
  • Sebastian Schmidt

    Hello Victor,
    Thanks for hint, I'm just bit bussy but I'll try to fix it till Sunday.
    I have to say that ARS Server Input is not intensive tested, I use in practise a DB connection + SQL to query datasets from arsystem, it's much faster, except you can't query attachments.

     
  • Sebastian Schmidt

    Done, v0.2.0

     

Anonymous
Anonymous

Add attachments
Cancel