Commit 580aa82d authored by ssalve's avatar ssalve

Sarita : Done changes to resolve NullPointerException on 13 MAY 2019

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@200780 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 96c2de06
......@@ -51,7 +51,10 @@ public class SRLContainerPos extends ValidatorEJB implements SRLContainerPosLoca
boolean isError = false;
PreparedStatement pstmt = null;
ResultSet rs = null;
String errorString = null;
//Commented and Added by sarita on 13 MAY 2019 [START]
//String errorString = null;
String errorString = "";
//Commented and Added by sarita on 13 MAY 2019 [END]
String sql = "" ,invType = "",headerItemCode = "",dtllotSl = "" ;
int countDet = 1 , countHdr = 0;
ITMDBAccessEJB itmDBAccessEJB = new ITMDBAccessEJB();
......@@ -179,6 +182,7 @@ public class SRLContainerPos extends ValidatorEJB implements SRLContainerPosLoca
e.printStackTrace();
}
}
System.out.println("errorString :: ["+errorString+"]");
return errorString;
}
private static String checkNullAndTrim(String input)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment