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

http://issues.apache.org/bugzilla/show_bug.cgi?id=30779

"View Results Tree" fails to load saved results

           Summary: "View Results Tree" fails to load saved results
           Product: JMeter
           Version: 2.0.1
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Main
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I added a "View Results Tree" listener to my jmeter test, and specified a file 
in the filename textfield.  I ran the test and verified that the file existed 
and had data.  After closing and then opening jmeter, i tried to load the file 
into the listener, but nothing appeared in the gui.

I closed jmeter, and modified the "jmeter.properties" to 
have "log_level.jmeter=DEBUG".

I opened jmeter, added a new "View Results Tree" listener into an empty test 
plan and tried to open the file again.  I saw a NumberFormatException in the 
jmeter.log.

The log snippet follows:

2004/08/20 13:21:49 INFO  - jmeter.visualizers.gui.AbstractVisualizer: getting 
new collector
2004/08/20 13:21:49 DEBUG - jmeter.gui.AbstractJMeterGuiComponent: setting 
element to enabled: true
2004/08/20 13:21:49 DEBUG - jmeter.visualizers.ViewResultsFullVisualizer: 
Start : clear1
2004/08/20 13:21:49 DEBUG - jmeter.visualizers.ViewResultsFullVisualizer: 
clear1 : total child - 0
2004/08/20 13:21:49 DEBUG - jmeter.visualizers.ViewResultsFullVisualizer: End : 
clear1
2004/08/20 13:21:50 DEBUG - jmeter.visualizers.gui.AbstractVisualizer: Error 
occurred while loading file java.lang.NumberFormatException: <?xml 
version="1.0" encoding
="UTF-8"?>
        at java.lang.Long.parseLong(Long.java:305)
        at java.lang.Long.parseLong(Long.java:358)
        at org.apache.jmeter.save.SaveService.makeResultFromDelimitedString
(SaveService.java:298)
        at org.apache.jmeter.reporters.ResultCollector.loadExistingFile
(ResultCollector.java:186)
        at org.apache.jmeter.visualizers.gui.AbstractVisualizer.stateChanged
(AbstractVisualizer.java:231)
        at org.apache.jmeter.gui.util.FilePanel.fireFileChanged
(FilePanel.java:128)
        at org.apache.jmeter.gui.util.FilePanel.actionPerformed
(FilePanel.java:141)
        at javax.swing.AbstractButton.fireActionPerformed
(AbstractButton.java:1445)
        at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed
(AbstractButton.java:1499)
        at javax.swing.DefaultButtonModel.fireActionPerformed
(DefaultButtonModel.java:373)
        at javax.swing.DefaultButtonModel.setPressed
(DefaultButtonModel.java:245)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased
(BasicButtonListener.java:211)
        at java.awt.Component.processMouseEvent(Component.java:3710)
        at java.awt.Component.processEvent(Component.java:3539)
        at java.awt.Container.processEvent(Container.java:1159)
        at java.awt.Component.dispatchEventImpl(Component.java:2588)
        at java.awt.Container.dispatchEventImpl(Container.java:1208)
        at java.awt.Component.dispatchEvent(Component.java:2492)
        at java.awt.LightweightDispatcher.retargetMouseEvent
(Container.java:2451)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2216)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125)
        at java.awt.Container.dispatchEventImpl(Container.java:1195)
        at java.awt.Window.dispatchEventImpl(Window.java:923)
        at java.awt.Component.dispatchEvent(Component.java:2492)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:334)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy
(EventDispatchThread.java:126)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThread.java:93)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:88)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:80)

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

Reply via email to