NetBeans Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: DSA

user2374593

When I was writing program, everything was ok. But suddenly, I have got an error:

Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: DSA
at DSAFrame.<init>(DSAFrame.java:33)
at DSAFrame$11.run(DSAFrame.java:618)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:694)
at java.awt.EventQueue$3.run(EventQueue.java:692)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
Caused by: java.lang.ClassNotFoundException: DSA
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
... 16 more

In 33 line of my program looks like:

public class DSAFrame extends javax.swing.JFrame {

private DSA dsa = new DSA();

and line 618:

java.awt.EventQueue.invokeLater(new Runnable() {
        public void run() {
            new DSAFrame().setVisible(true);
        }
    });

I don't know what happened. I nothing changed. Only add code to buttons action, but delete after got this error.

Jean-François Savard

Chek your DSA class, you probably made a typo when defining ´public class DSA ´

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException [NetBeans]

From Dev

Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException

From Dev

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException in basic Java GUI interest calculator

From Dev

java parseint - Exception in thread "AWT-EventQueue-0" java.lang.NumberFormatException: For input string: ""

From Dev

What is this: Exception in thread "AWT-EventQueue-0" java.lang.ExceptionInInitializerError?

From Dev

Matlab reports "Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException"

From Dev

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException if-statement

From Dev

Exception in thread "AWT-EventQueue-0" java.lang.IllegalStateException: javax.swing.JButton

From Dev

Exception in thread "AWT-EventQueue-0" java.lang.NumberFormatException: For input string: "11101110110100011110111011010001"

From Dev

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException Login form error

From Dev

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException For Loops

From Dev

Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: Comparison method violates its general contract

From Dev

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException (Panel displays before fully loaded?)

From Dev

Exception in thread "AWT-EventQueue-0" java.lang.StringIndexOutOfBoundsException: String index out of range: 8

From Dev

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

From Dev

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException and JTable problems

From Dev

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException in GUI?

From Dev

Exception in thread "AWT-EventQueue-0" java.lang.NumberFormatException: For input string: "FALSE"

From Dev

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException and how to fix it?

From Dev

Exception in "AWT-EventQueue-0" java.lang.NullPointerException

From Dev

Exception in "AWT-EventQueue-0" java.lang.NullPointerException

From Dev

Java error in my code Exception in thread "AWT-EventQueue-0"

From Dev

Exception in thread "AWT-EventQueue-0" java.lang.IllegalMonitorStateException at java.lang.Object.notify(Native Method)

From Dev

Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError: org.apache.xmlbeans.XmlOptions.put(Ljava/lang/Object;)V

From Dev

Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to university.pojo.Schedule

From Dev

Java AWT in scala: (AWT-EventQueue-0) java.lang.NoClassDefFoundError

From Dev

Jframe Error: Exception: "AWT-EventQueue-0" java.lang.NullPointerException

From Dev

Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: javax.swing.JTable$1 cannot be cast to javax.swing.table.DefaultTableModel

From Dev

Exception in thread "AWT-EventQueue-0" NullPointerException error in Swing

Related Related

  1. 1

    Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException [NetBeans]

  2. 2

    Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException

  3. 3

    Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException in basic Java GUI interest calculator

  4. 4

    java parseint - Exception in thread "AWT-EventQueue-0" java.lang.NumberFormatException: For input string: ""

  5. 5

    What is this: Exception in thread "AWT-EventQueue-0" java.lang.ExceptionInInitializerError?

  6. 6

    Matlab reports "Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException"

  7. 7

    Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException if-statement

  8. 8

    Exception in thread "AWT-EventQueue-0" java.lang.IllegalStateException: javax.swing.JButton

  9. 9

    Exception in thread "AWT-EventQueue-0" java.lang.NumberFormatException: For input string: "11101110110100011110111011010001"

  10. 10

    Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException Login form error

  11. 11

    Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException For Loops

  12. 12

    Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: Comparison method violates its general contract

  13. 13

    Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException (Panel displays before fully loaded?)

  14. 14

    Exception in thread "AWT-EventQueue-0" java.lang.StringIndexOutOfBoundsException: String index out of range: 8

  15. 15

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

  16. 16

    Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException and JTable problems

  17. 17

    Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException in GUI?

  18. 18

    Exception in thread "AWT-EventQueue-0" java.lang.NumberFormatException: For input string: "FALSE"

  19. 19

    Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException and how to fix it?

  20. 20

    Exception in "AWT-EventQueue-0" java.lang.NullPointerException

  21. 21

    Exception in "AWT-EventQueue-0" java.lang.NullPointerException

  22. 22

    Java error in my code Exception in thread "AWT-EventQueue-0"

  23. 23

    Exception in thread "AWT-EventQueue-0" java.lang.IllegalMonitorStateException at java.lang.Object.notify(Native Method)

  24. 24

    Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError: org.apache.xmlbeans.XmlOptions.put(Ljava/lang/Object;)V

  25. 25

    Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to university.pojo.Schedule

  26. 26

    Java AWT in scala: (AWT-EventQueue-0) java.lang.NoClassDefFoundError

  27. 27

    Jframe Error: Exception: "AWT-EventQueue-0" java.lang.NullPointerException

  28. 28

    Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: javax.swing.JTable$1 cannot be cast to javax.swing.table.DefaultTableModel

  29. 29

    Exception in thread "AWT-EventQueue-0" NullPointerException error in Swing

HotTag

Archive