File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes Exception in thread Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError: " Watch "Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError: " New topic

Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError:

L Willie
Ranch Hand

Joined: Aug 10, 2008
Posts: 51

when i press button "Send" .Error message found
Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError: ConnectServer.<init>(LsendInterface V
at sendInterface.actionPerformed(
at javax.swing.AbstractButton.fireActionPerformed(
at javax.swing.AbstractButton$Handler.actionPerformed(
at javax.swing.DefaultButtonModel.fireActionPerformed(
at javax.swing.DefaultButtonModel.setPressed(
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(
at java.awt.Component.processMouseEvent(
at javax.swing.JComponent.processMouseEvent(
at java.awt.Component.processEvent(
at java.awt.Container.processEvent(
at java.awt.Component.dispatchEventImpl(
at java.awt.Container.dispatchEventImpl(
at java.awt.Component.dispatchEvent(
at java.awt.LightweightDispatcher.retargetMouseEvent(
at java.awt.LightweightDispatcher.processMouseEvent(
at java.awt.LightweightDispatcher.dispatchEvent(
at java.awt.Container.dispatchEventImpl(
at java.awt.Window.dispatchEventImpl(
at java.awt.Component.dispatchEvent(
at java.awt.EventQueue.dispatchEvent(
at java.awt.EventDispatchThread.pumpOneEventForFilters(
at java.awt.EventDispatchThread.pumpEventsForFilter(
at java.awt.EventDispatchThread.pumpEventsForHierarchy(
at java.awt.EventDispatchThread.pumpEvents(
at java.awt.EventDispatchThread.pumpEvents(

Following are relate code, and TSAServer that should receive message passing by sendInterface

What the problem cause the error message appear when i press send button?
[ October 06, 2008: Message edited by: L Willie ]
Campbell Ritchie

Joined: Oct 13, 2005
Posts: 46405
Where does the exception occur? Your stack trace (thank you for posting it) doesn't seem to include the line in your code which causes the problem.

What have you recompiled? If you look at the API it appears to be a method which used to be in the class and has been taken out. That might mean recompiling a supplier class after the client class has been compiled. If it says ConnectServer.<init> that might mean there have been changes in the constructor of that class. But the ConnectServer constructor appears all right.

Sorry I can't help any more.
I agree. Here's the link:
subject: Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError:
jQuery in Action, 3rd edition