Print

Print


Dear all,
today, after svn up and mvn clean install, I saw that hps-java no longer 
connects to the conditions system. I.e., I am using EXACTLY the same 
command I was using last week, but no connection with the database is 
established:

java -jar 
/local/celentano/eclipse_workspace/hps/distribution/target/hps-distribution-3.2-SNAPSHOT-bin.jar 
-r /org/hps/steering/users/celentan/LedAnalysis.lcsim -DoutputFile=test 
-n 100000 -i led_003532.slcio

The output is:


--- Drivers ---
org.lcsim.job.EventMarkerDriver
     eventInterval = 10000
org.hps.users.celentan.LedAnalysis
org.lcsim.util.loop.LCIODriver
     outputFilePath = test
org.lcsim.job.AidaSaveDriver
     outputFileName = test.aida
--- End Drivers ---
No input files in XML file.
added SvtSensorSetup to beginning of Driver list
LedAnalysis::Detector changed was called
Feb 25, 2015 5:51:54 PM org.lcsim.job.EventMarkerDriver process
INFO: Event 1 with sequence 0
java.lang.NullPointerException
         at org.hps.users.celentan.LedAnalysis.process(LedAnalysis.java:126)
         at org.lcsim.util.Driver.doProcess(Driver.java:260)
         at org.lcsim.util.Driver.processChildren(Driver.java:270)
         at org.lcsim.util.Driver.process(Driver.java:186)
         at 
org.lcsim.util.DriverAdapter.recordSupplied(DriverAdapter.java:74)
         at 
org.freehep.record.loop.DefaultRecordLoop.consumeRecord(DefaultRecordLoop.java:832)
         at 
org.freehep.record.loop.DefaultRecordLoop.loop(DefaultRecordLoop.java:668)
         at 
org.freehep.record.loop.DefaultRecordLoop.execute(DefaultRecordLoop.java:566)
         at org.lcsim.util.loop.LCSimLoop.loop(LCSimLoop.java:153)
         at org.lcsim.job.JobControlManager.run(JobControlManager.java:427)
         at org.hps.job.JobManager.run(JobManager.java:36)
         at org.lcsim.job.JobControlManager.run(JobControlManager.java:185)
         at org.hps.job.JobManager.main(JobManager.java:18)


where the error refers to the missing conditions.

Previously, the output was "much more verbose", and I saw the connection 
to the conditions database being established.
Can someone explain me if this is normal? Do I have to launch 
reconstruction in a different way?

To verify connectivity with the database, I tried:
mysql -h hpsdb.jlab.org -u hpsuser -p

I can connect properly to the database and see records..

Thanks
Andrea

########################################################################
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