Print

Print


I don't see the problem when processing this file at JLAB from event 390000 through the rest of the file (well I'm up to 510000 or so and it is still going).  

Is it possible the file was corrupted during ftp from JLAB to SLAC?

-----Original Message-----
From: [log in to unmask] [mailto:[log in to unmask]] On Behalf Of Graf, Norman A.
Sent: Monday, August 01, 2016 2:31 PM
To: hps-software
Subject: evio reconstruction error

Hello All,
 I was running reconstruction on one of the field-off run file partitions when I encountered the following error:

2016-08-01 14:25:15 [SEVERE] org.hps.evio.EvioToLcio bufferEvents :: non-positive length (0x0)
org.jlab.coda.jevio.EvioException: non-positive length (0x0)
        at org.jlab.coda.jevio.EvioReader.nextEvent(EvioReader.java:1302)
        at org.hps.evio.EvioToLcio.bufferEvents(EvioToLcio.java:169)
        at org.hps.evio.EvioToLcio.run(EvioToLcio.java:501)
        at org.hps.evio.EvioToLcio.main(EvioToLcio.java:98)

2016-08-01 14:25:15 [SEVERE] org.hps.evio.EvioToLcio bufferEvents :: bad length in bank header (0x0)
org.jlab.coda.jevio.EvioException: bad length in bank header (0x0)
        at org.jlab.coda.jevio.EventParser.createBankHeader(EventParser.java:223)
        at org.jlab.coda.jevio.EventParser.parseStructure(EventParser.java:122)
        at org.jlab.coda.jevio.EventParser.parseStructure(EventParser.java:135)
        at org.jlab.coda.jevio.EventParser.parseEvent(EventParser.java:62)
        at org.jlab.coda.jevio.EvioReader.parseEvent(EvioReader.java:1449)
        at org.hps.evio.EvioToLcio.bufferEvents(EvioToLcio.java:186)
        at org.hps.evio.EvioToLcio.run(EvioToLcio.java:501)
        at org.hps.evio.EvioToLcio.main(EvioToLcio.java:98)

Exception in thread "main" java.nio.BufferOverflowException
        at java.nio.Buffer.nextPutIndex(Buffer.java:519)
        at java.nio.HeapByteBuffer.putInt(HeapByteBuffer.java:366)
        at org.jlab.coda.jevio.EvioReader.nextBlockHeader(EvioReader.java:936)
        at org.jlab.coda.jevio.EvioReader.nextEvent(EvioReader.java:1278)
        at org.hps.evio.EvioToLcio.bufferEvents(EvioToLcio.java:169)
        at org.hps.evio.EvioToLcio.run(EvioToLcio.java:501)
        at org.hps.evio.EvioToLcio.main(EvioToLcio.java:98)

Has anyone encountered this before? If so, is there a solution to this problem?

Here's the command:

> java -cp ~/svn/hps/distribution/target/hps-distribution-3.10-SNAPSHOT-bin.jar org.hps.evio.EvioToLcio -x /org/hps/steering/recon/EngineeringRun2015STRecon.lcsim -r -d HPS-PhysicsRun2016-Nominal-v4-4-fieldmap -R 8100 -DoutputFile=tst /nfs/slac/g/hps3/data/hpsrun2016/evio/hps_008100.evio.0

It happened somewhere past the 400k mark...

Thanks,
Norman

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the HPS-SOFTWARE list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the HPS-SOFTWARE list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1