[ http://issues.apache.org/jira/browse/IBATISNET-26?page=history ]
     
Gilles Bayon closed IBATISNET-26:
---------------------------------

     Resolution: Fixed
    Fix Version: DataMapper 1.2

Fix in SVN

> Unhandled NullReference parsing non-existent properties.
> --------------------------------------------------------
>
>          Key: IBATISNET-26
>          URL: http://issues.apache.org/jira/browse/IBATISNET-26
>      Project: iBatis for .NET
>         Type: Bug
>     Versions: DataMaper 1.5
>  Environment: Windows XP 
>     Reporter: Philip Kerrigan
>      Fix For: DataMapper 1.2

>
> DomSqlMapBuilder.ConfigureSqlMap calls Resources.GetAsXmlDocument at line 456 
> even though I have no properties defined. GetAsXmlDocument looks for values 
> of resource, url, or embedded, and not finding any of them it returns 
> xmlDocument null.
> ConfigureSqlMap does not check for a null value and attempts to call 
> config.SelectSingleNode with a null value for config, causing an unhandled 
> NullReferenceException.

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira

Reply via email to