尝试启动Jmeter 3.1时出现错误
An error occurred: Unknown constant tag 204 in class file javax/swing /RepaintManager
错误级别= 1
我在本地系统中运行了100个用户测试(RAM为16GB)并在执行之后停止了测试,此后面临此问题。请建议。
Jmeter日志:
2017/08/21 14:33:14 FATAL - jmeter.JMeter: An error occurred: java.lang.ClassFormatError: Unknown constant tag 204 in class file javax/swing/RepaintManager
at javax.swing.UIManager.initialize(Unknown Source)
at javax.swing.UIManager.maybeInitialize(Unknown Source)
at javax.swing.UIManager.getInstalledLookAndFeels(Unknown Source)
at org.apache.jmeter.gui.util.JMeterMenuBar.getAllLAFs(JMeterMenuBar.java:678)
at org.apache.jmeter.gui.action.LookAndFeelCommand.<clinit>(LookAndFeelCommand.java:58)
at org.apache.jmeter.JMeter.startGui(JMeter.java:315)
at org.apache.jmeter.JMeter.start(JMeter.java:483)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.jmeter.NewDriver.main(NewDriver.java:259)
答案 0 :(得分:1)
您的JVM很可能已损坏,请参阅:
重新安装JDK 7或8(建议)。
我还建议你升级到最后的JMeter 3.2
答案 1 :(得分:0)
感谢@UBIK LOAD PACK寻求帮助和指导。重启系统后(2次,一次系统通过显示错误代码自动重启:内存管理问题),能够成功启动Jmeter 3.1。