Error!

com.ubalhae.struts.BeanActionException

Error dispatching bean action via URL pattern ('sub'). Cause: java.lang.reflect.InvocationTargetException

Stack

com.ubalhae.struts.BeanActionException: Error dispatching bean action via URL pattern ('sub').  Cause: java.lang.reflect.InvocationTargetException
Caused by: java.lang.reflect.InvocationTargetException
	at com.ubalhae.struts.BeanAction.execute(BeanAction.java:150)
	at org.apache.struts.chain.commands.servlet.ExecuteAction.execute(ExecuteAction.java:58)
	at org.apache.struts.chain.commands.AbstractExecuteAction.execute(AbstractExecuteAction.java:67)
	at org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:51)
	at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)
	at org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:304)
	at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)
	at org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:283)
	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
	at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at com.ubalhae.common.filter.EncodingFilter.doFilter(EncodingFilter.java:58)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
	at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
	at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
	at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
	at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
	at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
	at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at com.ubalhae.struts.BeanAction.execute(BeanAction.java:145)
	... 29 more
Caused by: com.ubalhae.struts.BeanActionException: There was a problem homeSub.  Cause: com.ibatis.dao.client.DaoException: Failed to queryForList - id [menu-getList], parameterObject [null].  Cause: com.ibatis.common.jdbc.exception.NestedSQLException:   
--- The error occurred in com/ubalhae/persistence/sqlmapsql/Menu.xml.  
--- The error occurred while preparing the mapped statement for execution.  
--- Check the menu-getList.  
--- Check the parameter map.  
--- Cause: com.ibatis.common.exception.NestedRuntimeException: Error getting properties of 'null'.  Cause: java.lang.NullPointerException
Caused by: java.lang.NullPointerException
Caused by: com.ibatis.common.exception.NestedRuntimeException: Error getting properties of 'null'.  Cause: java.lang.NullPointerException
Caused by: java.lang.NullPointerException
Caused by: com.ibatis.common.jdbc.exception.NestedSQLException:   
--- The error occurred in com/ubalhae/persistence/sqlmapsql/Menu.xml.  
--- The error occurred while preparing the mapped statement for execution.  
--- Check the menu-getList.  
--- Check the parameter map.  
--- Cause: com.ibatis.common.exception.NestedRuntimeException: Error getting properties of 'null'.  Cause: java.lang.NullPointerException
Caused by: java.lang.NullPointerException
Caused by: com.ibatis.common.exception.NestedRuntimeException: Error getting properties of 'null'.  Cause: java.lang.NullPointerException
Caused by: java.lang.NullPointerException
Caused by: com.ibatis.dao.client.DaoException: Failed to queryForList - id [menu-getList], parameterObject [null].  Cause: com.ibatis.common.jdbc.exception.NestedSQLException:   
--- The error occurred in com/ubalhae/persistence/sqlmapsql/Menu.xml.  
--- The error occurred while preparing the mapped statement for execution.  
--- Check the menu-getList.  
--- Check the parameter map.  
--- Cause: com.ibatis.common.exception.NestedRuntimeException: Error getting properties of 'null'.  Cause: java.lang.NullPointerException
Caused by: java.lang.NullPointerException
Caused by: com.ibatis.common.exception.NestedRuntimeException: Error getting properties of 'null'.  Cause: java.lang.NullPointerException
Caused by: java.lang.NullPointerException
Caused by: com.ibatis.common.jdbc.exception.NestedSQLException:   
--- The error occurred in com/ubalhae/persistence/sqlmapsql/Menu.xml.  
--- The error occurred while preparing the mapped statement for execution.  
--- Check the menu-getList.  
--- Check the parameter map.  
--- Cause: com.ibatis.common.exception.NestedRuntimeException: Error getting properties of 'null'.  Cause: java.lang.NullPointerException
Caused by: java.lang.NullPointerException
Caused by: com.ibatis.common.exception.NestedRuntimeException: Error getting properties of 'null'.  Cause: java.lang.NullPointerException
Caused by: java.lang.NullPointerException
	at com.ubalhae.presentation.home.HomeSubBean.sub(HomeSubBean.java:472)
	... 34 more
Caused by: com.ibatis.dao.client.DaoException: Failed to queryForList - id [menu-getList], parameterObject [null].  Cause: com.ibatis.common.jdbc.exception.NestedSQLException:   
--- The error occurred in com/ubalhae/persistence/sqlmapsql/Menu.xml.  
--- The error occurred while preparing the mapped statement for execution.  
--- Check the menu-getList.  
--- Check the parameter map.  
--- Cause: com.ibatis.common.exception.NestedRuntimeException: Error getting properties of 'null'.  Cause: java.lang.NullPointerException
Caused by: java.lang.NullPointerException
Caused by: com.ibatis.common.exception.NestedRuntimeException: Error getting properties of 'null'.  Cause: java.lang.NullPointerException
Caused by: java.lang.NullPointerException
Caused by: com.ibatis.common.jdbc.exception.NestedSQLException:   
--- The error occurred in com/ubalhae/persistence/sqlmapsql/Menu.xml.  
--- The error occurred while preparing the mapped statement for execution.  
--- Check the menu-getList.  
--- Check the parameter map.  
--- Cause: com.ibatis.common.exception.NestedRuntimeException: Error getting properties of 'null'.  Cause: java.lang.NullPointerException
Caused by: java.lang.NullPointerException
Caused by: com.ibatis.common.exception.NestedRuntimeException: Error getting properties of 'null'.  Cause: java.lang.NullPointerException
Caused by: java.lang.NullPointerException
	at com.ibatis.dao.client.template.SqlMapDaoTemplate.queryForList(SqlMapDaoTemplate.java:194)
	at com.ubalhae.persistence.sqlmapdao.MenuSqlMapDao.getList(MenuSqlMapDao.java:47)
	at sun.reflect.GeneratedMethodAccessor1829.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at com.ibatis.dao.engine.impl.DaoProxy.invoke(DaoProxy.java:61)
	at $Proxy11.getList(Unknown Source)
	at com.ubalhae.service.MenuService.getList(MenuService.java:58)
	at com.ubalhae.presentation.home.HomeSubBean.sub(HomeSubBean.java:450)
	... 34 more
Caused by: com.ibatis.common.jdbc.exception.NestedSQLException:   
--- The error occurred in com/ubalhae/persistence/sqlmapsql/Menu.xml.  
--- The error occurred while preparing the mapped statement for execution.  
--- Check the menu-getList.  
--- Check the parameter map.  
--- Cause: com.ibatis.common.exception.NestedRuntimeException: Error getting properties of 'null'.  Cause: java.lang.NullPointerException
Caused by: java.lang.NullPointerException
Caused by: com.ibatis.common.exception.NestedRuntimeException: Error getting properties of 'null'.  Cause: java.lang.NullPointerException
Caused by: java.lang.NullPointerException
	at com.ibatis.sqlmap.engine.mapping.statement.GeneralStatement.executeQueryWithCallback(GeneralStatement.java:157)
	at com.ibatis.sqlmap.engine.mapping.statement.GeneralStatement.executeQueryForList(GeneralStatement.java:99)
	at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForList(SqlMapExecutorDelegate.java:341)
	at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForList(SqlMapExecutorDelegate.java:326)
	at com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.queryForList(SqlMapSessionImpl.java:77)
	at com.ibatis.sqlmap.engine.impl.SqlMapClientImpl.queryForList(SqlMapClientImpl.java:54)
	at com.ibatis.dao.client.template.SqlMapDaoTemplate.queryForList(SqlMapDaoTemplate.java:192)
	... 42 more
Caused by: com.ibatis.common.exception.NestedRuntimeException: Error getting properties of 'null'.  Cause: java.lang.NullPointerException
Caused by: java.lang.NullPointerException
	at com.ibatis.sqlmap.engine.accessplan.PropertyAccessPlan.getProperties(PropertyAccessPlan.java:57)
	at com.ibatis.sqlmap.engine.exchange.JavaBeanDataExchange.getData(JavaBeanDataExchange.java:57)
	at com.ibatis.sqlmap.engine.mapping.parameter.BasicParameterMap.getParameterObjectValues(BasicParameterMap.java:100)
	at com.ibatis.sqlmap.engine.mapping.statement.GeneralStatement.executeQueryWithCallback(GeneralStatement.java:134)
	... 48 more
Caused by: java.lang.NullPointerException
	at sun.reflect.GeneratedMethodAccessor1818.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at com.ibatis.sqlmap.engine.accessplan.PropertyAccessPlan.getProperties(PropertyAccessPlan.java:51)
	... 51 more

Caused by: 
java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at com.ubalhae.struts.BeanAction.execute(BeanAction.java:145)
	at org.apache.struts.chain.commands.servlet.ExecuteAction.execute(ExecuteAction.java:58)
	at org.apache.struts.chain.commands.AbstractExecuteAction.execute(AbstractExecuteAction.java:67)
	at org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:51)
	at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)
	at org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:304)
	at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)
	at org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:283)
	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
	at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at com.ubalhae.common.filter.EncodingFilter.doFilter(EncodingFilter.java:58)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
	at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
	at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
	at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
	at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
	at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
	at java.lang.Thread.run(Thread.java:619)
Caused by: com.ubalhae.struts.BeanActionException: There was a problem homeSub.  Cause: com.ibatis.dao.client.DaoException: Failed to queryForList - id [menu-getList], parameterObject [null].  Cause: com.ibatis.common.jdbc.exception.NestedSQLException:   
--- The error occurred in com/ubalhae/persistence/sqlmapsql/Menu.xml.  
--- The error occurred while preparing the mapped statement for execution.  
--- Check the menu-getList.  
--- Check the parameter map.  
--- Cause: com.ibatis.common.exception.NestedRuntimeException: Error getting properties of 'null'.  Cause: java.lang.NullPointerException
Caused by: java.lang.NullPointerException
Caused by: com.ibatis.common.exception.NestedRuntimeException: Error getting properties of 'null'.  Cause: java.lang.NullPointerException
Caused by: java.lang.NullPointerException
Caused by: com.ibatis.common.jdbc.exception.NestedSQLException:   
--- The error occurred in com/ubalhae/persistence/sqlmapsql/Menu.xml.  
--- The error occurred while preparing the mapped statement for execution.  
--- Check the menu-getList.  
--- Check the parameter map.  
--- Cause: com.ibatis.common.exception.NestedRuntimeException: Error getting properties of 'null'.  Cause: java.lang.NullPointerException
Caused by: java.lang.NullPointerException
Caused by: com.ibatis.common.exception.NestedRuntimeException: Error getting properties of 'null'.  Cause: java.lang.NullPointerException
Caused by: java.lang.NullPointerException
Caused by: com.ibatis.dao.client.DaoException: Failed to queryForList - id [menu-getList], parameterObject [null].  Cause: com.ibatis.common.jdbc.exception.NestedSQLException:   
--- The error occurred in com/ubalhae/persistence/sqlmapsql/Menu.xml.  
--- The error occurred while preparing the mapped statement for execution.  
--- Check the menu-getList.  
--- Check the parameter map.  
--- Cause: com.ibatis.common.exception.NestedRuntimeException: Error getting properties of 'null'.  Cause: java.lang.NullPointerException
Caused by: java.lang.NullPointerException
Caused by: com.ibatis.common.exception.NestedRuntimeException: Error getting properties of 'null'.  Cause: java.lang.NullPointerException
Caused by: java.lang.NullPointerException
Caused by: com.ibatis.common.jdbc.exception.NestedSQLException:   
--- The error occurred in com/ubalhae/persistence/sqlmapsql/Menu.xml.  
--- The error occurred while preparing the mapped statement for execution.  
--- Check the menu-getList.  
--- Check the parameter map.  
--- Cause: com.ibatis.common.exception.NestedRuntimeException: Error getting properties of 'null'.  Cause: java.lang.NullPointerException
Caused by: java.lang.NullPointerException
Caused by: com.ibatis.common.exception.NestedRuntimeException: Error getting properties of 'null'.  Cause: java.lang.NullPointerException
Caused by: java.lang.NullPointerException
	at com.ubalhae.presentation.home.HomeSubBean.sub(HomeSubBean.java:472)
	... 34 more
Caused by: com.ibatis.dao.client.DaoException: Failed to queryForList - id [menu-getList], parameterObject [null].  Cause: com.ibatis.common.jdbc.exception.NestedSQLException:   
--- The error occurred in com/ubalhae/persistence/sqlmapsql/Menu.xml.  
--- The error occurred while preparing the mapped statement for execution.  
--- Check the menu-getList.  
--- Check the parameter map.  
--- Cause: com.ibatis.common.exception.NestedRuntimeException: Error getting properties of 'null'.  Cause: java.lang.NullPointerException
Caused by: java.lang.NullPointerException
Caused by: com.ibatis.common.exception.NestedRuntimeException: Error getting properties of 'null'.  Cause: java.lang.NullPointerException
Caused by: java.lang.NullPointerException
Caused by: com.ibatis.common.jdbc.exception.NestedSQLException:   
--- The error occurred in com/ubalhae/persistence/sqlmapsql/Menu.xml.  
--- The error occurred while preparing the mapped statement for execution.  
--- Check the menu-getList.  
--- Check the parameter map.  
--- Cause: com.ibatis.common.exception.NestedRuntimeException: Error getting properties of 'null'.  Cause: java.lang.NullPointerException
Caused by: java.lang.NullPointerException
Caused by: com.ibatis.common.exception.NestedRuntimeException: Error getting properties of 'null'.  Cause: java.lang.NullPointerException
Caused by: java.lang.NullPointerException
	at com.ibatis.dao.client.template.SqlMapDaoTemplate.queryForList(SqlMapDaoTemplate.java:194)
	at com.ubalhae.persistence.sqlmapdao.MenuSqlMapDao.getList(MenuSqlMapDao.java:47)
	at sun.reflect.GeneratedMethodAccessor1829.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at com.ibatis.dao.engine.impl.DaoProxy.invoke(DaoProxy.java:61)
	at $Proxy11.getList(Unknown Source)
	at com.ubalhae.service.MenuService.getList(MenuService.java:58)
	at com.ubalhae.presentation.home.HomeSubBean.sub(HomeSubBean.java:450)
	... 34 more
Caused by: com.ibatis.common.jdbc.exception.NestedSQLException:   
--- The error occurred in com/ubalhae/persistence/sqlmapsql/Menu.xml.  
--- The error occurred while preparing the mapped statement for execution.  
--- Check the menu-getList.  
--- Check the parameter map.  
--- Cause: com.ibatis.common.exception.NestedRuntimeException: Error getting properties of 'null'.  Cause: java.lang.NullPointerException
Caused by: java.lang.NullPointerException
Caused by: com.ibatis.common.exception.NestedRuntimeException: Error getting properties of 'null'.  Cause: java.lang.NullPointerException
Caused by: java.lang.NullPointerException
	at com.ibatis.sqlmap.engine.mapping.statement.GeneralStatement.executeQueryWithCallback(GeneralStatement.java:157)
	at com.ibatis.sqlmap.engine.mapping.statement.GeneralStatement.executeQueryForList(GeneralStatement.java:99)
	at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForList(SqlMapExecutorDelegate.java:341)
	at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForList(SqlMapExecutorDelegate.java:326)
	at com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.queryForList(SqlMapSessionImpl.java:77)
	at com.ibatis.sqlmap.engine.impl.SqlMapClientImpl.queryForList(SqlMapClientImpl.java:54)
	at com.ibatis.dao.client.template.SqlMapDaoTemplate.queryForList(SqlMapDaoTemplate.java:192)
	... 42 more
Caused by: com.ibatis.common.exception.NestedRuntimeException: Error getting properties of 'null'.  Cause: java.lang.NullPointerException
Caused by: java.lang.NullPointerException
	at com.ibatis.sqlmap.engine.accessplan.PropertyAccessPlan.getProperties(PropertyAccessPlan.java:57)
	at com.ibatis.sqlmap.engine.exchange.JavaBeanDataExchange.getData(JavaBeanDataExchange.java:57)
	at com.ibatis.sqlmap.engine.mapping.parameter.BasicParameterMap.getParameterObjectValues(BasicParameterMap.java:100)
	at com.ibatis.sqlmap.engine.mapping.statement.GeneralStatement.executeQueryWithCallback(GeneralStatement.java:134)
	... 48 more
Caused by: java.lang.NullPointerException
	at sun.reflect.GeneratedMethodAccessor1818.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at com.ibatis.sqlmap.engine.accessplan.PropertyAccessPlan.getProperties(PropertyAccessPlan.java:51)
	... 51 more