Thank you, Tony. Do you have any idea about the exact nature of this problem so that it could be fixed in the generator code? I notice older StdHep files do not have this problem but I have seen it in many files generated for HPS recently (from madgraph I think?). -----Original Message----- From: Tony Johnson [mailto:[log in to unmask]] Sent: Wednesday, September 30, 2015 8:37 AM To: McCormick, Jeremy I.; Graf, Norman A. Cc: Graham, Mathew Thomas; hps-software Subject: Re: stdhep error On 09/30/2015 08:18 AM, McCormick, Jeremy I. wrote: Hi, Does anyone have any idea about what causes this error in JAS3 when I try to open StdHep files? java.io.IOException: Invalid version at hep.io.mcfio.MCFIOBlock.read(MCFIOBlock.java:40) at hep.io.stdhep.StdhepRecord.read(StdhepRecord.java:24) at hep.io.stdhep.StdhepRunRecord.read(StdhepRunRecord.java:58) at hep.io.mcfio.MCFIOReader$EventHeader.getBlock(MCFIOReader.java:231) at hep.io.stdhep.StdhepReader.nextRecord(StdhepReader.java:49) at org.lcsim.util.loop.StdhepEventSource.next(StdhepEventSource.java:83) [snip] I've opened a bug report for it in our Jira. https://jira.slac.stanford.edu/browse/HPSJAVA-610 I have not been able to open any of the StdHep files that I have tried recently in JAS3. I suspect it may have to do with an incompatibility introduced in a recent versions of the Freehep mcfio package, but it is just a guess. Thanks. --Jeremy This sounds familiar, I think Norman reported something similar and it was to do with the way the stdhep files were generated. I put a work around in: http://java.freehep.org/svn/repos/freehep/diff/freehep/trunk/hepio/freehep-mcfio/src/main/java/hep/io/mcfio/MCFIOBlock.java?revision=16295&entries=/freehep/trunk/hepio/freehep-mcfio/src/main/java/hep/io/mcfio/MCFIOBlock.java@16295&entries=/freehep/trunk/hepio/freehep-mcfio/src/main/java/hep/io/mcfio/MCFIOBlock.java@16294 Looks like this is currently only in freehep-stdhep 2.0.6-SNAPSHOT. Tony ######################################################################## 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