Skip to main content
ExLibris
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    -b parameter in PpatronExpX does creates outofbounds java error

    • Product: Voyager
    • Product Version: 9.1.1-9.2.0
    • Relevant for Installation Type: Dedicated-Direct, Direct, Local

    Symptoms

    Using the -b parameter with any argument in the PpatronExpX job results in a java error.

    Defect Status

    VYG-6772 is resolved for Voyager 9.2.1 and higher.

    Replication Steps

    1. Format a PpatronExpX command, something like PpatronExpX -r1-3 to get the first 3 patron records.
    2. Job completes successfully.
    3. Run the command again with the -b parameter: PpatronExpX -r1-3 -b (no argument defaults to add).
    4. Job does not start and the log shows something like: 
    5. 2015-08-13 13:00:02,186 1 [main] ERROR com.exlibris.voyager.patron.importExpo
      rt.PatronExportMain - 8
      java.lang.ArrayIndexOutOfBoundsException: 8
      at com.endinfosys.util.ParmsImpl.doCharArgv(ParmsImpl.java:594)
      at com.endinfosys.util.ParmsImpl.processArgv(ParmsImpl.java:642)
      at com.endinfosys.util.SimpleApp.initParms(SimpleApp.java:149)
      at com.endinfosys.util.SimpleApp.<init>(SimpleApp.java:110)
      at com.endinfosys.voyager.util.SimpleClient.<init>(SimpleClient.java:57)
      at com.exlibris.voyager.patron.importExport.AbstractImportExportClient.<
      init>(AbstractImportExportClient.java:44)
      at com.exlibris.voyager.patron.importExport.PatronExportMain.<init>(Patr
      onExportMain.java:77)
      at com.exlibris.voyager.patron.importExport.PatronExportMain.main(Patron
      ExportMain.java:180)

    Workaround

     Don't use -b for XML export

     

     


    • Article last edited: 01-June-2016