Bug 50203 - Cannot set this property "jmeter.save.saveservice.default_delimiter=\t"
Cannot set this property "jmeter.save.saveservice.default_delimiter=\t"
Status: RESOLVED FIXED
Product: JMeter
Classification: Unclassified
Component: Main
2.4
PC Windows XP
: P2 major (vote)
: ---
Assigned To: JMeter issues mailing list
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2010-11-03 12:20 UTC by Adrian S
Modified: 2010-11-03 14:24 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adrian S 2010-11-03 12:20:20 UTC
[test env]
jmeter 2.4
windows xp
java 1.6.0_20 or 22

[steps to reproduce]
uncommnet this line in jmeter.properties:
jmeter.save.saveservice.default_delimiter=\t

[problem]
An error is reported at start time and the Edit menu is completely unfunctional when the application starts in GUI mode.

[stack trace]
ERROR - jmeter.gui.util.MenuFactory:  org.apache.jorphan.util.JMeterError: Delimiter (code 9) must be printable.
    at org.apache.jmeter.samplers.SampleSaveConfiguration.<clinit>(SampleSaveConfiguration.java:321)
    at org.apache.jmeter.reporters.ResultCollector.<init>(ResultCollector.java:146)
    at org.apache.jmeter.reporters.ResultCollector.<init>(ResultCollector.java:140)
    at org.apache.jmeter.visualizers.gui.AbstractVisualizer.<init>(AbstractVisualizer.java:126)
    at kg.apc.jmeter.vizualizers.AbstractGraphPanelVisualizer.<init>(AbstractGraphPanelVisualizer.java:50)
    at kg.apc.jmeter.vizualizers.ResponseTimesOverTimeGui.<init>(ResponseTimesOverTimeGui.java:20)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at java.lang.Class.newInstance0(Unknown Source)
    at java.lang.Class.newInstance(Unknown Source)
    at org.apache.jmeter.gui.util.MenuFactory.initializeMenus(MenuFactory.java:439)
    at org.apache.jmeter.gui.util.MenuFactory.<clinit>(MenuFactory.java:154)
    at org.apache.jmeter.control.gui.WorkBenchGui.createPopupMenu(WorkBenchGui.java:86)
    at org.apache.jmeter.gui.tree.JMeterTreeNode.createPopupMenu(JMeterTreeNode.java:114)
    at org.apache.jmeter.gui.action.EditCommand.doAction(EditCommand.java:44)
    at org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:82)
    at org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:42)
    at org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:61)
    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 Adrian S 2010-11-03 12:20:54 UTC
The problem reproduces on Debian with jre 1.6.0_16
Comment 2 Sebb 2010-11-03 14:24:16 UTC
Thanks for the report.

Turned out easy to fix (I hope):

URL: http://svn.apache.org/viewvc?rev=1030592&view=rev
Log:
Bug 50203 Cannot set property "jmeter.save.saveservice.default_delimiter=\t"

Modified:
   jakarta/jmeter/trunk/src/core/org/apache/jmeter/samplers/SampleSaveConfiguration.java
   jakarta/jmeter/trunk/xdocs/changes.xml

Will be in nightlies from r1030592