- 浏览: 226767 次
- 性别:
- 来自: 汨罗
文章分类
最新评论
-
tssinbc:
jpos-1.4.4.zip 这个包内容这么多,怎么使用啊,
JPos 学习 -
ruyi0127:
很棒, 棒我忙了
JQuery 弹出层,始终显示在屏幕正中间 -
csdxzsky:
好分享,谢谢
JPos 学习 -
lijunwyf41:
写的不错,期待更多的示例
JPos 学习 -
在世界的中心呼喚愛:
spp_1987 写道这个遮挡层不错 , 但是为什么取消这个遮 ...
JQuery 遮罩层
Exception from exceptionCommand 'servlet-exception'
- 博客分类:
- 常见问题及解决方案
2012-06-12 09:46:39,515 WARN (org.apache.struts.chain.commands.AbstractExceptionHandler:95) - Unhandled exception
java.lang.NullPointerException
at org.apache.struts.util.RequestUtils.rationalizeMultipleFileProperty(RequestUtils.java:504)
at org.apache.struts.util.RequestUtils.populate(RequestUtils.java:459)
at org.apache.struts.chain.commands.servlet.PopulateActionForm.populate(PopulateActionForm.java:50)
at org.apache.struts.chain.commands.AbstractPopulateActionForm.execute(AbstractPopulateActionForm.java:60)
at org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:51)
at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)
at org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:304)
at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)
at org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:283)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.unscard.web.filter.AuthenticationFilter.doFilter(AuthenticationFilter.java:50)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Unknown Source)
2012-06-12 09:46:39,515 WARN (org.apache.struts.chain.commands.ExceptionCatcher:165) - Exception from exceptionCommand 'servlet-exception'
java.lang.NullPointerException
at org.apache.struts.util.RequestUtils.rationalizeMultipleFileProperty(RequestUtils.java:504)
at org.apache.struts.util.RequestUtils.populate(RequestUtils.java:459)
at org.apache.struts.chain.commands.servlet.PopulateActionForm.populate(PopulateActionForm.java:50)
at org.apache.struts.chain.commands.AbstractPopulateActionForm.execute(AbstractPopulateActionForm.java:60)
at org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:51)
at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)
at org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:304)
at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)
at org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:283)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.unscard.web.filter.AuthenticationFilter.doFilter(AuthenticationFilter.java:50)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Unknown Source)
2012-6-12 9:46:39 org.apache.catalina.core.StandardWrapperValve invoke
严重: Servlet.service() for servlet action threw exception
java.lang.NullPointerException
at org.apache.struts.util.RequestUtils.rationalizeMultipleFileProperty(RequestUtils.java:504)
at org.apache.struts.util.RequestUtils.populate(RequestUtils.java:459)
at org.apache.struts.chain.commands.servlet.PopulateActionForm.populate(PopulateActionForm.java:50)
at org.apache.struts.chain.commands.AbstractPopulateActionForm.execute(AbstractPopulateActionForm.java:60)
at org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:51)
at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)
at org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:304)
at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)
at org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:283)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.unscard.web.filter.AuthenticationFilter.doFilter(AuthenticationFilter.java:50)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Unknown Source)
在执行修改的时候,在IE8报这个异常,但是在火狐和谷歌下正常,很奇怪。估计要跟踪源码才知道其原因。
问题出在jar包上。用1.38的就没有问题。用1.39的就有问题。
发表评论
-
hibernate char 字段的数据表只查出一个字符 问题解决
2013-01-15 13:55 1618ORACLE数据库中,字段类型CHAR(8),值123456 ... -
火狐下colspan不生效
2012-10-26 14:22 1144在火狐下colspan不生效 解决方法: 引起不生效 ... -
JSP直接读取用户上传的文件
2012-09-28 15:54 1573protected void doPost(HttpServl ... -
Eclipse非正常死亡后无法启动的处理方法
2012-09-28 13:36 3833原文出自:http://hi.baidu.com/collap ... -
WebService框架大比较(Axis,axis2,Xfire以及cxf)
2012-08-29 17:30 0WebService框架大比较(Axis,axis2,Xfir ... -
集成Spring 的 Junit测试
2012-08-21 15:07 0贴代码: public abstract class Abs ... -
JBPM5
2012-08-21 14:25 0http://www.cnblogs.com/skyme/ar ... -
Spring读取属性文件
2012-08-20 15:08 0SpringBeanFactory .get ... -
Log4j配置webAppRootKey
2012-04-16 09:40 1875引用 为了让Web项目中的Spring 使用Log4j做如下 ... -
Remember that ordinal parameters are 1-based!
2010-12-14 17:37 23979在网上找了N久,才找出我出问题的根源: 我首先要感谢: htt ... -
org.springframework.orm.hibernate3.HibernateQueryException: is not mapped
2010-12-13 15:09 2626今天碰到一个很郁闷的问题。纠结了一两个小时,硬是想不通。 后来 ... -
关于插入时间的问题
2010-12-09 14:29 792最近出现一个怪异的现象,就是我以前在XP系统上运行的好好的,现 ... -
Struts1.2的防重复提交可能出现的问题
2010-11-29 15:08 1235最近接到这样一张页面, 页面中要求写一篇文章,并且要求要有“ ... -
如果一个页面中要嵌入另一个域的页面
2010-11-18 19:16 1177通过测试,发现JSP的include 并不能完成我所想要的结果 ... -
关于单文本框中有复文本框功能的脚本的麻烦事
2010-11-17 11:32 1451最近看了一个维护项目,他们之前是用单文本框做的回复,可是回复中 ... -
关于request.getHeader("Referer")的问题
2010-11-11 16:41 23967今天我来分享一下,request.getHeader(&quo ... -
关于JSP中的注释
2010-11-11 16:30 1035前段时间维护了一个网站,他们用的是<c:out valu ...
相关推荐
nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userController' defined in ServletContext resource [/WEB-INF/springMVC-servlet.xml]: Error ...
创建自定义异常 Create Custom Exception1---马克-to-win java视频
创建自定义异常 Create Custom Exception3---马克-to-win java视频
异常(Exception)是程序运行时出现的错误情况,它中断了正常的代码执行流程。本篇文章将深入探讨Java异常处理机制,以及如何利用提供的三个示例文件(demo2、demo3、demo1)来理解这一概念。 Java异常处理基于五个...
### Kernel Panic - Not Syncing: Fatal Exception 解析与解决方案 #### 标题解析 - **Kernel Panic**: 内核恐慌,通常表示内核遇到了无法处理的严重错误。 - **Not Syncing**: 表示内核在尝试同步文件系统时失败。...
${module-exception.jar.path}"/> ${report.checkstyleReport.xml}"/> ${project.src}" includes="*/.java"/> ``` 4. **测试并验证:** 修改后,重新执行构建脚本,并通过Checkstyle报告验证是否解决了...
然而,这种基础机制往往不足以满足复杂应用的需求,因此,"xser_exception_handler"应运而生,旨在提供更加灵活和可扩展的解决方案。 该框架的核心思想是创建一个自定义的异常处理器类,它继承自PHP的`Exception`类...
在“Laravel开发-laravel-exception-email-notification”项目中,我们关注的是如何配置和使用Laravel来发送电子邮件通知,特别是在检测到mailable、job queue和emailEventHandler异常时。 首先,我们需要理解...
《PyPI官网下载:exception_reports-0.2.1-py3-none-any.whl》 在Python编程领域,PyPI(Python Package Index)是官方的软件仓库,它为开发者提供了大量的开源库和工具,便于他们构建、发布和分享Python应用程序。...
<exception-type>java.lang.Throwable</exception-type> <location>/error/global_error.jsp </error-page> ``` 6. **上下文参数** 应用程序的全局配置参数可以通过`<context-param>`元素定义,这些参数可以在...
5. Exception处理:通过try-catch-finally语句处理异常,或使用throws声明抛出异常。 通过这个教案,初学者将能够理解Servlet的工作原理,掌握Servlet的编码技巧,并学会解决常见的字符编码问题,从而为构建动态Web...
JD-GUI是使用C++开发的一款Java反编译工具,它是一个独立图形界面的Java源代码“.class”文件反编译工具。 JD-GUI是使用C++开发的一款Java反编译工具,它是一个独立图形界面的Java源代码“.class”文件反编译工具。
<exception-type>java.io.IOException</exception-type> <location>/common/error.jsp </error-page> ``` - `<exception-type>`:指定异常类型。 - `<location>`:异常发生时跳转的页面。 以上是关于Structs框架...
delphi中调试是出现Debugger Exception Notification
} catch (Exception e) { // 错误处理... } } // 初始化方法,从配置文件读取上传文件夹 public void init() throws ServletException { // ... } } ``` 别忘了在`web.xml`配置文件中注册这个Servlet,...
本主题“Exception-Catching---BOXES”主要探讨的是如何利用Java的异常处理机制来捕获和处理异常,以提高错误报告的可读性。 首先,我们来看Java中的异常类层次结构。它基于`Throwable`类,所有异常和错误都继承自...
String sql = "SELECT * FROM tbl_user"; ResultSet rs = st.executeQuery(sql); while (rs.next()) { // 处理查询结果 } rs.close(); st.close(); con.close(); } catch (Exception e) { e....
官方离线安装包,亲测可用
官方离线安装包,亲测可用