Hi,
That's because the class HpsConditionsReader was moved to....
org.hps.conditions.deprecated.HpsConditionsReader
And the detector.properties of that detector lists the old location.
It should be fixed in SVN now. You would need to 'svn up' trunk/detector-data, build it with the 'mvn' command, and then reinstall your distribution to get the fix.
--Jeremy
-----Original Message-----
From: Kyle McCarty [mailto:[log in to unmask]]
Sent: Thursday, May 08, 2014 9:54 AM
To: McCormick, Jeremy I.
Subject: Re: Version 8 Geometry Error
Hello Jeremy,
Sorry for the slow reply, I had to finish some LCSim runs before I could update and see if the bug was gone. I still get the same error, though the webpage is gone as you said.
java.lang.RuntimeException: org.lcsim.conditions.ConditionsManager$ConditionsNotFoundException: Conditions not found for detector HPS-Proposal2014-v8-2pt2
at org.lcsim.event.base.BaseLCSimEvent.<init>(BaseLCSimEvent.java:54)
at org.lcsim.lcio.LCIOEvent.<init>(LCIOEvent.java:62)
at org.lcsim.lcio.LCIOEvent.<init>(LCIOEvent.java:25)
at org.lcsim.lcio.LCIOReader.read(LCIOReader.java:59)
at org.lcsim.util.loop.LCIOEventSource.next(LCIOEventSource.java:129)
at org.freehep.record.loop.DefaultRecordLoop.fetchRecord(DefaultRecordLoop.java:809)
at org.freehep.record.loop.DefaultRecordLoop.loop(DefaultRecordLoop.java:648)
at org.freehep.record.loop.DefaultRecordLoop.execute(DefaultRecordLoop.java:566)
at org.lcsim.util.loop.LCSimLoop.loop(LCSimLoop.java:152)
at org.lcsim.job.JobControlManager.run(JobControlManager.java:416)
at org.lcsim.job.JobControlManager.main(JobControlManager.java:179)
Caused by: org.lcsim.conditions.ConditionsManager$ConditionsNotFoundException: Conditions not found for detector HPS-Proposal2014-v8-2pt2
at org.lcsim.conditions.ConditionsReader.create(ConditionsReader.java:238)
at org.lcsim.conditions.ConditionsManagerImplementation.setDetector(ConditionsManagerImplementation.java:40)
at org.lcsim.event.base.BaseLCSimEvent.<init>(BaseLCSimEvent.java:52)
... 10 more
Caused by: java.lang.ClassNotFoundException: org.lcsim.hps.conditions.HpsConditionsReader
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
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)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:190)
at org.lcsim.conditions.ConditionsReader.create(ConditionsReader.java:234)
... 12 more
This is running with the standard reconstruction driver HPS2014ReadoutToLcio.lcsim completely unmodified.
Thanks,
Kyle
On Mon, May 5, 2014 at 1:58 PM, McCormick, Jeremy I. <[log in to unmask]> wrote:
Hi,
Did you ever figure this out?
I made a bug report about it that I'm revisiting today.
https://jira.slac.stanford.edu/browse/HPSJAVA-102
I removed that useless URL from the lcsim exception message.
That detector model should be found as long as it is in trunk/detector-data with the correct name assignment and you are using an up to date copy of the bin jar.
Let me know...
--Jeremy
-----Original Message-----
From: Kyle McCarty [mailto:[log in to unmask]]
Sent: Wednesday, April 30, 2014 9:28 AM
To: McCormick, Jeremy I.
Subject: Version 8 Geometry Error
Jeremy,
I get the following error when I try to run reconstruction with the version 8 geometry.
java.lang.RuntimeException: Please see http://confluence.slac.stanford.edu/display/ilc/Conditions+database
at org.lcsim.event.base.BaseLCSimEvent.<init>(BaseLCSimEvent.java:54)
at org.lcsim.lcio.LCIOEvent.<init>(LCIOEvent.java:62)
at org.lcsim.lcio.LCIOEvent.<init>(LCIOEvent.java:25)
at org.lcsim.lcio.LCIOReader.read(LCIOReader.java:59)
at org.lcsim.util.loop.LCIOEventSource.next(LCIOEventSource.java:129)
at org.freehep.record.loop.DefaultRecordLoop.fetchRecord(DefaultRecordLoop.java:809)
at org.freehep.record.loop.DefaultRecordLoop.loop(DefaultRecordLoop.java:648)
at org.freehep.record.loop.DefaultRecordLoop.execute(DefaultRecordLoop.java:566)
at org.lcsim.util.loop.LCSimLoop.loop(LCSimLoop.java:152)
at org.lcsim.job.JobControlManager.run(JobControlManager.java:405)
at org.lcsim.job.JobControlManager.main(JobControlManager.java:179)
Caused by: org.lcsim.conditions.ConditionsManager$ConditionsNotFoundException: Conditions not found for detector HPS-Proposal2014-v8-2pt2
at org.lcsim.conditions.ConditionsReader.create(ConditionsReader.java:238)
at org.lcsim.conditions.ConditionsManagerImplementation.setDetector(ConditionsManagerImplementation.java:40)
at org.lcsim.event.base.BaseLCSimEvent.<init>(BaseLCSimEvent.java:52)
... 10 more
Caused by: java.lang.ClassNotFoundException: org.lcsim.hps.conditions.HpsConditionsReader
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
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)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:190)
at org.lcsim.conditions.ConditionsReader.create(ConditionsReader.java:234)
... 12 more
The website it mentions does not seem to exist. Any idea what to do to fix it?
Thanks,
Kyle
########################################################################
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
|