Commit af3af8b5 authored by cpatil's avatar cpatil

remove null pointer exception


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@92997 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 4c9601c7
...@@ -886,7 +886,8 @@ public class WOrderIssueAct extends ActionHandlerEJB implements WOrderIssueActL ...@@ -886,7 +886,8 @@ public class WOrderIssueAct extends ActionHandlerEJB implements WOrderIssueActL
// (expLev != null) && (quantity != 0) && (tranType != null) ) // (expLev != null) && (quantity != 0) && (tranType != null) )
(expLev != null) && (inputQty != 0) && (tranType != null) ) //CHANGED BY ALKA 19/07/07 AS WEIGHT DATA WERE NOT DISPLAYED IN THE DETAIL (expLev != null) && (inputQty != 0) && (tranType != null) ) //CHANGED BY ALKA 19/07/07 AS WEIGHT DATA WERE NOT DISPLAYED IN THE DETAIL
{ {
gWeight = Double.parseDouble(genericUtility.getColumnValue("gross_weight", dom)); //gWeight = Double.parseDouble(genericUtility.getColumnValue("gross_weight", dom));
gWeight = genericUtility.getColumnValue("gross_weight", dom)==null ? 0:Double.parseDouble(genericUtility.getColumnValue("gross_weight", dom)); // modify by cpatil
retNoArt = setNoArt(siteCode, itemCode, stkLocCode, stkLotNo, stkLotSl, expLev, inputQty,tranType, gWeight, conn); retNoArt = setNoArt(siteCode, itemCode, stkLocCode, stkLotNo, stkLotSl, expLev, inputQty,tranType, gWeight, conn);
noArtDetArrLst = genericUtility.getTokenList(retNoArt, ":"); noArtDetArrLst = genericUtility.getTokenList(retNoArt, ":");
......
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