type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Error en selectList sobre selectCategoriasRaiz: com.ibatis.common.jdbc.exception.NestedSQLException: --- The error occurred in es/mundoimagen/tienda/model/dao/ibatis/Categoria.xml. --- The error occurred while preparing the mapped statement for execution. --- Check the selectCategoriasRaiz. --- Check the parameter map. --- Cause: java.lang.RuntimeException: Error getting property 'getId' of 'null'. Cause: java.lang.NullPointerException org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:535) org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:433) org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) javax.servlet.http.HttpServlet.service(HttpServlet.java:689) javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
es.jjlib.common.exceptions.DaoException: Error en selectList sobre selectCategoriasRaiz: com.ibatis.common.jdbc.exception.NestedSQLException: --- The error occurred in es/mundoimagen/tienda/model/dao/ibatis/Categoria.xml. --- The error occurred while preparing the mapped statement for execution. --- Check the selectCategoriasRaiz. --- Check the parameter map. --- Cause: java.lang.RuntimeException: Error getting property 'getId' of 'null'. Cause: java.lang.NullPointerException es.jjlib.common.dao.IbatisConexion.selectList(IbatisConexion.java:111) es.jjlib.common.dao.BaseDao.selectList(BaseDao.java:30) es.mundoimagen.tienda.model.dao.ibatis.IbatisCategoriaDao.selectCategoriasRaiz(IbatisCategoriaDao.java:46) es.mundoimagen.tienda.model.logic.CategoriasLogicImpl.getCategoriasTodas(CategoriasLogicImpl.java:18) es.mundoimagen.tienda.struts.BaseAction.cambiarIdioma(BaseAction.java:40) es.mundoimagen.tienda.struts.BaseAction.init(BaseAction.java:47) es.mundoimagen.tienda.struts.BaseAction.execute(BaseAction.java:64) org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) javax.servlet.http.HttpServlet.service(HttpServlet.java:689) javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
note The full stack trace of the root cause is available in the Apache Tomcat/5.0 logs.