Error on execution

Issue #1 resolved
Former user created an issue

Hi! I'm trying to test out this software on a raw file. When I run it, i get this error. Help? When I run the two .exe files in the Thermo directory, i get results, so it seems to be able to read the file...

09:51:37.602 [SwingWorker-pool-3-thread-1] ERROR inspector.imondb.collector.controller.CollectorTask - Error while executing a thread: java.lang.ArrayIndexOutOfBoundsException: 1 java.util.concurrent.ExecutionException: java.lang.ArrayIndexOutOfBoundsException: 1 at java.util.concurrent.FutureTask.report(Unknown Source) ~[?:1.8.0_40] at java.util.concurrent.FutureTask.get(Unknown Source) ~[?:1.8.0_40] at inspector.imondb.collector.controller.CollectorTask.retrieveTask(CollectorTask.java:199) [imondb-collector-1.1.1.jar:1.1.1] at inspector.imondb.collector.controller.CollectorTask.doInBackground(CollectorTask.java:106) [imondb-collector-1.1.1.jar:1.1.1] at inspector.imondb.collector.controller.CollectorTask.doInBackground(CollectorTask.java:55) [imondb-collector-1.1.1.jar:1.1.1] at javax.swing.SwingWorker$1.call(Unknown Source) [?:1.8.0_40] at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_40] at javax.swing.SwingWorker.run(Unknown Source) [?:1.8.0_40] at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_40] at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_40] at java.lang.Thread.run(Unknown Source) [?:1.8.0_40] Caused by: java.lang.ArrayIndexOutOfBoundsException: 1 at inspector.imondb.convert.thermo.ThermoRawFileExtractor.readRawValues(ThermoRawFileExtractor.java:459) ~[imondb-core-1.0.4.jar:?] at inspector.imondb.convert.thermo.ThermoRawFileExtractor.extractAndAddValues(ThermoRawFileExtractor.java:327) ~[imondb-core-1.0.4.jar:?] at inspector.imondb.convert.thermo.ThermoRawFileExtractor.extractInstrumentData(ThermoRawFileExtractor.java:226) ~[imondb-core-1.0.4.jar:?] at inspector.imondb.collector.controller.FileProcessor.call(FileProcessor.java:110) ~[imondb-collector-1.1.1.jar:1.1.1] at inspector.imondb.collector.controller.FileProcessor.call(FileProcessor.java:50) ~[imondb-collector-1.1.1.jar:1.1.1] at java.util.concurrent.FutureTask.run(Unknown Source) ~[?:1.8.0_40] at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) ~[?:1.8.0_40] at java.util.concurrent.FutureTask.run(Unknown Source) ~[?:1.8.0_40] ... 3 more

Comments (2)

  1. Wout Bittremieux

    This is most probably caused by an unknown output from the .exe extractors. Has the raw file been generated by one of the instruments that are fully supported? The various instruments structure their instrument parameters differently, and if an instrument is not explicitly supported a general approach is tried. This might obviously fail, which is most probably what's happening on this occasion.

    It might be useful if you could possibly provide me with the raw file causing the error. (A Dropbox link or equivalent should be relatively easy. If you don't want to advertise this publicly, you can send me an email at wout.bittremieux AT uantwerpen.be) Alternatively, just the output from the .exe extractors might go a long way towards detecting the problem as well.

  2. Wout Bittremieux

    The error caused by encountering unexpected empty values when using the default instrument reader should be fixed now (e60ef12), using the default instrument reader when reading a raw file from an expected instrument shouldn't result in a crash anymore. However, the instrument parameters might still not be perfectly interpreted, as the default instrument reader is very general and might not be ideally suited to some instrument models.

    If your instrument model isn't explicitly supported, you can always provide me with an example raw file, and full support will be added. Furthermore, explicit support for several additional instrument models has been added (27752b6).

  3. Log in to comment