ITPub博客

首页 > Linux操作系统 > Linux操作系统 > ORA-24338 statement handle not executed

ORA-24338 statement handle not executed

原创 Linux操作系统 作者:tolywang 时间:2010-12-09 10:45:00 0 删除 编辑

今天收到开发人员发来的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 executed

12/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博客 ” ,链接:https://blog.itpub.net/35489/viewspace-681327/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
Oracle , MySQL, SAP IQ, SAP HANA, PostgreSQL, Tableau 技术讨论,希望在这里一起分享知识,讨论技术,畅谈人生 。

注册时间:2007-12-10

  • 博文量
    5595
  • 访问量
    14696595