Problem with the I/O

Bug #217105 reported by Sayers
2
Affects Status Importance Assigned to Milestone
Socrates
Confirmed
Undecided
Unassigned

Bug Description

When I try and compile I get this :
Exception in thread "main" java.lang.NullPointerException
 at java.util.Hashtable.put(Hashtable.java:394)
 at java.util.Properties.setProperty(Properties.java:143)
 at xmlHandeler.XML_Add_Book.<init>(XML_Add_Book.java:18)
 at xmlHandeler.XML_Add_Book.main(XML_Add_Book.java:33)

I'm not quite sure what it is.

Revision history for this message
Sayers (sjsayers93) wrote :

I've found out more specifically this is an error with the pre-defined or "made on spot" values [strings] , if I declare the string when the .setProperty is working, the code makes an xml file.

Sayers (sjsayers93)
Changed in socrates:
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Sayers (sjsayers93) wrote :

I was able to fix this in version 7 by ignoring this problem and changing the code, I'm going to leave the code open but set it's importance lower due to that I've "fixed" it.

Changed in socrates:
importance: High → Undecided
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.