ifarm1101> java -cp "lib/*:bin" hps.protonradius.PlotQ2 /mss/hallb/hps/engrun2015/pass1/recon/hps_005797.360_recon_R3321.slcio
Exception in thread "main" java.io.IOException: Framing error
at hep.io.sio.SIOReader$SIORecordImpl.readRecordHeader(SIOReader.java:223)
at hep.io.sio.SIOReader$SIORecordImpl.nextRecord(SIOReader.java:156)
at hep.io.sio.SIOReader.readRecord(SIOReader.java:77)
at hep.lcio.implementation.sio.SIOLCReader.readNextEvent(SIOLCReader.java:114)
at hep.lcio.implementation.sio.SIOLCReader.readNextEvent(SIOLCReader.java:148)
at hps.protonradius.PlotQ2.main(PlotQ2.java:18)
The program I am running is as follows, and it crashes at the reader.readNextEvent() line.
....
public class PlotQ2 {
public static void main(String arg[]) throws IOException{
String s = arg[0];
LCReader reader = LCFactory.getInstance().createLCReader();
reader.open(s);
LCEvent event = reader.readNextEvent();
...
}
...
}
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