我的应用为什么偶尔会出现 结果集已耗尽的异常,当我重新在提交一次请求它又会回复正常,不知道为什么。该如何修改避免这个问题
DEBUG----2008-10-30 08:44:59 com.baosight.dw.me.app.util.database.DimCodeDAO -FindMetaSTUR Sql:select distinct ITEM_CODE,ITEM_NAME from DIM_CODE where CODESET_CODE = 'META_STR' and ITEM_STATUS='Y' and ITEM_CODE <> 'TM'
DEBUG----2008-10-30 08:44:59 com.baosight.dw.me.app.util.database.DimCodeDAO -FindMetaSTUR Sql:select distinct ITEM_CODE,ITEM_NAME from DIM_CODE where CODESET_CODE = 'META_STR' and ITEM_STATUS='Y' and ITEM_CODE <> 'TM'
java.sql.SQLException: 结果集已耗尽
Find ALL Formulas SQL:select distinct t.rowid,t.* from DIM_CONVERT_FORMULA t where t.ALIVE_FLAG='Y' and (FMLY_CODE ^='SRM' or FMLY_CODE is null)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:208)
at oracle.jdbc.driver.ScrollableResultSet.getOracleObject(ScrollableResultSet.java:496)
at oracle.jdbc.driver.ScrollableResultSet.getString(ScrollableResultSet.java:515)
at oracle.jdbc.driver.OracleResultSet.getString(OracleResultSet.java:1515)
at org.apache.tomcat.dbcp.dbcp.DelegatingResultSet.getString(DelegatingResultSet.java:224)
at com.baosight.dw.me.app.util.database.DimCodeDAO.findMeta(DimCodeDAO.java:62)
at com.baosight.dw.me.app.quotiety.action.ConvertFormulaAction.init(ConvertFormulaAction.java:78)
at com.baosight.dw.me.app.quotiety.action.ConvertFormulaAction.execute(ConvertFormulaAction.java:88)
at com.baosight.dw.me.app.general.GeneralControl.doPost(GeneralControl.java:62)
at com.baosight.dw.me.app.general.GeneralControl.doGet(GeneralControl.java:32)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.baosight.dw.me.app.filter.ManageFilter.doFilter(ManageFilter.java:26)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Find ALL Formulas SQL:select distinct t.rowid,t.* from DIM_CONVERT_FORMULA t where t.ALIVE_FLAG='Y' and (FMLY_CODE ^='SRM' or FMLY_CODE is null)
INFO----2008-10-30 08:45:02 com.baosight.dw.me.app.general.GeneralControl -Request Path is Succeed!
2008-10-30 8:45:02 org.apache.catalina.core.ApplicationDispatcher invoke
严重: Servlet.service() for servlet jsp threw exception
java.lang.NullPointerException
at org.apache.jsp.convertquotiety.convertformulaother_jsp._jspService(convertformulaother_jsp.java:162)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
at com.baosight.dw.me.app.quotiety.action.ConvertFormulaAction.execute(ConvertFormulaAction.java:144)
at com.baosight.dw.me.app.general.GeneralControl.doPost(GeneralControl.java:62)
at com.baosight.dw.me.app.general.GeneralControl.doGet(GeneralControl.java:32)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.baosight.dw.me.app.filter.ManageFilter.doFilter(ManageFilter.java:26)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
2008-10-30 8:45:02 org.apache.catalina.core.StandardWrapperValve invoke
严重: Servlet.service() for servlet general threw exception
java.lang.NullPointerException
at org.apache.jsp.convertquotiety.convertformulaother_jsp._jspService(convertformulaother_jsp.java:162)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
at com.baosight.dw.me.app.quotiety.action.ConvertFormulaAction.execute(ConvertFormulaAction.java:144)
at com.baosight.dw.me.app.general.GeneralControl.doPost(GeneralControl.java:62)
at com.baosight.dw.me.app.general.GeneralControl.doGet(GeneralControl.java:32)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.baosight.dw.me.app.filter.ManageFilter.doFilter(ManageFilter.java:26)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
相关推荐
在Java编程中,`java.sql.SQLException: 结果集已耗尽` 是一个常见的错误提示,通常出现在处理数据库查询结果集时。这个异常表明程序试图访问已经没有数据的结果集中下一行,即所有行已经被遍历完,尝试访问超出范围...
- 测试结果表明当前节点无法与其他服务器建立连接,即使是本地使用SSMS也无法连接。 3. **查看操作系统版本**: - 确认当前系统版本为Windows Server 2008 SP1。 - 这与Windows Server 2008的一个已知bug有关,...
根据导电方式的不同,MOSFET又分增强型、耗尽型。所谓增强型是指:当VGS=0时管子是呈截止状态,加上正确的VGS后,多数载流子被吸引到栅极,从而“增强”了该区域的载流子,形成导电沟道。 N沟道增强型MOSFET基本上是...
Windows Server 2008 R2 内存耗尽解决方案 Windows Server 2008 R2 是微软公司推出的服务器操作系统之一,但是在实际使用中,可能会出现内存耗尽的问题,导致服务器性能下降,影响业务运行。于是,微软官方发布了...
### 耗尽层电容:理解半导体器件中的关键概念 在深入探讨耗尽层电容之前,我们先来理解一下基本的背景知识。半导体器件是现代电子技术的核心,其性能和特性很大程度上取决于其中的电容效应。电容,作为存储电荷的...
在IT行业中,模拟网络、CPU和内存耗尽的环境是一种重要的测试和调试技术。这种环境可以帮助开发者和系统管理员了解在极端条件下,他们的软件或硬件如何表现,以及如何优化资源使用和处理性能瓶颈。以下是对这些工具...
标题《GE 非耗尽型电解液氧电池 说明.pdf》和描述《GE 非耗尽型电解液氧电池 说明pdf,GE 非耗尽型电解液氧电池 说明》暗示着本文件是关于通用电气(GE)公司生产的非耗尽型电解液氧电池的技术说明书。根据给出的部分...
另外,对于大规模的数据集,还应考虑内存管理和存储优化,以避免因资源耗尽导致的程序崩溃。 在YOLO的C版本中添加用于批量处理TUM和KITTI数据集的接口,是一项具有实际应用价值的技术提升。它将极大地方便科研人员...
总的来说,场效应晶体管可区分为耗尽型和增强型两种。耗尽型场效应晶体管(D-FET)就是在0栅偏压时存在沟道、能够导电的FET;增强型场效应晶体管(E-FET)就是在0栅偏压时不存在沟道、不能够导电的FET。
在缓冲模式下,执行一次数据库查询会将结果集全部加载到内存中。这种方法的优点是便于程序对数据集进行多次处理,如遍历、统计和过滤操作。然而,缺点也非常明显:若数据量很大,会迅速耗尽内存资源。 2. 非缓冲...
ORA-0000到ORA-9999的错误通常涉及系统级的严重错误,如内存分配失败、系统资源耗尽等。例如,ORA-00600是内部错误,表明数据库遇到了未预期的情况,可能需要数据库恢复或与Oracle技术支持联系。而ORA-00911表示输入...
便携式电子产品正向轻量化、超小型化发展,为此锂离子电池得到广泛应用,比较常见的正极材料为钴酸锂和锰酸锂的锂离子电池,还有磷酸铁锂电池和磷酸铁锰电池等。 锂离子电池以能量高、寿命长、无记忆性、无污染等...
DoS攻击是互联网安全中的一个重要问题,它通过向目标系统发送大量无效请求,使其资源耗尽,从而导致正常服务无法进行。 ICC2017数据集旨在帮助研究人员和安全专家识别这些攻击模式,改进防御策略。 数据集中包含的...
C-C++内存耗尽常常遇到,在这里有各种耗尽情况的处理办法
该数据集呈现了移动货币交易的综合表示,经过精心制作,以反映现实世界金融活动的复杂性,同时将欺诈行为整合到研究目的中。该数据集源自一个名为PaySim的模拟器,该模拟器利用来自非洲国家移动货币服务实际财务日志...
互联网行业报告:移动流量红利耗尽之后的“新常态”与“新思维”(29页),资源名称:互联网行业报告:移动流量红利耗尽之后的“新常态”与“新思维”(29页)互联网行业大变局:移动流量红利耗尽之后的“新常态”与...
某高手耗尽毕生精力总结的电脑技巧某高手耗尽毕生精力总结的电脑技巧某高手耗尽毕生精力总结的电脑技巧某高手耗尽毕生精力总结的电脑技巧
### 耗尽关机传感器行业人事部门使用表格与管理要点 #### 一、行业背景与挑战 近年来,随着技术的不断进步和发展,耗尽关机传感器行业迎来了快速的发展期。这种传感器通常用于监测设备的能耗情况,在能源即将耗尽...
标题中的“2021年耗尽关机传感器行业行政部门表格协议汇总”表明这是一个关于2021年度在耗尽关机传感器行业的行政管理中所使用的各种表格和协议的综合文档。描述进一步确认了这份文档的主旨,即它是对这一年里不同...