Print

Print


Can you try the trunk copy of the monitoring app and let me know if you get the same problem?

I think it should be fixed now...

-----Original Message-----
From: Kyle McCarty [mailto:[log in to unmask]] 
Sent: Tuesday, December 09, 2014 4:22 PM
To: McCormick, Jeremy I.
Cc: Uemura, Sho; hps-software
Subject: Re: More Errors

Hello Jeremy,


If you try to select a steering file through the Job Settings -> Select Steering File option in the monitoring application, it produces an error that says



	java.lang.String can not be cast to java.io.File
	


I'm assuming that it is not properly generating a file object from the String file path.

Thanks,

Kyle


On Tue, Dec 9, 2014 at 6:21 PM, Kyle McCarty <[log in to unmask]> wrote:


	Hello Jeremy,
	
	It is attached.
	
	
	Thanks,
	
	Kyle
	

	On Tue, Dec 9, 2014 at 6:08 PM, McCormick, Jeremy I. <[log in to unmask]> wrote:
	

		Hi, Kyle.
		Can you make available to me the data file you are using that causes this error?
		--Jeremy
		

		-----Original Message-----
		From: [log in to unmask] [mailto:[log in to unmask]] On Behalf Of Kyle McCarty
		Sent: Tuesday, December 09, 2014 3:06 PM
		To: Uemura, Sho
		Cc: hps-software
		Subject: Re: More Errors
		
		Hello Sho,
		
		
		Thanks, that fixed the problem. The only other error I am getting from the monitoring application at the moment (at least running it locally) is the following at the end of every run:
		
		
		
		        org.hps.record.RecordProcessingException: Error creating LCIO event.
		            at org.hps.record.composite.LcioEventAdapter.recordSupplied(LcioEventAdapter.java:100)
		            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.hps.record.composite.CompositeLoop.loop(CompositeLoop.java:211)
		            at org.hps.record.composite.EventProcessingThread.run(EventProcessingThread.java:48)
		        Caused by: org.freehep.record.source.NoSuchRecordException
		            at org.lcsim.util.loop.LCIOEventSource.next(LCIOEventSource.java:136)
		            at org.hps.record.composite.LcioEventAdapter.recordSupplied(LcioEventAdapter.java:89)
		            ... 5 more
		
		
		
		This is independent of the steering file and seems to be an issue with the monitoring application not knowing how to handle the end of a file. I'm not sure where the fix for this would be, though.
		
		Thanks,
		
		Kyle
		
		
		On Tue, Dec 9, 2014 at 6:02 PM, Sho Uemura <[log in to unmask]> wrote:
		
		
		        Your second issue, with the SSPData, should be fixed. It looks like EcalHitPlots was changed to use SSPData (the engineering run trigger information object) instead of TriggerData (the test run trigger information object), but without actually making changes in the code as appropriate for the new data.
		
		        I changed EcalHitPlots back. Let me know if you still have problems.
		
		
		        On Tue, 9 Dec 2014, Kyle McCarty wrote:
		
		
		
		                Hello hps-software,
		
		                I encountered some more errors, one of which may be related to the last
		                one. First, the simpler case, occurred when I was installing JAS3 on my
		                laptop. When installing the HPS plug-in. It produced the following error:
		
		                Download failed: java.io.FileNotFoundException:
		
		
		
		                        http://srs.slac.standford.edu/nexus/content/groups/jas-plugin-public/org/jlab/coda/et/14.1/et-14.1.jar <http://srs.slac.standford.edu/nexus/content/groups/jas-plugin-public/org/jlab/coda/et/14.1/et-14.1.jar>
		




		                The second issue occurred when running the monitoring application on a
		                trigger LCIO output file using the EcalMonitoringFinal.clsim steering file.
		                No event data was displayed and the error message below was reported for
		                each event.
		
		                java.lang.ClassCastException: org.lcsim.lcio.SIOGenericObject cannot be
		
		
		                        cast to org.hps.readout.ecal.TriggerData
		                            at org.hps.readout.ecal.SSPData.getOrTrig(SSPData.java:146)
		                            at
		                        org.hps.monitoring.ecal.plots.EcalHitPlots.process(EcalHitPlots.java:201)
		                            at org.lcsim.util.Driver.doProcess(Driver.java:273)
		                            at org.lcsim.util.Driver.processChildren(Driver.java:284)
		                            at org.lcsim.util.Driver.process(Driver.java:198)
		                            at org.lcsim.util.DriverAdapter.recordSupplied(DriverAdapter.java:74)
		                            at
		                        org.hps.record.composite.LcioEventAdapter.recordSupplied(LcioEventAdapter.java:95)
		                            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.hps.monitoring.gui.MonitoringApplication.nextEvent(MonitoringApplication.java:1238)
		
		
		
		                   at
		
		
		                        org.hps.monitoring.gui.MonitoringApplication.actionPerformed(MonitoringApplication.java:279)
		                            at
		                        javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
		                            at
		                        javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2346)
		                            at
		                        javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
		                            at
		                        javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
		                            at
		                        javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
		                            at java.awt.Component.processMouseEvent(Component.java:6527)
		                            at javax.swing.JComponent.processMouseEvent(JComponent.java:3321)
		                            at java.awt.Component.processEvent(Component.java:6292)
		                            at java.awt.Container.processEvent(Container.java:2234)
		                            at java.awt.Component.dispatchEventImpl(Component.java:4883)
		                            at java.awt.Container.dispatchEventImpl(Container.java:2292)
		                            at java.awt.Component.dispatchEvent(Component.java:4705)
		                            at
		                        java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4898)
		                            at
		                        java.awt.LightweightDispatcher.processMouseEvent(Container.java:4533)
		                            at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4462)
		                            at java.awt.Container.dispatchEventImpl(Container.java:2278)
		                            at java.awt.Window.dispatchEventImpl(Window.java:2739)
		                            at java.awt.Component.dispatchEvent(Component.java:4705)
		                            at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:746)
		                            at java.awt.EventQueue.access$400(EventQueue.java:97)
		                            at java.awt.EventQueue$3.run(EventQueue.java:697)
		                            at java.awt.EventQueue$3.run(EventQueue.java:691)
		                            at java.security.AccessController.doPrivileged(Native Method)
		                            at
		                        java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
		                            at
		                        java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:86)
		                            at java.awt.EventQueue$4.run(EventQueue.java:719)
		                            at java.awt.EventQueue$4.run(EventQueue.java:717)
		                            at java.security.AccessController.doPrivileged(Native Method)
		                            at
		                        java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
		                            at java.awt.EventQueue.dispatchEvent(EventQueue.java:716)
		                            at
		                        java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
		                            at
		                        java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
		                            at
		                        java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
		                            at
		                        java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
		                            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
		                            at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
		
		
		
		
		                Any ideas on how to fix these?
		
		                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 <https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1>
		
		
		
		
		        ########################################################################
		        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 <https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1>
		
		
		
		
		________________________________
		

		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
		
		




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