org.springframework.jdbc.UncategorizedSQLException: SqlMapClient operation; uncategorized SQLException for SQL []; SQL state [null]; error code [0]; --- The error occurred in /org/kolor/cms/data/dao/ibatis/jcms-client.xml. --- The error occurred while applying a result map. --- Check the jcms-client.Article. --- Check the result mapping for the 'author' property. --- Cause: java.lang.NullPointerException; nested exception is com.ibatis.common.jdbc.exception.NestedSQLException: --- The error occurred in /org/kolor/cms/data/dao/ibatis/jcms-client.xml. --- The error occurred while applying a result map. --- Check the jcms-client.Article. --- Check the result mapping for the 'author' property. --- Cause: java.lang.NullPointerException Caused by: com.ibatis.common.jdbc.exception.NestedSQLException: --- The error occurred in /org/kolor/cms/data/dao/ibatis/jcms-client.xml. --- The error occurred while applying a result map. --- Check the jcms-client.Article. --- Check the result mapping for the 'author' property. --- Cause: java.lang.NullPointerException at com.ibatis.sqlmap.engine.mapping.statement.GeneralStatement.executeQueryWithCallback (GeneralStatement.java:188) at com.ibatis.sqlmap.engine.mapping.statement.GeneralStatement.executeQueryForObject (GeneralStatement.java:104) at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForObject (SqlMapExecutorDelegate.java:566) at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForObject (SqlMapExecutorDelegate.java:541) at com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.queryForObject( SqlMapSessionImpl.java:106) at org.springframework.orm.ibatis.SqlMapClientTemplate$1.doInSqlMapClient( SqlMapClientTemplate.java:243) at org.springframework.orm.ibatis.SqlMapClientTemplate.execute( SqlMapClientTemplate.java:193) at org.springframework.orm.ibatis.SqlMapClientTemplate.queryForObject( SqlMapClientTemplate.java:241) at org.kolor.cms.data.dao.ibatis.IbatisClientDao.getArticle( IbatisClientDao.java:18) at org.kolor.cms.controler.ShowItemController.handleRequestInternal( ShowItemController.java:54) at org.springframework.web.servlet.mvc.AbstractController.handleRequest( AbstractController.java:153) at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle( SimpleControllerHandlerAdapter.java:45) at org.springframework.web.servlet.DispatcherServlet.doDispatch( DispatcherServlet.java:820) at org.springframework.web.servlet.DispatcherServlet.doService( DispatcherServlet.java:755) at org.springframework.web.servlet.FrameworkServlet.processRequest( FrameworkServlet.java:396) at org.springframework.web.servlet.FrameworkServlet.doGet( FrameworkServlet.java:350)

ibatis-user-java | Brandon Goodin | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Re: Complex Properties problem

    ibatis-user-java | 1 decade ago | Brandon Goodin
    org.springframework.jdbc.UncategorizedSQLException: SqlMapClient operation; uncategorized SQLException for SQL []; SQL state [null]; error code [0]; --- The error occurred in /org/kolor/cms/data/dao/ibatis/jcms-client.xml. --- The error occurred while applying a result map. --- Check the jcms-client.Article. --- Check the result mapping for the 'author' property. --- Cause: java.lang.NullPointerException; nested exception is com.ibatis.common.jdbc.exception.NestedSQLException: --- The error occurred in /org/kolor/cms/data/dao/ibatis/jcms-client.xml. --- The error occurred while applying a result map. --- Check the jcms-client.Article. --- Check the result mapping for the 'author' property. --- Cause: java.lang.NullPointerException Caused by: com.ibatis.common.jdbc.exception.NestedSQLException: --- The error occurred in /org/kolor/cms/data/dao/ibatis/jcms-client.xml. --- The error occurred while applying a result map. --- Check the jcms-client.Article. --- Check the result mapping for the 'author' property. --- Cause: java.lang.NullPointerException at com.ibatis.sqlmap.engine.mapping.statement.GeneralStatement.executeQueryWithCallback (GeneralStatement.java:188) at com.ibatis.sqlmap.engine.mapping.statement.GeneralStatement.executeQueryForObject (GeneralStatement.java:104) at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForObject (SqlMapExecutorDelegate.java:566) at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForObject (SqlMapExecutorDelegate.java:541) at com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.queryForObject( SqlMapSessionImpl.java:106) at org.springframework.orm.ibatis.SqlMapClientTemplate$1.doInSqlMapClient( SqlMapClientTemplate.java:243) at org.springframework.orm.ibatis.SqlMapClientTemplate.execute( SqlMapClientTemplate.java:193) at org.springframework.orm.ibatis.SqlMapClientTemplate.queryForObject( SqlMapClientTemplate.java:241) at org.kolor.cms.data.dao.ibatis.IbatisClientDao.getArticle( IbatisClientDao.java:18) at org.kolor.cms.controler.ShowItemController.handleRequestInternal( ShowItemController.java:54) at org.springframework.web.servlet.mvc.AbstractController.handleRequest( AbstractController.java:153) at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle( SimpleControllerHandlerAdapter.java:45) at org.springframework.web.servlet.DispatcherServlet.doDispatch( DispatcherServlet.java:820) at org.springframework.web.servlet.DispatcherServlet.doService( DispatcherServlet.java:755) at org.springframework.web.servlet.FrameworkServlet.processRequest( FrameworkServlet.java:396) at org.springframework.web.servlet.FrameworkServlet.doGet( FrameworkServlet.java:350)

    Root Cause Analysis

    1. org.springframework.jdbc.UncategorizedSQLException

      SqlMapClient operation; uncategorized SQLException for SQL []; SQL state [null]; error code [0]; --- The error occurred in /org/kolor/cms/data/dao/ibatis/jcms-client.xml. --- The error occurred while applying a result map. --- Check the jcms-client.Article. --- Check the result mapping for the 'author' property. --- Cause: java.lang.NullPointerException; nested exception is com.ibatis.common.jdbc.exception.NestedSQLException: --- The error occurred in /org/kolor/cms/data/dao/ibatis/jcms-client.xml. --- The error occurred while applying a result map. --- Check the jcms-client.Article. --- Check the result mapping for the 'author' property. --- Cause: java.lang.NullPointerException Caused by: com.ibatis.common.jdbc.exception.NestedSQLException: --- The error occurred in /org/kolor/cms/data/dao/ibatis/jcms-client.xml. --- The error occurred while applying a result map. --- Check the jcms-client.Article. --- Check the result mapping for the 'author' property. --- Cause: java.lang.NullPointerException at com.ibatis.sqlmap.engine.mapping.statement.GeneralStatement.executeQueryWithCallback (GeneralStatement.java:188) at com.ibatis.sqlmap.engine.mapping.statement.GeneralStatement.executeQueryForObject (GeneralStatement.java:104) at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForObject (SqlMapExecutorDelegate.java:566) at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForObject (SqlMapExecutorDelegate.java:541) at com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.queryForObject( SqlMapSessionImpl.java:106) at org.springframework.orm.ibatis.SqlMapClientTemplate$1.doInSqlMapClient( SqlMapClientTemplate.java:243) at org.springframework.orm.ibatis.SqlMapClientTemplate.execute( SqlMapClientTemplate.java:193) at org.springframework.orm.ibatis.SqlMapClientTemplate.queryForObject( SqlMapClientTemplate.java:241) at org.kolor.cms.data.dao.ibatis.IbatisClientDao.getArticle( IbatisClientDao.java:18) at org.kolor.cms.controler.ShowItemController.handleRequestInternal( ShowItemController.java:54) at org.springframework.web.servlet.mvc.AbstractController.handleRequest( AbstractController.java:153) at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle( SimpleControllerHandlerAdapter.java:45) at org.springframework.web.servlet.DispatcherServlet.doDispatch( DispatcherServlet.java:820) at org.springframework.web.servlet.DispatcherServlet.doService( DispatcherServlet.java:755) at org.springframework.web.servlet.FrameworkServlet.processRequest( FrameworkServlet.java:396) at org.springframework.web.servlet.FrameworkServlet.doGet( FrameworkServlet.java:350)

      at javax.servlet.http.HttpServlet.service()
    2. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
      2 frames