java.lang.NumberFormatException: For input string "null" when adding Graphs Generator Listener

873 views
Skip to first unread message

nickhol...@gmail.com

unread,
Sep 4, 2014, 6:27:02 PM9/4/14
to jmeter-...@googlegroups.com
I have Jmeter 2.11 with Java 1.7 on Windows 7 and SLES 11 SP3 

On Windows I can add the Graphs Generator Listener to a thread group of a test plan. On Linux this isn't possible, the error below is thrown and I cannot add the listener. 

2014/09/04 23:53:18 ERROR - jmeter.JMeter: Uncaught exception:  java.lang.Error: java.lang.NumberFormatException: For input string: "null"

        at org.apache.jmeter.testbeans.gui.WrapperEditor.shouldNeverHappen(WrapperEditor.java:247)

        at org.apache.jmeter.testbeans.gui.WrapperEditor.getAsText(WrapperEditor.java:382)

        at org.apache.jmeter.testbeans.gui.WrapperEditor.resetValue(WrapperEditor.java:120)

        at org.apache.jmeter.testbeans.gui.WrapperEditor.initialize(WrapperEditor.java:125)

        at org.apache.jmeter.testbeans.gui.WrapperEditor.<init>(WrapperEditor.java:107)

        at org.apache.jmeter.testbeans.gui.WrapperEditor.<init>(WrapperEditor.java:115)

        at org.apache.jmeter.testbeans.gui.GenericTestBeanCustomizer.createWrapperEditor(GenericTestBeanCustomizer.java:405)

        at org.apache.jmeter.testbeans.gui.GenericTestBeanCustomizer.<init>(GenericTestBeanCustomizer.java:272)

        at org.apache.jmeter.testbeans.gui.TestBeanGUI.init(TestBeanGUI.java:454)

        at org.apache.jmeter.testbeans.gui.TestBeanGUI.configure(TestBeanGUI.java:325)

        at org.apache.jmeter.gui.tree.JMeterTreeModel.addComponent(JMeterTreeModel.java:127)

        at org.apache.jmeter.gui.action.AddToTree.doAction(AddToTree.java:72)

        at org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:81)

        at org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:40)

        at org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:63)

        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:220)

        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:690)

        at java.awt.EventQueue.access$400(EventQueue.java:92)

        at java.awt.EventQueue$2.run(EventQueue.java:651)

        at java.awt.EventQueue$2.run(EventQueue.java:649)

        at java.security.AccessController.doPrivileged(AccessController.java:298)

        at com.ibm.oti.security.CheckedAccessControlContext.securityCheck(CheckedAccessControlContext.java:30)

        at sun.misc.JavaSecurityAccessWrapper.doIntersectionPrivilege(JavaSecurityAccessWrapper.java:41)

        at java.awt.EventQueue.dispatchEvent(EventQueue.java:660)

        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:280)

        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:195)

        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:185)

        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:180)

        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:172)

        at java.awt.EventDispatchThread.run(EventDispatchThread.java:133)


I would prefer to create my scripts on the SLES system and not have to use Windows and upload the scripts...


thanks, Nick

nickhol...@gmail.com

unread,
Sep 5, 2014, 8:40:47 AM9/5/14
to jmeter-...@googlegroups.com, nickhol...@gmail.com
This resolved when I realized that the user shell on SLES was csh and not bash, therefor it was using a different JVM. 
Reply all
Reply to author
Forward
0 new messages