"The error happened while setting a property on the result object."

I'm guessing that's your culprit..check that the results are all being
mapped to valid properties.

Larry


On Tue, Apr 28, 2009 at 3:52 PM, Nathan Maves <nathan.ma...@gmail.com> wrote:
> Welcome to ibatis!
> Could you give us a little more information like what DB you are using? what
> driver?  what does the sql look like?
> I can't say that I have seen your error before but I am sure we can figure
> out what this issue is.
> Nathan
>
> On Tue, Apr 28, 2009 at 1:45 PM, Sean Mitchell <s...@mitchwood.com> wrote:
>>
>> Hi...
>>
>> I'm new to iBATIS, just started a new job last week and am trying to
>> get up to speed on a bunch of stuff, including iBATIS. The task I'm
>> given is to modify some existing code, which seems pretty
>> straightforward.
>>
>> Having made most of my mods (working and running within Eclipse) I'm
>> getting an error that I can't decipher:
>>
>> 2009-04-28 15:30:27,419[main           ] DEBUG
>> rrorCodeSQLExceptionTranslator - Unable to translate SQLException with
>> Error code '0', will now try the fallback translator
>> 2009-04-28 15:30:27,419[main           ] DEBUG
>> DataSourceUtils - Returning JDBC Connection to DataSource
>> unable to execute upic translator.  Error message = SqlMapClient
>> operation; uncategorized SQLException for SQL []; SQL state [null];
>> error code [0];
>> --- The error occurred in cdw.upic.sqlmap.xml.
>> --- The error occurred while applying a result map.
>> --- Check the cdwUpic.aprIncentiveResultMap.
>> --- The error happened while setting a property on the result object.
>> --- Cause: java.lang.reflect.UndeclaredThrowableException; nested
>> exception is com.ibatis.common.jdbc.exception.NestedSQLException:
>> --- The error occurred in cdw.upic.sqlmap.xml.
>> --- The error occurred while applying a result map.
>> --- Check the cdwUpic.aprIncentiveResultMap.
>> --- The error happened while setting a property on the result object.
>> --- Cause: java.lang.reflect.UndeclaredThrowableException
>>
>> I'm fairly sure that the problem is not cdwUpic.aprIncentiveResultMap,
>> because that has not changed and was working yesterday. This error
>> occurs no matter what resultmap my code uses. In fact, this worked
>> yesterday, but at some point today it started giving this error.
>>
>> I'm guessing wildly that the problem is in the JDBC layer, although
>> the queries all work fine in SquirrelSQL. My other theory is that my
>> project (Maven based) is not configured properly somehow.
>>
>> Anyone seen this before, or can suggest how I can get more information?
>>
>> Cheers,
>>
>> Sean
>
>

Reply via email to