我一直在寻找这个问题的答案,但在互联网上找不到任何答案。也许这里有人以前遇到过这个问题。
我有一台CentOS机器
Jmeter 3.1
. 这台机器一切正常。我创建了一个新的虚拟机
jmeter目录到新机器,并设置好所有内容。测试执行
工作正常
,但当我尝试使用任何插件时(
cmdrunner-2.0。jar或JMeterPluginsCMD。上海
)
我得到一个
例外
回来,没有太多信息,出了什么问题:
[root@box bin]# java -jar "/opt/apache-jmeter-3.1/lib/cmdrunner-2.0.jar" -n --tool Reporter --input-jtl "/tmp/data.csv" --plugin-type SynthesisReport --generate-csv "/tmp/report.csv"
WARN 2017-10-22 12:41:57.204 [jmeter.u] (): Exception 'null' occurred when fetching String property:'sampleresult.default.encoding', defaulting to:ISO-8859-1
WARN 2017-10-22 12:41:57.224 [jmeter.u] (): Exception 'null' occurred when fetching String property:'jmeterPlugin.prefixPlugins'
INFO 2017-10-22 12:41:57.224 [kg.apc.j] (): Using JMeterPluginsCMD v. N/A
INFO 2017-10-22 12:41:57.229 [jmeter.u] (): Setting Locale to en_US
INFO 2017-10-22 12:41:57.238 [kg.apc.j] (): Loading user properties from: /opt/apache-jmeter-3.1/bin/user.properties
INFO 2017-10-22 12:41:57.238 [kg.apc.j] (): Loading system properties from: /opt/apache-jmeter-3.1/bin/system.properties
ERROR: java.lang.ArrayIndexOutOfBoundsException: 0
*** Problem's technical details go below ***
Home directory was detected as: /opt/apache-jmeter-3.1/lib
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0
at sun.font.CompositeStrike.getStrikeForSlot(CompositeStrike.java:75)
at sun.font.CompositeStrike.getFontMetrics(CompositeStrike.java:93)
at sun.font.FontDesignMetrics.initMatrixAndMetrics(FontDesignMetrics.java:359)
...
...
错误:java。lang.ArrayIndexOutOfBoundsException:0
工作平台:
3.10.0-514.26.2.el7.x86_64
Java语言
(构建1.8.0_131-b12)
不工作:
内核
3.10.0-693.2.2.el7.x86_64,
Java语言
(构建1.8.0_144-b01)
欢迎提出任何建议