You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ibatis.apache.org by "Nathan Maves (JIRA)" <ib...@incubator.apache.org> on 2005/12/15 17:16:46 UTC

[jira] Commented: (IBATIS-234) There is no READABLE property named 'empID' in class 'com.kuwsdb.workflow.ibatisbean.EmpBean'

    [ http://issues.apache.org/jira/browse/IBATIS-234?page=comments#action_12360508 ] 

Nathan Maves commented on IBATIS-234:
-------------------------------------

thulasiram,

This is a common problem that you need to debug.  The error is most likely in your sql map file.  If you wish to post that file we might be able to help more.

Nathan

> There is no READABLE property named 'empID' in class 'com.kuwsdb.workflow.ibatisbean.EmpBean'
> ---------------------------------------------------------------------------------------------
>
>          Key: IBATIS-234
>          URL: http://issues.apache.org/jira/browse/IBATIS-234
>      Project: iBatis for Java
>         Type: Bug
>   Components: SQL Maps
>  Environment: Java, IBM webspare, ibatis for sql map using ibatis-db.jar
>     Reporter: thulasiram
>     Priority: Critical
>  Attachments: querys.txt
>
> [12/15/05 16:00:02:081 IST] 1d7d6502 SystemErr     R java.sql.SQLException: Error executing 'insertEmp' in 'EmpSql.xml'. Check the Parameter Map (or inline parameters).  Check the 'empID' property. Cause: com.ibatis.common.beans.BeansException: There is no READABLE property named 'empID' in class 'com.kuwsdb.workflow.ibatisbean.EmpBean'
> [12/15/05 16:00:02:081 IST] 1d7d6502 SystemErr     R 	at com.ibatis.db.sqlmap.MappedStatement.executeUpdate(Unknown Source)
> [12/15/05 16:00:02:081 IST] 1d7d6502 SystemErr     R 	at com.ibatis.db.sqlmap.SqlMap.executeUpdate(Unknown Source)
> [12/15/05 16:00:02:081 IST] 1d7d6502 SystemErr     R 	at com.kuwsdb.workflow.others.commands.ViewMyEmailsListCommand.execute(ViewMyEmailsListCommand.java:338)
> [12/15/05 16:00:02:081 IST] 1d7d6502 SystemErr     R 	at com.kuwsdb.workflow.others.actions.ViewMyEmailsListAction.doExecute(ViewMyEmailsListAction.java:128)
> [12/15/05 16:00:02:081 IST] 1d7d6502 SystemErr     R 	at com.kuwsdb.workflow.common.actions.BaseAction.execute(BaseAction.java:61)
> [12/15/05 16:00:02:081 IST] 1d7d6502 SystemErr     R 	at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
> [12/15/05 16:00:02:081 IST] 1d7d6502 SystemErr     R 	at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
> [12/15/05 16:00:02:081 IST] 1d7d6502 SystemErr     R 	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
> [12/15/05 16:00:02:081 IST] 1d7d6502 SystemErr     R 	at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
> [12/15/05 16:00:02:081 IST] 1d7d6502 SystemErr     R 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
> [12/15/05 16:00:02:081 IST] 1d7d6502 SystemErr     R 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> [12/15/05 16:00:02:081 IST] 1d7d6502 SystemErr     R 	at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
> [12/15/05 16:00:02:097 IST] 1d7d6502 SystemErr     R 	at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
> [12/15/05 16:00:02:097 IST] 1d7d6502 SystemErr     R 	at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
> [12/15/05 16:00:02:097 IST] 1d7d6502 SystemErr     R 	at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
> [12/15/05 16:00:02:097 IST] 1d7d6502 SystemErr     R 	at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
> [12/15/05 16:00:02:097 IST] 1d7d6502 SystemErr     R 	at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
> [12/15/05 16:00:02:097 IST] 1d7d6502 SystemErr     R 	at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
> [12/15/05 16:00:02:097 IST] 1d7d6502 SystemErr     R 	at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:983)
> [12/15/05 16:00:02:097 IST] 1d7d6502 SystemErr     R 	at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:564)
> [12/15/05 16:00:02:097 IST] 1d7d6502 SystemErr     R 	at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:200)
> [12/15/05 16:00:02:097 IST] 1d7d6502 SystemErr     R 	at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:119)
> [12/15/05 16:00:02:097 IST] 1d7d6502 SystemErr     R 	at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:276)
> [12/15/05 16:00:02:097 IST] 1d7d6502 SystemErr     R 	at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
> [12/15/05 16:00:02:097 IST] 1d7d6502 SystemErr     R 	at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)
> [12/15/05 16:00:02:097 IST] 1d7d6502 SystemErr     R 	at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
> [12/15/05 16:00:02:097 IST] 1d7d6502 SystemErr     R 	at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
> [12/15/05 16:00:02:097 IST] 1d7d6502 SystemErr     R 	at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:618)
> [12/15/05 16:00:02:097 IST] 1d7d6502 SystemErr     R 	at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:439)
> [12/15/05 16:00:02:097 IST] 1d7d6502 SystemErr     R 	at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:672)
> [12/15/05 16:00:02:191 IST] 1d7d6502 WebGroup      I SRVE0180I: [KUWSDBWeb] [/KUWSDBWeb] [Servlet.LOG]: /view/others/Failure.jsp: init

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Re: [jira] Commented: (IBATIS-234) There is no READABLE property named 'empID' in class 'com.kuwsdb.workflow.ibatisbean.EmpBean'

Posted by Cimballi <ci...@gmail.com>.
Hi all,

I'm new to the list. I will try to give my first help :

This error usually means that there is no method called getEmpID in
your bean class.

Cimballi


On 12/15/05, Nathan Maves (JIRA) <ib...@incubator.apache.org> wrote:
>     [ http://issues.apache.org/jira/browse/IBATIS-234?page=comments#action_12360508 ]
>
> Nathan Maves commented on IBATIS-234:
> -------------------------------------
>
> thulasiram,
>
> This is a common problem that you need to debug.  The error is most likely in your sql map file.  If you wish to post that file we might be able to help more.
>
> Nathan
>
> > There is no READABLE property named 'empID' in class 'com.kuwsdb.workflow.ibatisbean.EmpBean'
> > ---------------------------------------------------------------------------------------------
> >
> >          Key: IBATIS-234
> >          URL: http://issues.apache.org/jira/browse/IBATIS-234
> >      Project: iBatis for Java
> >         Type: Bug
> >   Components: SQL Maps
> >  Environment: Java, IBM webspare, ibatis for sql map using ibatis-db.jar
> >     Reporter: thulasiram
> >     Priority: Critical
> >  Attachments: querys.txt
> >
> > [12/15/05 16:00:02:081 IST] 1d7d6502 SystemErr     R java.sql.SQLException: Error executing 'insertEmp' in 'EmpSql.xml'. Check the Parameter Map (or inline parameters).  Check the 'empID' property. Cause: com.ibatis.common.beans.BeansException: There is no READABLE property named 'empID' in class 'com.kuwsdb.workflow.ibatisbean.EmpBean'