View Single Post
Old Nov 27th, 2005, 9:46 PM   #1
Xenon
Programmer
 
Join Date: Oct 2005
Location: UK
Posts: 31
Rep Power: 0 Xenon is on a distinguished road
Send a message via AIM to Xenon Send a message via MSN to Xenon Send a message via Yahoo to Xenon
Angry Urgent Java Help - Null Pointer Exceptions

First off Ill say this is a Uni Assignment, ive pretty much finished the assignment, only I keep getting Null Pointer Exceptions and its driving me crazy, the reason I say I need urgent help is that the assignment is due in in 10 hours, we were give 2 weeks to do it and I wont let all this work go to waste because of a stupid null pointer.

The assignment is basically to make a media management system for Photos, Sound Bites and Video Clips.

The media classes are all inherited from one class called MediaItem, there is a CatalogueArray (note: CatalogueArray NOT Catalogue) class which has all the add and delete functions, and also main class called MediaGui, there are also some other classes that arent used for anyhting yet.

Basically as youll se fom running the program, when you try to "Save" a media item, after filling in all the correct details, you will get a null pointer error, you will also get one when you load a library in and a few other things, I am having a huge time trying to sort this out and just cant do it, im hoping that a fresh set of eyes will spot it straight away.

I dont hold many high hopes for getting this done in time as it is very short notice, but if anyone can help me id be so unbelievably greatful.

I exported my whole project from eclipse into a file system and have uploaded it to my web space - http://www.dark-designs.co.uk/downlo...mentSystem.zip
Xenon is offline   Reply With Quote