IrishNewbie
Programmer
Im getting the following error when i try to write a String to a binary file:
Exception in thread "main" java.lang.NullPointerException
at java.io.DataOutputStream.writeChars(Unknown Source)
at UpdateStock.OutArray(UpdateStock.java:105)
at UpdateStock.main(UpdateStock.java:87)
The string im trying to output is a variable in a "book" object.Any Idea on the Problem?????
Exception in thread "main" java.lang.NullPointerException
at java.io.DataOutputStream.writeChars(Unknown Source)
at UpdateStock.OutArray(UpdateStock.java:105)
at UpdateStock.main(UpdateStock.java:87)
The string im trying to output is a variable in a "book" object.Any Idea on the Problem?????