To recebendo o seguinte erro qdo tento fazer uma busca em uma variável do tipo integer:
[ServletException in:/views/software/cadSoftware_show.jsp] null'
Meu action, está assim:
public ActionForward pesquisar(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws WebActionException {
try {
SoftwareBusinessDelegate softwareBusinessDelegate = (SoftwareBusinessDelegate) getBusinessDelegate();
Serializable showSoft = (Serializable) softwareBusinessDelegate.findSoftwareById(((PersistentObjectGenerate)form).getPersistentObj());
request.setAttribute(BasicAction.TABLE_DATA_ATTRIBUTE, showSoft);
} catch (GpbrPersistException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
return mapping.findForward("showCadSoftware");
}