Message: G4 and JAS3 problem Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question G4 and JAS3 problem 

Keywords: JAS3 G4 AIDA
Forum: Analysis
Date: 05 Feb, 2007
From: Cederik De León <Cederik De León>

Hi all:

A have already running almost all the examples (geant4.8.2); when i run
 the  ./AnaEx01 it goes fine. 
Shows the Window with the analysis, then i close the program, and see
that the AnaEx01.aida was genetared by the example. 
When i try to load it with jas3 (jas3-0.8.2) an alert window 
say: "Error opening file" then details :

-------------
java.io.IOException: Error reading /home/cederik/geant4/bin/Linux-egcs/AnaEx01.aida
    at hep.aida.ref.xml.AidaXMLStore.read(AidaXMLStore.java:79)
    at hep.aida.ref.tree.Tree.init(Tree.java:1007)
    at hep.aida.ref.tree.TreeFactory.createTree(TreeFactory.java:181)
    at org.freehep.jas.extension.aida.AIDAPlugin$JAS3TreeFactory.createTree(AIDAPlugin.java:228)
    at hep.aida.ref.tree.TreeFactory.create(TreeFactory.java:113)
    at org.freehep.jas.extension.aida.AIDAPlugin.openFile(AIDAPlugin.java:105)
    at org.freehep.jas.extension.aida.AIDAPlugin.openFile(AIDAPlugin.java:100)
    at org.freehep.jas.plugin.basic.FileOpener.openFile(FileOpener.java:124)
    at org.freehep.jas.plugin.basic.FileOpener.access$100(FileOpener.java:38)
    at org.freehep.jas.plugin.basic.FileOpener$Commands.onOpenFile(FileOpener.java:229)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.freehep.util.commanddispatcher.CommandProcessor.invoke(CommandProcessor.java:124)
    at org.freehep.util.commanddispatcher.CommandProcessor.invokeCommand(CommandProcessor.java:161)
    at org.freehep.util.commanddispatcher.CommandProcessor$SimpleTarget.doCommand(CommandProcessor.java:289)
    at org.freehep.util.commanddispatcher.CommandProcessor.invokeCommand(CommandProcessor.java:135)
    at org.freehep.util.commanddispatcher.CommandProcessor$SimpleTarget.invoke(CommandProcessor.java:325)
    at org.freehep.util.commanddispatcher.CommandSourceAdapter.actionPerformed(CommandSourceAdapter.java:84)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
    at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
    at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
    at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1170)
    at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1211)
    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
    at java.awt.Component.processMouseEvent(Component.java:6038)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3260)
    at java.awt.Component.processEvent(Component.java:5803)
    at java.awt.Container.processEvent(Container.java:2058)
    at java.awt.Component.dispatchEventImpl(Component.java:4410)
    at java.awt.Container.dispatchEventImpl(Container.java:2116)
    at java.awt.Component.dispatchEvent(Component.java:4240)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
    at java.awt.Container.dispatchEventImpl(Container.java:2102)
    at java.awt.Window.dispatchEventImpl(Window.java:2429)
    at java.awt.Component.dispatchEvent(Component.java:4240)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
    at org.freehep.jas.util.waitcursor.WaitCursorEventQueue.dispatchEvent(WaitCursorEventQueue.java:47)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
----------

Caused by:

____________

org.xml.sax.SAXParseException: Attribute "height" is required and must be specified for element type "bin1d".
    at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195)
    at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:131)
    at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:384)
    at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:318)
    at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.addDTDDefaultAttrsAndValidate(XMLDTDValidator.java:1193)
    at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.handleStartElement(XMLDTDValidator.java:1940)
    at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.emptyElement(XMLDTDValidator.java:785)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1337)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2740)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:645)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:508)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
    at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
    at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
    at hep.aida.ref.xml.AidaParser.parse(AidaParser.java:303)
    at hep.aida.ref.xml.AidaParser.parse(AidaParser.java:245)
    at hep.aida.ref.xml.AidaXMLStore.read(AidaXMLStore.java:75)
    at hep.aida.ref.tree.Tree.init(Tree.java:1007)
    at hep.aida.ref.tree.TreeFactory.createTree(TreeFactory.java:181)
    at org.freehep.jas.extension.aida.AIDAPlugin$JAS3TreeFactory.createTree(AIDAPlugin.java:228)
    at hep.aida.ref.tree.TreeFactory.create(TreeFactory.java:113)
    at org.freehep.jas.extension.aida.AIDAPlugin.openFile(AIDAPlugin.java:105)
    at org.freehep.jas.extension.aida.AIDAPlugin.openFile(AIDAPlugin.java:100)
    at org.freehep.jas.plugin.basic.FileOpener.openFile(FileOpener.java:124)
    at org.freehep.jas.plugin.basic.FileOpener.access$100(FileOpener.java:38)
    at org.freehep.jas.plugin.basic.FileOpener$Commands.onOpenFile(FileOpener.java:229)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.freehep.util.commanddispatcher.CommandProcessor.invoke(CommandProcessor.java:124)
    at org.freehep.util.commanddispatcher.CommandProcessor.invokeCommand(CommandProcessor.java:161)
    at org.freehep.util.commanddispatcher.CommandProcessor$SimpleTarget.doCommand(CommandProcessor.java:289)
    at org.freehep.util.commanddispatcher.CommandProcessor.invokeCommand(CommandProcessor.java:135)
    at org.freehep.util.commanddispatcher.CommandProcessor$SimpleTarget.invoke(CommandProcessor.java:325)
    at org.freehep.util.commanddispatcher.CommandSourceAdapter.actionPerformed(CommandSourceAdapter.java:84)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
    at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
    at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
    at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1170)
    at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1211)
    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
    at java.awt.Component.processMouseEvent(Component.java:6038)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3260)
    at java.awt.Component.processEvent(Component.java:5803)
    at java.awt.Container.processEvent(Container.java:2058)
    at java.awt.Component.dispatchEventImpl(Component.java:4410)
    at java.awt.Container.dispatchEventImpl(Container.java:2116)
    at java.awt.Component.dispatchEvent(Component.java:4240)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
    at java.awt.Container.dispatchEventImpl(Container.java:2102)
    at java.awt.Window.dispatchEventImpl(Window.java:2429)
    at java.awt.Component.dispatchEvent(Component.java:4240)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
    at org.freehep.jas.util.waitcursor.WaitCursorEventQueue.dispatchEvent(WaitCursorEventQueue.java:47)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
---------------

Any suggestion ?

Best regards

Cederik L. De León A.

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: RE: G4 and JAS3 problem   (tony_johnson@slac.stanford.edu - 06 Feb, 2007)
(_ Feedback: RE: G4 and JAS3 problem   (Cederik De León - 06 Feb, 2007)
 Add Message Add Message
to: "G4 and JAS3 problem"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]