This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes IllegalArgumentExcepton node to traverse can not be null Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "IllegalArgumentExcepton node to traverse can not be null" Watch "IllegalArgumentExcepton node to traverse can not be null" New topic
Author

IllegalArgumentExcepton node to traverse can not be null

Suraj Ratnaparkhi
Greenhorn

Joined: Apr 18, 2012
Posts: 1

i am getting IllegalArgumentExcepton node to traverse can not be null on following code

public void updateCustomer(int id,String customerName)
{
try
{
int row=getHibernateTemplate().bulkUpdate("update Customer set customerName =" +customerName +"where id =" +id);
if (row == 0)
{
System.out.println("Doesn't updated any row!");
}
else{
System.out.println("Updated Row: " + row);
}

}
catch (DataAccessException e) {
System.out.println("Error While updating values!!");
e.printStackTrace();
}
}
John Jai
Rancher

Joined: May 31, 2011
Posts: 1776
Hi Suraj,

Welcome to the Ranch

What's your question? Please take time to read HowToAskQuestionsOnJavaRanch.
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: IllegalArgumentExcepton node to traverse can not be null
 
It's not a secret anymore!