i'm always getting this exception while i'm running my code.
if((UDID)!=null && action.equalsIgnoreCase("insert")){ // null pointer exception
int id = Integer.parseInt(UDID);
UserBean user = new UserBean();
user.setUserdetailid(id);
user.setUserid(id);