Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

unresolved error  RSS feed

 
Anand Shrivastava
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear friends,

I am trying to read a order.xml file and in that file replace the ##name## with my string.
Kindly see the following code


But when I execute the code, i get the error null
Even when I try to make e.getMessage() to be e.printStackTrace(); i get the error that cannot use void type.

Kindly help.
 
Rob Spoor
Sheriff
Posts: 20893
81
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your writer has never been initialized.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!