Help!

I updated my copy of JMeter to the current working version in CVS, and it seems that 
loading is broken.
(If I missed a previous conversation on this, I apologize)

Can someone please help me fix this?  I am new to JMeter and there is still lots I 
don't understand.

There is a similar bug in the database: 
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5732



When I try loading any test plan, even just a Thread Group, I get the following:

No current Handler for

Not real helpful, so I looked a the following code in 
org.apache.jmeter.save.xml.XmlHandler
        ...
        public void startElement(String uri, String localName, String qName, 
Attributes atts)
        {
                //documentElement(localName, atts);
                TagHandler newXmlObject = informer.getXmlObject(localName, atts);
                if (newXmlObject == null)
                {
                        try
                        {
                                getCurrentHandler().passToHandler(localName, atts);
                        }
                        catch (Exception ex)
                        {
                                System.out.println("No current Handler for " + 
localName);
                        }
        ...

And I think to myself, my, that is a generous catch block, so let's at least throw a 
ex.printStackTrace() in there and see what we get, which is:


No current Handler for
org.apache.jmeter.save.xml.NoCurrentHandlerException
        at org.apache.jmeter.save.xml.XmlHandler.getCurrentHandler(XmlHandler.ja
va:623)
        at org.apache.jmeter.save.xml.XmlHandler.startElement(XmlHandler.java:39
5)
        at org.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1371)

        at org.apache.xerces.validators.common.XMLValidator.callStartElement(XML
Validator.java:840)
        at org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.disp
atch(XMLDocumentScanner.java:1223)
        at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentS
canner.java:381)
        at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:948)
        at org.apache.jmeter.gui.action.Load.doAction(Load.java:127)
        at org.apache.jmeter.gui.action.ActionRouter.actionPerformed(ActionRoute
r.java:94)
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
        at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknow
n Source)
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
        at javax.swing.AbstractButton.doClick(Unknown Source)
        at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseRelease
d(Unknown Source)
        at java.awt.Component.processMouseEvent(Unknown Source)
        at java.awt.Component.processEvent(Unknown Source)
        at java.awt.Container.processEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)

        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)



I hope that is enough to be helpful....



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to