Bug 44314 - Not possible to add more than one SyncTimer
Not possible to add more than one SyncTimer
Status: RESOLVED FIXED
Product: JMeter
Classification: Unclassified
Component: Main
unspecified
PC Windows XP
: P2 blocker (vote)
: ---
Assigned To: JMeter issues mailing list
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2008-01-28 08:46 UTC by yvlk
Modified: 2008-01-28 16:07 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description yvlk 2008-01-28 08:46:44 UTC
When trying to add SyncTimer into more than one thread group, second instance is
not initialized well and the following exception is thrown:

Exception in thread "AWT-EventQueue-0" java.lang.Error: java.lang.NumberFormatEx
ception: For input string: ""
        at org.apache.jmeter.testbeans.gui.WrapperEditor.shouldNeverHappen(Wrapp
erEditor.java:228)
        at org.apache.jmeter.testbeans.gui.WrapperEditor.getValue(WrapperEditor.
java:278)
        at org.apache.jmeter.testbeans.gui.GenericTestBeanCustomizer.saveGuiFiel
ds(GenericTestBeanCustomizer.java:570)
        at org.apache.jmeter.testbeans.gui.TestBeanGUI.modifyTestElement(TestBea
nGUI.java:231)
        at org.apache.jmeter.testbeans.gui.TestBeanGUI.createTestElement(TestBea
nGUI.java:208)
        at org.apache.jmeter.gui.GuiPackage.createTestElement(GuiPackage.java:29
7)
        at org.apache.jmeter.gui.action.AddToTree.doAction(AddToTree.java:68)
        at org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.
java:80)
        at org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.jav
a:42)
        at org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:59)

        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)
Comment 1 Sebb 2008-01-28 08:52:51 UTC
Confirmed, even in a single thread group

A work-round is to use copy and paste.
Comment 2 Sebb 2008-01-28 16:07:38 UTC
Thanks or the report; fixed in SVN r616113