I am getting NullPointerException
while calling a method:
Xgenexport.java
Map agent_Details = commonLookupDAO.getAgentDetails(dQuoteDetails.getAgentId());
And the method in: Commonlookup dao:
public Map getAgentDetails(String agentId);
Commonlookupdaoimpl
public Map getAgentDetails(String agentId) {
/*some code*/
return resultMap;
}
Im getting NullPointerException
while calling this method don't know the exact reason.