From: Ted L. (JIRA) <nh...@gm...> - 2011-03-25 15:36:57
|
GetLimitString "Nullable object must have a value" exception in DB2Dialect -------------------------------------------------------------------------- Key: NH-2597 URL: http://216.121.112.228/browse/NH-2597 Project: NHibernate Issue Type: Bug Components: DataProviders / Dialects Affects Versions: 3.0.0.GA Reporter: Ted Lum GetLimitString takes nullable parameters for offsetParameterIndex and limitParameterIndex. When those parameters are null pagingBuilder.Add("<= ").Add(Parameter.WithIndex(limitParameterIndex.Value)); throws "Nullable object must have a value" exception. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://216.121.112.228/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Fabio M. (JIRA) <nh...@gm...> - 2011-03-25 16:51:07
|
[ http://216.121.112.228/browse/NH-2597?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=20742#action_20742 ] Fabio Maulo commented on NH-2597: --------------------------------- That is for sure but now we need something to check when those parameters come with no value. It should never happen. > GetLimitString "Nullable object must have a value" exception in DB2Dialect > -------------------------------------------------------------------------- > > Key: NH-2597 > URL: http://216.121.112.228/browse/NH-2597 > Project: NHibernate > Issue Type: Bug > Components: DataProviders / Dialects > Affects Versions: 3.0.0.GA > Reporter: Ted Lum > > GetLimitString takes nullable parameters for offsetParameterIndex and limitParameterIndex. > When those parameters are null > pagingBuilder.Add("<= ").Add(Parameter.WithIndex(limitParameterIndex.Value)); > throws "Nullable object must have a value" exception. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://216.121.112.228/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Fabio M. (JIRA) <nh...@gm...> - 2011-03-25 16:51:10
|
[ http://216.121.112.228/browse/NH-2597?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=20743#action_20743 ] Fabio Maulo commented on NH-2597: --------------------------------- have you a failing test ? > GetLimitString "Nullable object must have a value" exception in DB2Dialect > -------------------------------------------------------------------------- > > Key: NH-2597 > URL: http://216.121.112.228/browse/NH-2597 > Project: NHibernate > Issue Type: Bug > Components: DataProviders / Dialects > Affects Versions: 3.0.0.GA > Reporter: Ted Lum > > GetLimitString takes nullable parameters for offsetParameterIndex and limitParameterIndex. > When those parameters are null > pagingBuilder.Add("<= ").Add(Parameter.WithIndex(limitParameterIndex.Value)); > throws "Nullable object must have a value" exception. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://216.121.112.228/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Ted L. (JIRA) <nh...@gm...> - 2011-03-26 14:14:20
|
[ http://216.121.112.228/browse/NH-2597?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=20755#action_20755 ] Ted Lum commented on NH-2597: ----------------------------- Still trying to track it down, the exact reason for the condition of null optional parameters is still unknown. > GetLimitString "Nullable object must have a value" exception in DB2Dialect > -------------------------------------------------------------------------- > > Key: NH-2597 > URL: http://216.121.112.228/browse/NH-2597 > Project: NHibernate > Issue Type: Bug > Components: DataProviders / Dialects > Affects Versions: 3.0.0.GA > Reporter: Ted Lum > > GetLimitString takes nullable parameters for offsetParameterIndex and limitParameterIndex. > When those parameters are null > pagingBuilder.Add("<= ").Add(Parameter.WithIndex(limitParameterIndex.Value)); > throws "Nullable object must have a value" exception. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://216.121.112.228/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Ted L. (JIRA) <nh...@gm...> - 2011-03-26 21:49:14
|
[ http://216.121.112.228/browse/NH-2597?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Lum updated NH-2597: ------------------------ Attachment: NHibernate.zip Test case > GetLimitString "Nullable object must have a value" exception in DB2Dialect > -------------------------------------------------------------------------- > > Key: NH-2597 > URL: http://216.121.112.228/browse/NH-2597 > Project: NHibernate > Issue Type: Bug > Components: DataProviders / Dialects > Affects Versions: 3.0.0.GA > Reporter: Ted Lum > Attachments: NHibernate.zip > > > GetLimitString takes nullable parameters for offsetParameterIndex and limitParameterIndex. > When those parameters are null > pagingBuilder.Add("<= ").Add(Parameter.WithIndex(limitParameterIndex.Value)); > throws "Nullable object must have a value" exception. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://216.121.112.228/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Ted L. (JIRA) <nh...@gm...> - 2011-03-27 00:57:20
|
[ http://216.121.112.228/browse/NH-2597?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=20761#action_20761 ] Ted Lum commented on NH-2597: ----------------------------- Test passes on version 3.1, issue seems to have been resolved. > GetLimitString "Nullable object must have a value" exception in DB2Dialect > -------------------------------------------------------------------------- > > Key: NH-2597 > URL: http://216.121.112.228/browse/NH-2597 > Project: NHibernate > Issue Type: Bug > Components: DataProviders / Dialects > Affects Versions: 3.0.0.GA > Reporter: Ted Lum > Attachments: NHibernate.zip > > > GetLimitString takes nullable parameters for offsetParameterIndex and limitParameterIndex. > When those parameters are null > pagingBuilder.Add("<= ").Add(Parameter.WithIndex(limitParameterIndex.Value)); > throws "Nullable object must have a value" exception. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://216.121.112.228/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Fabio M. (JIRA) <nh...@gm...> - 2011-04-12 22:29:16
|
[ http://216.121.112.228/browse/NH-2597?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Fabio Maulo closed NH-2597. --------------------------- Resolution: Obsolete > GetLimitString "Nullable object must have a value" exception in DB2Dialect > -------------------------------------------------------------------------- > > Key: NH-2597 > URL: http://216.121.112.228/browse/NH-2597 > Project: NHibernate > Issue Type: Bug > Components: DataProviders / Dialects > Affects Versions: 3.0.0.GA > Reporter: Ted Lum > Attachments: NHibernate.zip > > > GetLimitString takes nullable parameters for offsetParameterIndex and limitParameterIndex. > When those parameters are null > pagingBuilder.Add("<= ").Add(Parameter.WithIndex(limitParameterIndex.Value)); > throws "Nullable object must have a value" exception. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://216.121.112.228/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |