Dear All,
I have a
java statement like this in my DAO layer...
outputDTO.setCost(Commas(Round(Double.parseDouble(rs.getString("MATERIAL_COST")))));
In this I am sure that outputDTO and rs objects are NOT NULL definitely.
That being the case, is there a possibility for me to encounter "Null pointer exception"
Why I am asking this is, the customer is facing a NPException in the prod environment while I am unable to replicate the same in my local environment. The "MATERIAL_COST" field in database table is of type NUMBER(15,3).
When I got the logs from the production, the null pointer exception was pointing this line only.
Please help me out.
Regards,
Sriram.