[Mono-bugs] [Bug 697933] New: OracleParameter bind error
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Fri Jun 3 09:11:50 EDT 2011
https://bugzilla.novell.com/show_bug.cgi?id=697933
https://bugzilla.novell.com/show_bug.cgi?id=697933#c0
Summary: OracleParameter bind error
Classification: Mono
Product: Mono: Class Libraries
Version: 2.10.x
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Sys.Data
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: goldywhite at gmail.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Blocker: ---
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24
(KHTML, like Gecko) Chrome/11.0.696.71 Safari/534.24
setting OracleParameter.OracleType before OracleParameter.Value raises
exception:
System.NullReferenceException: Object reference not set to an instance of an
object
at System.Data.OracleClient.OracleParameter.SetOracleType (OracleType type,
Boolean inferring) [0x00006] in
/usr/src/redhat/BUILD/mono-2.10.2/mcs/class/System.Data.OracleClient/System.Data.OracleClient/OracleParameter.cs:1120
at System.Data.OracleClient.OracleParameter.set_OracleType (OracleType value)
[0x00007] in
/usr/src/redhat/BUILD/mono-2.10.2/mcs/class/System.Data.OracleClient/System.Data.OracleClient/OracleParameter.cs:279
at (wrapper remoting-invoke-with-check)
System.Data.OracleClient.OracleParameter:set_OracleType
(System.Data.OracleClient.OracleType)
on line value.GetType();
This is wrong behavior, especially for output parameters :)
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list