You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@abdera.apache.org by "Laxmikant Lahoti (JIRA)" <ji...@apache.org> on 2010/11/02 12:28:24 UTC

[jira] Created: (ABDERA-269) com.ibatis.common.beans.ProbeException: Error getting ordinal list from JavaBean. Cause java.lang.NumberFormatException: For input string: ""

com.ibatis.common.beans.ProbeException: Error getting ordinal list from JavaBean. Cause java.lang.NumberFormatException: For input string: ""
---------------------------------------------------------------------------------------------------------------------------------------------

                 Key: ABDERA-269
                 URL: https://issues.apache.org/jira/browse/ABDERA-269
             Project: Abdera
          Issue Type: Bug
         Environment: Windows
            Reporter: Laxmikant Lahoti


Geeting below error ----------

- Cause: com.ibatis.common.beans.ProbeException: Error getting ordinal list from JavaBean. Cause java.lang.NumberFormatException: For input string: ""
Caused by: java.lang.NumberFormatException: For input string: ""; nested exception is com.ibatis.common.jdbc.exception.NestedSQLException:   
--- The error occurred in com/dw/promis/customer/model/PartyType_SqlMap.xml.  
--- The error occurred while preparing the mapped statement for execution.  
--- Check the partyType_selectByExample.  
--- Check the parameter map.  
--- Cause: com.ibatis.common.beans.ProbeException: Error getting ordinal list from JavaBean. Cause java.lang.NumberFormatException: For input string: ""
Caused by: java.lang.NumberFormatException: For input string: ""
Caused by: com.ibatis.common.beans.ProbeException: Error getting ordinal list from JavaBean. Cause java.lang.NumberFormatException: For input string: ""
Caused by: java.lang.NumberFormatException: For input string: ""
	at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.translate(SQLStateSQLExceptionTranslator.java:124)
	at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.translate(SQLErrorCodeSQLExceptionTranslator.java:322)
	at org.springframework.orm.ibatis.SqlMapClientTemplate.execute(SqlMapClientTemplate.java:212)
	at org.springframework.orm.ibatis.SqlMapClientTemplate.executeWithListResult(SqlMapClientTemplate.java:249)
	at org.springframework.orm.ibatis.SqlMapClientTemplate.queryForList(SqlMapClientTemplate.java:296)
	at com.dw.promis.customer.dao.MasterDataDAOImpl.selectByExample(MasterDataDAOImpl.java:31)
	at com.dw.promis.customer.service.MasterDataServiceImpl.getPartyTypeIdForCode(MasterDataServiceImpl.java:139)
	at com.dw.promis.customer.service.CompanyRegistrationServiceImpl.getPartyByReqId(CompanyRegistrationServiceImpl.java:1615)
	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:585)
	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
	at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
	at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
	at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)

---------------------------

the code is as below

<select id="partyType_selectByExample" resultMap="PartyType_Result" parameterClass="com.dw.promis.customer.model.PartyTypeExample" >
    select PARTY_TYPE_ID, PARTY_TYPE_CODE, ENTITY_NAME, PARTY_TYPE_DESCR, IS_VALID, CCN, AUDIT_USER,
      OU_ID
    from PARTY_TYPE
    <isParameterPresent >
      <include refid="partyType_Example_Where_Clause" />
      <isNotNull property="orderByClause" >
        order by $orderByClause$
      </isNotNull>
    </isParameterPresent>
  </select>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (ABDERA-269) com.ibatis.common.beans.ProbeException: Error getting ordinal list from JavaBean. Cause java.lang.NumberFormatException: For input string: ""

Posted by "Christine Koppelt (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ABDERA-269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christine Koppelt closed ABDERA-269.
------------------------------------

    Resolution: Fixed

Please report your issue to mybatis (http://www.mybatis.org/). It' s the successor of the ibatis project.

> com.ibatis.common.beans.ProbeException: Error getting ordinal list from JavaBean. Cause java.lang.NumberFormatException: For input string: ""
> ---------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ABDERA-269
>                 URL: https://issues.apache.org/jira/browse/ABDERA-269
>             Project: Abdera
>          Issue Type: Bug
>         Environment: Windows
>            Reporter: Laxmikant Lahoti
>
> Geeting below error ----------
> - Cause: com.ibatis.common.beans.ProbeException: Error getting ordinal list from JavaBean. Cause java.lang.NumberFormatException: For input string: ""
> Caused by: java.lang.NumberFormatException: For input string: ""; nested exception is com.ibatis.common.jdbc.exception.NestedSQLException:   
> --- The error occurred in com/dw/promis/customer/model/PartyType_SqlMap.xml.  
> --- The error occurred while preparing the mapped statement for execution.  
> --- Check the partyType_selectByExample.  
> --- Check the parameter map.  
> --- Cause: com.ibatis.common.beans.ProbeException: Error getting ordinal list from JavaBean. Cause java.lang.NumberFormatException: For input string: ""
> Caused by: java.lang.NumberFormatException: For input string: ""
> Caused by: com.ibatis.common.beans.ProbeException: Error getting ordinal list from JavaBean. Cause java.lang.NumberFormatException: For input string: ""
> Caused by: java.lang.NumberFormatException: For input string: ""
> 	at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.translate(SQLStateSQLExceptionTranslator.java:124)
> 	at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.translate(SQLErrorCodeSQLExceptionTranslator.java:322)
> 	at org.springframework.orm.ibatis.SqlMapClientTemplate.execute(SqlMapClientTemplate.java:212)
> 	at org.springframework.orm.ibatis.SqlMapClientTemplate.executeWithListResult(SqlMapClientTemplate.java:249)
> 	at org.springframework.orm.ibatis.SqlMapClientTemplate.queryForList(SqlMapClientTemplate.java:296)
> 	at com.dw.promis.customer.dao.MasterDataDAOImpl.selectByExample(MasterDataDAOImpl.java:31)
> 	at com.dw.promis.customer.service.MasterDataServiceImpl.getPartyTypeIdForCode(MasterDataServiceImpl.java:139)
> 	at com.dw.promis.customer.service.CompanyRegistrationServiceImpl.getPartyByReqId(CompanyRegistrationServiceImpl.java:1615)
> 	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:585)
> 	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
> 	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
> 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
> 	at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
> 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
> 	at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
> 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
> 	at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
> ---------------------------
> the code is as below
> <select id="partyType_selectByExample" resultMap="PartyType_Result" parameterClass="com.dw.promis.customer.model.PartyTypeExample" >
>     select PARTY_TYPE_ID, PARTY_TYPE_CODE, ENTITY_NAME, PARTY_TYPE_DESCR, IS_VALID, CCN, AUDIT_USER,
>       OU_ID
>     from PARTY_TYPE
>     <isParameterPresent >
>       <include refid="partyType_Example_Where_Clause" />
>       <isNotNull property="orderByClause" >
>         order by $orderByClause$
>       </isNotNull>
>     </isParameterPresent>
>   </select>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.