You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ibatis.apache.org by "Tom Duffey (JIRA)" <ib...@incubator.apache.org> on 2008/07/03 19:39:45 UTC

[jira] Created: (IBATIS-522) NPE in TypeHandlerFactory.getTypeHandler() when type is null

NPE in TypeHandlerFactory.getTypeHandler() when type is null
------------------------------------------------------------

                 Key: IBATIS-522
                 URL: https://issues.apache.org/jira/browse/IBATIS-522
             Project: iBatis for Java
          Issue Type: Bug
          Components: SQL Maps
    Affects Versions: 2.3.2
            Reporter: Tom Duffey
            Priority: Blocker


See line 143 of com.ibatis.sqlmap.engine.type.TypeHandlerFactory.  Enum.class.isAssignableFrom(type) throws NPE if type is null.  This is bad.  Simple patch follows.

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


[jira] Closed: (IBATIS-522) NPE in TypeHandlerFactory.getTypeHandler() when type is null

Posted by "Clinton Begin (JIRA)" <ib...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/IBATIS-522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Clinton Begin closed IBATIS-522.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.3.3
         Assignee: Clinton Begin

As in patch

> NPE in TypeHandlerFactory.getTypeHandler() when type is null
> ------------------------------------------------------------
>
>                 Key: IBATIS-522
>                 URL: https://issues.apache.org/jira/browse/IBATIS-522
>             Project: iBatis for Java
>          Issue Type: Bug
>          Components: SQL Maps
>    Affects Versions: 2.3.2
>            Reporter: Tom Duffey
>            Assignee: Clinton Begin
>            Priority: Blocker
>             Fix For: 2.3.3
>
>         Attachments: TypeHandlerFactory.java.NPE.patch
>
>
> See line 143 of com.ibatis.sqlmap.engine.type.TypeHandlerFactory.  Enum.class.isAssignableFrom(type) throws NPE if type is null.  This is bad.  Simple patch follows.

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