ERROR: Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
I've been making a NetBeans Java version of Blackjack, and yesterday I came upon an error that has left my program error-ing out as soon as it launches. I'm new to Java, but I am very experienced with VB. The error reads,
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at java.awt.event.InvocationEvent.dispatch(Invocation Event.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java: 597)
at java.awt.EventDispatchThread.pumpOneEventForFilter s(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(E ventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarch y(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThre ad.java:122)
BUILD SUCCESSFUL (total time: 2 seconds)
I really have no clue where to begin in getting my program to run. I'd really like to keep my program, rather than write it all over again! :cursing:
My screen is thrown off entirely as well, but that's less of a concern.
Thank you in advance!