java.lang.NoSuchMethodError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • NoSuchMethodError from rt.jar
    via by 807587,
  • Junit Test
    via by 807556,
    • java.lang.NoSuchMethodError: java.awt.GraphicsEnvironment.dispatchEvent(Ljava/awt/AWTEvent;)V [Loaded java.lang.StackTraceElement from f:\lib\jre\lib\rt.jar] at java.awt.MenuComponent.<clinit>(Unknown Source) at sun.awt.SunToolkit.getPrivateKey(Native Method) at sun.awt.SunToolkit.insertTargetMapping(Unknown Source) at java.awt.Component.<init>(Unknown Source) at java.awt.Container.<init>(Unknown Source) at java.awt.Window.<init>(Unknown Source) at java.awt.Frame.<init>(Unknown Source) at javax.swing.JFrame.<init>(Unknown Source) at TestFrame.<init>(TestFrame.java:8) at TestFrame.main(TestFrame.java:17)[Loaded java.lang.Shutdown from f:\lib\jre\lib\rt.jar]
    No Bugmate found.