Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

geonish

macrumors newbie
Original poster
May 6, 2008
1
0
My programs are building fine, and they look fine as well. They just will NOT run. I get the message:

Debugging of "programName" ended normally.

This is a screenshot.

Please help me to get my XCode to actually RUN my programs. PLEASE.
 
Your program can't run because you appear to be missing a definition for the main function in your StudentList class. Without this function, Java has no entry point and can't actually run anything so it's throwing a NullPointerException and exiting. I can't help much more without knowing more about the project.

The definition should be in the form (inside the StudentList class):

Code:
static void main( String[] args ) {
   /* Main Code Here */
}
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.