Jmeter刚启动就报错,java.lang.StackOverflowError: null
  • 刚启动就报错,反射错误??
2019-10-15 19:25:30,381 INFO o.j.r.JARSourceHTTP: Found cached repo
2019-10-15 19:25:30,490 INFO o.j.r.PluginManager: Plugins Status: [jpgc-graphs-basic=2.0, jpgc-graphs-additional=Extras, jpgc-autostop=Extras, jpgc-sense=Standard, jpgc-cmd=Standard, jpgc-graphs-composite=Standard, jpgc-csl=Standard, jpgc-functions=2.1, jpgc-casutg=2.7, jpgc-dbmon=Extras, jpgc-graphs-dist=Extras, jpgc-dummy=Standard, jpgc-filterresults=Standard, jpgc-ffw=Standard, jpgc-ggl=Extras, jpgc-httpraw=Extras, jpgc-sts=Extras, jpgc-fifo=Standard, jpgc-jmxmon=Extras, jpgc-graphs-vs=Extras, jpgc-lockfile=Extras, jpgc-mergeresults=Standard, jpgc-pde=Extras, jpgc-prmctl=Extras, jpgc-perfmon=Standard, jpgc-plugins-manager=1.3, jpgc-synthesis=Standard, jpgc-plancheck=Standard, jpgc-tst=Standard, jpgc-udp=Extras, jpgc-csvars=Extras, jpgc-wsc=Standard, jpgc-xml=Extras, jmeter-core=5.1, jmeter-ftp=5.1, jmeter-http=5.1, jmeter-jdbc=5.1, jmeter-jms=5.1, jmeter-junit=5.1, jmeter-java=5.1, jmeter-ldap=5.1, jmeter-mail=5.1, jmeter-mongodb=5.1, jmeter-native=5.1, jmeter-tcp=5.1, jmeter-components=5.1, jpgc-standard=2.0]
2019-10-15 19:25:30,490 INFO o.j.r.PluginManagerMenuItem: Plugins Manager has upgrades: [jpgc-casutg]
2019-10-15 19:25:30,928 WARN o.a.j.g.u.MenuFactory: Could not instantiate class: kg.apc.jmeter.reporters.LoadosophiaUploaderGui
java.lang.reflect.InvocationTargetException: null
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_131]
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_131]
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_131]
    at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_131]
    at org.apache.jmeter.gui.util.MenuFactory.getGUIComponent(MenuFactory.java:174) ~[ApacheJMeter_core.jar:5.1 r1853635]
    at org.apache.jmeter.gui.util.MenuFactory.initializeMenus(MenuFactory.java:141) ~[ApacheJMeter_core.jar:5.1 r1853635]
    at org.apache.jmeter.gui.util.MenuFactory.<clinit>(MenuFactory.java:106) ~[ApacheJMeter_core.jar:5.1 r1853635]
    at org.apache.jmeter.control.gui.TestPlanGui.createPopupMenu(TestPlanGui.java:92) ~[ApacheJMeter_core.jar:5.1 r1853635]
    at org.apache.jmeter.gui.tree.JMeterTreeNode.createPopupMenu(JMeterTreeNode.java:185) ~[ApacheJMeter_core.jar:5.1 r1853635]
    at org.apache.jmeter.gui.action.EditCommand.doAction(EditCommand.java:46) ~[ApacheJMeter_core.jar:5.1 r1853635]
    at org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:88) ~[ApacheJMeter_core.jar:5.1 r1853635]
    at org.apache.jmeter.gui.action.ActionRouter.lambda$actionPerformed$0(ActionRouter.java:70) ~[ApacheJMeter_core.jar:5.1 r1853635]
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) [?:1.8.0_131]
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) [?:1.8.0_131]
    at java.awt.EventQueue.access$500(EventQueue.java:97) [?:1.8.0_131]
    at java.awt.EventQueue$3.run(EventQueue.java:709) [?:1.8.0_131]
    at java.awt.EventQueue$3.run(EventQueue.java:703) [?:1.8.0_131]
    at java.security.AccessController.doPrivileged(Native Method) [?:1.8.0_131]
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) [?:1.8.0_131]
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) [?:1.8.0_131]
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) [?:1.8.0_131]
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) [?:1.8.0_131]
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) [?:1.8.0_131]
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) [?:1.8.0_131]
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) [?:1.8.0_131]
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) [?:1.8.0_131]
Caused by: java.lang.NoClassDefFoundError: org/apache/commons/httpclient/methods/multipart/PartSource
    at kg.apc.jmeter.reporters.LoadosophiaUploaderGui.init(LoadosophiaUploaderGui.java:114) ~[JMeterPlugins-Standard.jar:?]
    at kg.apc.jmeter.reporters.LoadosophiaUploaderGui.<init>(LoadosophiaUploaderGui.java:28) ~[JMeterPlugins-Standard.jar:?]
    ... 26 more
Caused by: java.lang.ClassNotFoundException: org.apache.commons.httpclient.methods.multipart.PartSource
    at java.net.URLClassLoader.findClass(URLClassLoader.java:381) ~[?:1.8.0_131]
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_131]
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_131]
    at kg.apc.jmeter.reporters.LoadosophiaUploaderGui.init(LoadosophiaUploaderGui.java:114) ~[JMeterPlugins-Standard.jar:?]
    at kg.apc.jmeter.reporters.LoadosophiaUploaderGui.<init>(LoadosophiaUploaderGui.java:28) ~[JMeterPlugins-Standard.jar:?]
    ... 26 more

```’
* 接着启动线程,又报错StackOverflowError,

2019-10-15 19:25:44,875 INFO o.a.j.t.JMeterThread: Thread started: 线程组 2-1
2019-10-15 19:25:44,876 INFO o.a.j.t.JMeterThread: Thread is done: 线程组 2-1
2019-10-15 19:25:44,876 INFO o.a.j.t.JMeterThread: Thread finished: 线程组 2-1
2019-10-15 19:25:45,703 INFO o.a.j.t.JMeterThread: Thread started: jp@gc - Stepping Thread Group (deprecated) 1-2
2019-10-15 19:25:46,703 INFO o.a.j.t.JMeterThread: Thread started: jp@gc - Stepping Thread Group (deprecated) 1-3
2019-10-15 19:25:47,696 INFO o.a.j.t.JMeterThread: Thread started: jp@gc - Stepping Thread Group (deprecated) 1-4
2019-10-15 19:25:48,195 INFO o.a.j.t.JMeterThread: Thread finished: jp@gc - Stepping Thread Group (deprecated) 1-1
2019-10-15 19:25:48,196 ERROR o.a.j.JMeter: Uncaught exception:
java.lang.StackOverflowError: null
at org.apache.jmeter.testelement.AbstractTestElement.recoverRunningVersion(AbstractTestElement.java:514) ~[ApacheJMeter_core.jar:5.1 r1853635]
at org.apache.jmeter.testelement.property.TestElementProperty.recoverRunningVersion(TestElementProperty.java:125) ~[ApacheJMeter_core.jar:5.1 r1853635]
at org.apache.jmeter.testelement.property.MultiProperty.recoverRunningVersionOfSubElements(MultiProperty.java:75) ~[ApacheJMeter_core.jar:5.1 r1853635]
at org.apache.jmeter.testelement.property.CollectionProperty.recoverRunningVersion(CollectionProperty.java:205) ~[ApacheJMeter_core.jar:5.1 r1853635]
at org.apache.jmeter.testelement.AbstractTestElement.recoverRunningVersion(AbstractTestElement.java:514) ~[ApacheJMeter_core.jar:5.1 r1853635]
at org.apache.jmeter.testelement.property.TestElementProperty.recoverRunningVersion(TestElementProperty.java:125) ~[ApacheJMeter_core.jar:5.1 r1853635]
at org.apache.jmeter.testelement.AbstractTestElement.recoverRunningVersion(AbstractTestElement.java:514) ~[ApacheJMeter_core.jar:5.1 r1853635]
at org.apache.jmeter.threads.JMeterThread.notifyTestListeners(JMeterThread.java:973) ~[ApacheJMeter_core.jar:5.1 r1853635]
at org.apache.jmeter.threads.JMeterThread$IterationListener.iterationStart(JMeterThread.java:1054) ~[ApacheJMeter_core.jar:5.1 r1853635]
at org.apache.jmeter.control.GenericController.fireIterationStart(GenericController.java:399) ~[ApacheJMeter_core.jar:5.1 r1853635]
at org.apache.jmeter.control.GenericController.fireIterEvents(GenericController.java:391) ~[ApacheJMeter_core.jar:5.1 r1853635]
at org.apache.jmeter.control.GenericController.next(GenericController.java:160) ~[ApacheJMeter_core.jar:5.1 r1853635]
at org.apache.jmeter.control.LoopController.next(LoopController.java:135) ~[ApacheJMeter_core.jar:5.1 r1853635]
at org.apache.jmeter.control.LoopController.nextIsNull(LoopController.java:167) ~[ApacheJMeter_core.jar:5.1 r1853635]
at org.apache.jmeter.control.GenericController.next(GenericController.java:170) ~[ApacheJMeter_core.jar:5.1 r1853635]
at org.apache.jmeter.control.LoopController.next(LoopController.java:135) ~[ApacheJMeter_core.jar:5.1 r1853635]
at org.apache.jmeter.control.GenericController.nextIsAController(GenericController.java:225) ~[ApacheJMeter_core.jar:5.1 r1853635]
at org.apache.jmeter.control.GenericController.next(GenericController.java:175) ~[ApacheJMeter_core.jar:5.1 r1853635]
at org.apache.jmeter.control.LoopController.next(LoopController.java:135) ~[ApacheJMeter_core.jar:5.1 r1853635]
at org.apache.jmeter.control.LoopController.nextIsNull(LoopController.java:167) ~[ApacheJMeter_core.jar:5.1 r1853635]
at org.apache.jmeter.control.GenericController.next(GenericController.java:170) ~[ApacheJMeter_core.jar:5.1 r1853635]
at org.apache.jmeter.control.LoopController.next(LoopController.java:135) ~[ApacheJMeter_core.jar:5.1 r1853635]
at org.apache.jmeter.control.GenericController.nextIsAController(GenericController.java:225) ~[ApacheJMeter_core.jar:5.1 r1853635]
at org.apache.jmeter.control.GenericController.next(GenericController.java:175) ~[ApacheJMeter_core.jar:5.1 r1853635]
at org.apache.jmeter.control.LoopController.next(LoopController.java:135) ~[ApacheJMeter_core.jar:5.1 r1853635]
at org.apache.jmeter.control.LoopController.nextIsNull(LoopController.java:167) ~[ApacheJMeter_core.jar:5.1 r1853635]
at org.apache.jmeter.control.GenericController.next(GenericController.java:170) ~[ApacheJMeter_core.jar:5.1 r1853635]
at org.apache.jmeter.control.LoopController.next(LoopController.java:135) ~[ApacheJMeter_core.jar:5.1 r1853635]
at org.apache.jmeter.control.GenericController.nextIsAController(GenericController.java:225) ~[ApacheJMeter_core.jar:5.1 r1853635]
at org.apache.jmeter.control.GenericController.next(GenericController.java:175) ~[ApacheJMeter_core.jar:5.1 r1853635]

前辈们帮忙看看

1个回答

栈内存溢出了吧,是不是代码里有死循环,递归啊

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问