After further testing, it seems that the most likely cause of this error is that the JAR file was updated at some point during the run (most likely when the AIDA save driver was working) and this caused the crash. Further runs do not seem to be affected, so it most likely not an issue with HPS-Java itself, so much as a glitch in the run.



On Mon, Oct 12, 2015 at 6:22 PM, Kyle McCarty <[log in to unmask]> wrote:

Since it seems this is a non-obvious error, let me provide additional detail. I am running on pass-2 recon using a steering file that has, historically, worked fine. It was behaving correctly last week. It seems to be crashing when trying to save the plots, as it runs to completion and outputs some of the endOfData methods' text. The steering file is as follows:

<?xml version="1.0" encoding="UTF-8"?>
<lcsim xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="http://www.lcsim.org/schemas/lcsim/1.0/lcsim.xsd">
        <driver name="EventMarkerDriver"/>
        <driver name="TridentAnalysis"/>
        <driver name="AidaSaveDriver"/>
        <driver name="RootSaveDriver"/>
        <driver name="CleanupDriver"/>

        <driver name="EventMarkerDriver" type="org.lcsim.job.EventMarkerDriver">

        <driver name="TridentAnalysis" type="org.hps.users.kmccarty.TridentAnalysis">

        <driver name="AidaSaveDriver" type="org.lcsim.job.AidaSaveDriver">

        <driver name="RootSaveDriver" type="org.lcsim.job.AidaSaveDriver">

        <driver name="CleanupDriver" type="org.lcsim.recon.tracking.digitization.sisim.config.ReadoutCleanupDriver" />

The analysis driver is the one that outputs its endOfData text, so the error is not coming from there. The full, exact command (with some input files wiped so it isn't a paragraph) is:

java -jar $HPS_JAVA ~/steering/TridentAnalysis.lcsim -i ./slcio/pass-2/run-5772/hps_005772.10_recon_R340.slcio -DoutputFile=trident-ana

This error has just recently appeared, so I suspect that it is related to one of the recent changes to the trunk. I didn't see it as of late last week, and the only thing I have changed in this process is to update the SVN. There were also some alterations to the analysis driver, but shown above, that runs to completion without issue.



On Mon, Oct 12, 2015 at 3:09 PM, Kyle McCarty <[log in to unmask]> wrote:
Hello Jeremy,

Just the standard java command:


The only thing slightly different is that I have two AIDA save drivers to output to both AIDA and ROOT. Otherwise everything is pretty standard.



On Mon, Oct 12, 2015 at 2:37 PM, Jeremy McCormick <[log in to unmask]> wrote:
What exact command are you running when this happens?

On Oct 12, 2015, at 11:15 AM, Kyle McCarty <[log in to unmask]> wrote:

Hello Jeremy,

I ran into this error when running the readout simulation:

java.lang.NoClassDefFoundError: hep/aida/dev/IStoreFactory
        at hep.aida.ref.tree.Tree.createStore(Tree.java:1051)
        at hep.aida.ref.tree.Tree.commit(Tree.java:718)
        at org.lcsim.util.aida.AIDA.save(AIDA.java:319)
        at org.lcsim.util.aida.AIDA.saveAs(AIDA.java:295)
        at org.lcsim.job.AidaSaveDriver.endOfData(AidaSaveDriver.java:32)
        at org.lcsim.util.Driver.endOfData(Driver.java:152)
        at org.lcsim.util.DriverAdapter.finish(DriverAdapter.java:43)
        at org.freehep.record.loop.AbstractLoopListener.process(AbstractLoopListener.java:24)
        at org.freehep.record.loop.DefaultRecordLoop.fireLoopEvents(DefaultRecordLoop.java:125)
        at org.freehep.record.loop.DefaultRecordLoop.loop(DefaultRecordLoop.java:713)
        at org.freehep.record.loop.DefaultRecordLoop.execute(DefaultRecordLoop.java:566)
        at org.lcsim.util.loop.LCSimLoop.loop(LCSimLoop.java:151)
        at org.lcsim.job.JobControlManager.run(JobControlManager.java:431)
        at org.hps.job.JobManager.run(JobManager.java:71)
        at org.lcsim.job.JobControlManager.run(JobControlManager.java:189)
        at org.hps.job.JobManager.main(JobManager.java:26)
Caused by: java.lang.ClassNotFoundException: hep.aida.dev.IStoreFactory
        at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
        ... 16 more
Caused by: java.util.zip.ZipException: error reading zip file

I haven't seen it before; do you know what the cause of it is?



Use REPLY-ALL to reply to list

To unsubscribe from the HPS-SOFTWARE list, click the following link: