jmeter.gui.util.MenuFactory: Could not instantiate org.apache.jmeter.protocol.java.control.gui.JUnitTestSamplerGui java.lang.IncompatibleClassChangeError: Implementing class

Stack Overflow | tramstheman | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Jmeter not working correctly with Junit (Could not initialize class org.apache.jmeter.gui.util.MenuFactory)

    Stack Overflow | 7 months ago | tramstheman
    jmeter.gui.util.MenuFactory: Could not instantiate org.apache.jmeter.protocol.java.control.gui.JUnitTestSamplerGui java.lang.IncompatibleClassChangeError: Implementing class
  2. 0

    The GUI run by jmeterEditor can't display components from JMeter Plugins

    GitHub | 3 years ago | yangzhaoxia
    jmeter.gui.util.MenuFactory: Could not instantiate kg.apc.jmeter.config.DistributedTestControlGui java.lang.ClassNotFoundException: kg.apc.jmeter.config.DistributedTestControlGui

    Root Cause Analysis

    1. jmeter.gui.util.MenuFactory

      Could not instantiate org.apache.jmeter.protocol.java.control.gui.JUnitTestSamplerGui java.lang.IncompatibleClassChangeError: Implementing class

      at java.lang.ClassLoader.defineClass1()
    2. Java RT
      Class.forName
      1. java.lang.ClassLoader.defineClass1(Native Method)
      2. java.lang.ClassLoader.defineClass(ClassLoader.java:760)
      3. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
      4. java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
      5. java.net.URLClassLoader.access$100(URLClassLoader.java:73)
      6. java.net.URLClassLoader$1.run(URLClassLoader.java:368)
      7. java.net.URLClassLoader$1.run(URLClassLoader.java:362)
      8. java.security.AccessController.doPrivileged(Native Method)
      9. java.net.URLClassLoader.findClass(URLClassLoader.java:361)
      10. java.lang.ClassLoader.loadClass(ClassLoader.java:424)
      11. java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      12. java.lang.Class.forName0(Native Method)
      13. java.lang.Class.forName(Class.java:348)
      13 frames
    3. Apache JMeter jorphan library
      ClassFinder.findClassesThatExtend
      1. org.apache.jorphan.reflect.ClassFinder.isChildOf(ClassFinder.java:377)
      2. org.apache.jorphan.reflect.ClassFinder.access$000(ClassFinder.java:47)
      3. org.apache.jorphan.reflect.ClassFinder$ExtendsClassFilter.accept(ClassFinder.java:92)
      4. org.apache.jorphan.reflect.ClassFinder.findClassesInOnePath(ClassFinder.java:441)
      5. org.apache.jorphan.reflect.ClassFinder.findClasses(ClassFinder.java:289)
      6. org.apache.jorphan.reflect.ClassFinder.findClassesThatExtend(ClassFinder.java:264)
      7. org.apache.jorphan.reflect.ClassFinder.findClassesThatExtend(ClassFinder.java:196)
      8. org.apache.jorphan.reflect.ClassFinder.findClassesThatExtend(ClassFinder.java:178)
      9. org.apache.jorphan.reflect.ClassFinder.findClassesThatExtend(ClassFinder.java:140)
      9 frames
    4. Apache JMeter Java
      JUnitTestSamplerGui.<init>
      1. org.apache.jmeter.protocol.java.control.gui.JUnitTestSamplerGui.setupClasslist(JUnitTestSamplerGui.java:181)
      2. org.apache.jmeter.protocol.java.control.gui.JUnitTestSamplerGui.createClassPanel(JUnitTestSamplerGui.java:212)
      3. org.apache.jmeter.protocol.java.control.gui.JUnitTestSamplerGui.init(JUnitTestSamplerGui.java:167)
      4. org.apache.jmeter.protocol.java.control.gui.JUnitTestSamplerGui.<init>(JUnitTestSamplerGui.java:147)
      4 frames
    5. Java RT
      Class.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:423)
      5. java.lang.Class.newInstance(Class.java:442)
      5 frames
    6. Apache JMeter Core
      ActionRouter$1.run
      1. org.apache.jmeter.gui.util.MenuFactory.initializeMenus(MenuFactory.java:492)
      2. org.apache.jmeter.gui.util.MenuFactory.<clinit>(MenuFactory.java:160)
      3. org.apache.jmeter.control.gui.TestPlanGui.createPopupMenu(TestPlanGui.java:93)
      4. org.apache.jmeter.gui.tree.JMeterTreeNode.createPopupMenu(JMeterTreeNode.java:156)
      5. org.apache.jmeter.gui.action.EditCommand.doAction(EditCommand.java:47)
      6. org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:80)
      7. org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:40)
      8. org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:62)
      8 frames
    7. Java RT
      EventDispatchThread.run
      1. java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
      2. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
      3. java.awt.EventQueue.access$500(EventQueue.java:97)
      4. java.awt.EventQueue$3.run(EventQueue.java:709)
      5. java.awt.EventQueue$3.run(EventQueue.java:703)
      6. java.security.AccessController.doPrivileged(Native Method)
      7. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
      8. java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
      9. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
      10. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
      11. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
      12. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
      13. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
      14. java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
      14 frames