今天收到开发人员发来的mail, 程序在调用function 的时候,偶尔会报错,大多数时候都正常, 具体报错如下 :
12/8/2010 5:54:34 PM - Checking MERGED DFMS with Servicetag [128QPN1]
12/8/2010 5:54:34 PM - Creating Dataset
12/8/2010 5:54:34 PM - Initializing WebReference
12/8/2010 5:54:34 PM - Web reference creted, calling GetSn option
12/8/2010 5:54:34 PM - WS returned: ORA-24338: statement handle not executed12/8/2010 5:54:34 PM - Try to fill out the datagrid with the first table
12/8/2010 5:54:34 PM - Exception Caught:System.NullReferenceException: Object reference not set to an instance of an object.
at TEST_DFMS.Form1.button4_Click(Object sender, EventArgs e)
ORA-24338 statement handle not executed
游标没有执行
Cause: A fetch or describe was attempted before executing a statement handle.
没有执行游标就从上面取数
Action: Execute a statement and then fetch or describe the data.
做好异常控制,如果分析或执行出错的时候做好异常控制,php,jsp页面处理的时候比较容易出错.
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/35489/viewspace-681327/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/35489/viewspace-681327/
本文记录了一次程序调用function时出现的ORA-24338错误及System.NullReferenceException异常,详细描述了错误发生的具体场景、原因分析及建议的解决措施。
1750

被折叠的 条评论
为什么被折叠?



