Results 1 to 9 of 9
- 06-17-2010, 09:54 PM #1
Member
- Join Date
- Jun 2010
- Location
- Sweden
- Posts
- 3
- Rep Power
- 0
Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError:
Hi,
Please, help me. I do not understand what i am doing wrong here,
Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError: Transaktion.setBelopp(I)V
at KontoSystem.behandlaTrans(KontoSystem.java:66)
at KontoSystem.actionPerformed(KontoSystem.java:38)
at javax.swing.JComboBox.fireActionEvent(Unknown Source)
at javax.swing.JComboBox.setSelectedItem(Unknown Source)
at javax.swing.JComboBox.setSelectedIndex(Unknown Source)
at javax.swing.plaf.basic.BasicComboPopup$Handler.mou seReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at javax.swing.plaf.basic.BasicComboPopup$1.processMo useEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent( Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(U nknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unkno wn Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilter s(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(U nknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarch y(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
one little program banksystem or something like that, i Eclipse.
Thank you in advance!
- 06-17-2010, 09:59 PM #2
Senior Member
- Join Date
- Feb 2009
- Posts
- 303
- Rep Power
- 5
Where is the class Transaktion? Either it can't find the class or the class doesn't contain the method setBelopp(I)V.Java Code:Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError: Transaktion.setBelopp(I)V
- 06-17-2010, 10:34 PM #3
Do you have mis-matched versions of that class? You compiled with the version that has that method and then tried to execute with another version that did not.
- 06-18-2010, 04:39 AM #4
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
- 06-25-2010, 01:00 AM #5
Member
- Join Date
- Jun 2010
- Location
- Sweden
- Posts
- 3
- Rep Power
- 0
Hi again
thank you for your answers!
I´ll try to solv this problem..in some way. :)
Regards
- 06-25-2010, 02:55 AM #6
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
What you mean? If you still not find the solution, let us know with what you've try out. We can help you.
- 07-03-2010, 11:11 PM #7
Member
- Join Date
- Jun 2010
- Location
- Sweden
- Posts
- 3
- Rep Power
- 0
Hello,
I am sorry, It takes time with my answers. I am not at home right now, I am traveling..:)
no, I did not find out some solution yet, but I will recur later, (if it is OK), because I have to check this class with name Transaktion. It is exist any way..hmm
thank you for your attention, I am very appreciate that.
Regards,
MK :)
- 07-04-2010, 02:28 AM #8
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
- 07-04-2010, 07:40 AM #9
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,405
- Blog Entries
- 7
- Rep Power
- 17
That is not true: if the JVM couldn't find the class itself it would have said so; it just can't find the method void setBelopp(int) in that class. It's probably a class version mixup; a recompilation of all the classes will solve the problem or shows a bug: a missing method.
kind regards,
Jos
Similar Threads
-
ERROR: Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
By PFworth in forum New To JavaReplies: 3Last Post: 04-30-2010, 07:44 PM -
[newbie] Exception in thread "AWT-EventQueue-0" java.lang.Error
By jon80 in forum New To JavaReplies: 4Last Post: 06-07-2009, 12:59 AM -
[newbie] Exception in thread "AWT-EventQueue-0" java.lang.NumberFormatException:
By jon80 in forum New To JavaReplies: 3Last Post: 06-07-2009, 12:14 AM -
[newbie] Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException
By jon80 in forum New To JavaReplies: 12Last Post: 05-26-2009, 01:48 PM -
[SOLVED] pls help :S . "Exception in thread "AWT-EventQueue-0" java.lang.NullPointerE
By ara in forum New To JavaReplies: 10Last Post: 01-29-2009, 08:00 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks