我点击添加 - >任何选项作为配置元素,然后向上/向下滚动鼠标
每个滚动都有未捕获的异常:
2018-03-26 13:47:18,742 ERROR o.a.j.JMeter: Uncaught exception:
java.lang.ArrayIndexOutOfBoundsException: -25
at org.apache.jorphan.gui.MenuScroller.refreshMenu(MenuScroller.java:550) ~[jorphan.jar:4.0 r1823414]
at org.apache.jorphan.gui.MenuScroller.access$300(MenuScroller.java:55) ~[jorphan.jar:4.0 r1823414]
at org.apache.jorphan.gui.MenuScroller$MouseScrollListener.mouseWheelMoved(MenuScroller.java:576) ~[jorphan.jar:4.0 r1823414]
at java.awt.Component.processMouseWheelEvent(Unknown Source) ~[?:1.8.0_25]
at java.awt.Component.processEvent(Unknown Source) ~[?:1.8.0_25]
at java.awt.Container.processEvent(Unknown Source) ~[?:1.8.0_25]
at java.awt.Component.dispatchEventImpl(Unknown Source) ~[?:1.8.0_25]
at java.awt.Container.dispatchEventImpl(Unknown Source) ~[?:1.8.0_25]
at java.awt.Component.dispatchEvent(Unknown Source) ~[?:1.8.0_25]
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) ~[?:1.8.0_25]
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) ~[?:1.8.0_25]
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) ~[?:1.8.0_25]
at java.awt.Container.dispatchEventImpl(Unknown Source) ~[?:1.8.0_25]
at java.awt.Window.dispatchEventImpl(Unknown Source) ~[?:1.8.0_25]
at java.awt.Component.dispatchEvent(Unknown Source) ~[?:1.8.0_25]
at java.awt.EventQueue.dispatchEventImpl(Unknown Source) ~[?:1.8.0_25]
at java.awt.EventQueue.access$400(Unknown Source) ~[?:1.8.0_25]
at java.awt.EventQueue$3.run(Unknown Source) ~[?:1.8.0_25]
at java.awt.EventQueue$3.run(Unknown Source) ~[?:1.8.0_25]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_25]
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) ~[?:1.8.0_25]
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) ~[?:1.8.0_25]
at java.awt.EventQueue$4.run(Unknown Source) ~[?:1.8.0_25]
at java.awt.EventQueue$4.run(Unknown Source) ~[?:1.8.0_25]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_25]
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) ~[?:1.8.0_25]
at java.awt.EventQueue.dispatchEvent(Unknown Source) ~[?:1.8.0_25]
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) [?:1.8.0_25]
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) [?:1.8.0_25]
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) [?:1.8.0_25]
at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [?:1.8.0_25]
at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [?:1.8.0_25]
at java.awt.EventDispatchThread.run(Unknown Source) [?:1.8.0_25]
请注意,它仅在子菜单以及JMeter 3.3和最新4.0版本中发生
滚动示例的选项:
修改
将Root更改为日志级别调试后,vanilla JMeter 4.0出错:
2018-03-26 14:46:22,799 DEBUG o.a.j.g.GuiPackage: Updating gui to new node
2018-03-26 14:46:22,800 DEBUG o.a.j.g.GuiPackage: Showing pop up for org.apache.jmeter.gui.MainFrame$1[,0,0,374x759,invalid,alignmentX=0.0,alignmentY=0.0,border=javax.swing.plaf.synth.SynthBorder@29c29532,flags=16777704,maximumSize=,minimumSize=,preferredSize=,editable=false,invokesStopCellEditing=false,largeModel=false,rootVisible=false,rowHeight=0,scrollsOnExpand=true,showsRootHandles=true,toggleClickCount=2,visibleRowCount=20] at x,y = 77,15
2018-03-26 14:46:24,618 ERROR o.a.j.JMeter: Uncaught exception:
java.lang.ArrayIndexOutOfBoundsException: -38
at org.apache.jorphan.gui.MenuScroller.refreshMenu(MenuScroller.java:550) ~[jorphan.jar:4.0 r1823414]
at org.apache.jorphan.gui.MenuScroller.access$300(MenuScroller.java:55) ~[jorphan.jar:4.0 r1823414]
at org.apache.jorphan.gui.MenuScroller$MouseScrollListener.mouseWheelMoved(MenuScroller.java:576) ~[jorphan.jar:4.0 r1823414]
at java.awt.Component.processMouseWheelEvent(Unknown Source) ~[?:1.8.0_25]
at java.awt.Component.processEvent(Unknown Source) ~[?:1.8.0_25]
at java.awt.Container.processEvent(Unknown Source) ~[?:1.8.0_25]
at java.awt.Component.dispatchEventImpl(Unknown Source) ~[?:1.8.0_25]
at java.awt.Container.dispatchEventToSelf(Unknown Source) ~[?:1.8.0_25]
at java.awt.Component.dispatchMouseWheelToAncestor(Unknown Source) ~[?:1.8.0_25]
at java.awt.Component.dispatchEventImpl(Unknown Source) ~[?:1.8.0_25]
at java.awt.Container.dispatchEventImpl(Unknown Source) ~[?:1.8.0_25]
at java.awt.Component.dispatchEvent(Unknown Source) ~[?:1.8.0_25]
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) ~[?:1.8.0_25]
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) ~[?:1.8.0_25]
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) ~[?:1.8.0_25]
at java.awt.Container.dispatchEventImpl(Unknown Source) ~[?:1.8.0_25]
at java.awt.Window.dispatchEventImpl(Unknown Source) ~[?:1.8.0_25]
at java.awt.Component.dispatchEvent(Unknown Source) ~[?:1.8.0_25]
at java.awt.EventQueue.dispatchEventImpl(Unknown Source) ~[?:1.8.0_25]
at java.awt.EventQueue.access$400(Unknown Source) ~[?:1.8.0_25]
at java.awt.EventQueue$3.run(Unknown Source) ~[?:1.8.0_25]
at java.awt.EventQueue$3.run(Unknown Source) ~[?:1.8.0_25]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_25]
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) ~[?:1.8.0_25]
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) ~[?:1.8.0_25]
at java.awt.EventQueue$4.run(Unknown Source) ~[?:1.8.0_25]
at java.awt.EventQueue$4.run(Unknown Source) ~[?:1.8.0_25]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_25]
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) ~[?:1.8.0_25]
at java.awt.EventQueue.dispatchEvent(Unknown Source) ~[?:1.8.0_25]
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) [?:1.8.0_25]
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) [?:1.8.0_25]
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) [?:1.8.0_25]
at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [?:1.8.0_25]
at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [?:1.8.0_25]
at java.awt.EventDispatchThread.run(Unknown Source) [?:1.8.0_25]
答案 0 :(得分:2)
这是JMeter应用程序中的bug,只有在您打开菜单然后执行向下滚动操作时才会出现。
我建议不要在所有选项都可见的情况下向下滚动,只需选择您需要的选项。
答案 1 :(得分:-2)
<Root level="info">
更改为ie <Root level="debug">
(住在JMeter&#34; bin&#34;文件夹)