jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Guggisberg <stefan.guggisb...@gmail.com>
Subject Re: NPE
Date Thu, 03 Jul 2008 18:49:02 GMT
wrong list i suppose ;)

cheers
stefan

On 03.07.2008, at 19:18, Tom Duffey <tduffey@techbydesign.com> wrote:

> Hi All,
>
> Just upgraded to 2.3.2 and getting an NPE.  This is because "type"  
> is null in the call to: Enum.class.isAssignableFrom(type).  Looks  
> like you need to be careful not to do that if type is null?
>
> Tom
>
> java.lang.NullPointerException
>    at java.lang.Class.isAssignableFrom(Native Method)
>    at com.ibatis.sqlmap.engine.type.TypeHandlerFactory.getTypeHandler 
> (TypeHandlerFactory.java:143)
>    at com.ibatis.sqlmap.engine.type.TypeHandlerFactory.getTypeHandler 
> (TypeHandlerFactory.java:123)
>    at  
> com. 
> ibatis. 
> sqlmap.engine.mapping.result.ResultMap.prepareBeanParameterObject 
> (ResultMap.java:591)
>    at  
> com. 
> ibatis. 
> sqlmap.engine.mapping.result.ResultMap.getNestedSelectMappingValue 
> (ResultMap.java:475)
>    at com.ibatis.sqlmap.engine.mapping.result.ResultMap.getResults 
> (ResultMap.java:341)
>    at com.ibatis.sqlmap.engine.execution.SqlExecutor.handleResults 
> (SqlExecutor.java:384)
>    at  
> com.ibatis.sqlmap.engine.execution.SqlExecutor.handleMultipleResults 
> (SqlExecutor.java:300)
>    at com.ibatis.sqlmap.engine.execution.SqlExecutor.executeQuery 
> (SqlExecutor.java:189)
>    at  
> com. 
> ibatis. 
> sqlmap.engine.mapping.statement.MappedStatement.sqlExecuteQuery 
> (MappedStatement.java:221)
>    at  
> com. 
> ibatis. 
> sqlmap. 
> engine.mapping.statement.MappedStatement.executeQueryWithCallback 
> (MappedStatement.java:189)
>    at  
> com. 
> ibatis. 
> sqlmap.engine.mapping.statement.MappedStatement.executeQueryForList 
> (MappedStatement.java:139)
>    at  
> com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForList 
> (SqlMapExecutorDelegate.java:567)
>    at  
> com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForList 
> (SqlMapExecutorDelegate.java:541)
>    at com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.queryForList 
> (SqlMapSessionImpl.java:118)
>    at com.ibatis.sqlmap.engine.impl.SqlMapClientImpl.queryForList 
> (SqlMapClientImpl.java:94)
>
>

Mime
View raw message