You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by bu...@apache.org on 2002/04/12 11:44:31 UTC

DO NOT REPLY [Bug 8007] New: - JMeter 1.7. Can`t open saved testplans

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8007>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8007

JMeter 1.7. Can`t open saved testplans

           Summary: JMeter 1.7. Can`t open saved testplans
           Product: JMeter
           Version: unspecified
          Platform: PC
        OS/Version: Windows NT/2K
            Status: UNCONFIRMED
          Severity: Major
          Priority: Other
         Component: Main
        AssignedTo: jmeter-dev@jakarta.apache.org
        ReportedBy: trei@online.no


Running JMeter 1.7 (released 18.03.2002 ) on a P3 750 running WIN2000.

I can create testplans, execute and save them, but not open saved ones.
Using jEdit I have verified that the .jmx-files I try to open contains data.

In the command-window I have observed that the error seems to be connected to 
some XML-parsing. I have copied the messages and prints them here, hoping that 
it will be of some help. I have a feeling this is not connected to my problems 
with log4j, but I`m not 100% certain.

I tried to open two jmx-files and these errors occurred:
"C:\Data\Performance\JMeter\jakarta-jmeter\bin>CALL ..\lcp.bat ..\lib\ant-
1.4.1.j
ar
log4j:ERROR No appenders could be found for category (org.apache.jmeter.util.Cla
ssFinder).
log4j:ERROR Please initialize the log4j system properly.
***Parsing Fatal Error**
 Line:   2
 URI:    null
 Message: The markup in the document preceding the root element must be well-for
med.
Fatal Error encountered
        at org.apache.jmeter.save.xml.XmlHandler.fatalError(XmlHandler.java:126)

        at weblogic.apache.xerces.framework.XMLParser.reportError(XMLParser.java
:1111)
        at weblogic.apache.xerces.framework.XMLDocumentScanner.reportFatalXMLErr
or(XMLDocumentScanner.java:640)
        at weblogic.apache.xerces.framework.XMLDocumentScanner$PrologDispatcher.
dispatch(XMLDocumentScanner.java:927)
        at weblogic.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocu
mentScanner.java:381)
        at weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:967)
        at weblogic.xml.jaxp.WebLogicXMLReader.parse(WebLogicXMLReader.java:123)

       at weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:125)

       at org.apache.jmeter.gui.action.Load.doAction(Load.java:128)
       at org.apache.jmeter.gui.action.ActionRouter.actionPerformed(ActionRoute
.java:94)
       at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
       at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknow
 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
(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)
***Parsing Fatal Error**
 Line:   7
 URI:    null
 Message: An invalid XML character (Unicode: 0xf8) was found in the value of att
ribute "name".
Fatal Error encountered
        at org.apache.jmeter.save.xml.XmlHandler.fatalError(XmlHandler.java:126)

        at weblogic.apache.xerces.framework.XMLParser.reportError(XMLParser.java
:1111)
        at weblogic.apache.xerces.framework.XMLDocumentScanner.reportFatalXMLErr
or(XMLDocumentScanner.java:686)
        at weblogic.apache.xerces.framework.XMLDocumentScanner.scanAttValue(XMLD
ocumentScanner.java:554)
        at weblogic.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDo
cumentScanner.java:1839)
        at weblogic.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher
.dispatch(XMLDocumentScanner.java:1252)
        at weblogic.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocu
mentScanner.java:381)
        at weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:967)
        at weblogic.xml.jaxp.WebLogicXMLReader.parse(WebLogicXMLReader.java:123)

        at weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:125)

        at org.apache.jmeter.gui.action.Load.doAction(Load.java:128)
        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 rebooted the machine and restarted JMeter. Made a small testplan and saved. 
Closed down JMeter and started it again. Was not able to open the saved file.

Hope you can get an idea of the problem using my description!

Looking forward to this issue being resolved !

Tman

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>