weblogic部署项目报空指针异常,急!急!急!急!
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了weblogic部署项目报空指针异常,急!急!急!急!相关的知识,希望对你有一定的参考价值。
####<2012-5-1 下午08时30分00秒 PDT> <Error> <HTTP> <hbgs-1n9nfxn8e8> <ManagedServer_1> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1335929400847> <BEA-101020> <[weblogic.servlet.internal.WebAppServletContext@11b896d8 - appName: 'Learning', name: 'Learning', context-path: '/Learning'] Servlet failed with Exception
java.lang.NullPointerException
at weblogic.servlet.internal.ServletResponseImpl.sendError(ServletResponseImpl.java:610)
at org.apache.struts2.dispatcher.Dispatcher.sendError(Dispatcher.java:771)
at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:506)
at org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77)
at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:91)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3242)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2010)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1916)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
>
(求救)项目在tomcat想正常,部署到weblogic9下 一旦调用action就报空指针
<2013-4-7 上午07时13分14秒 GMT> <Error> <HTTP> <BEA-101020> <[weblogic.servlet.internal.WebAppServletContext@d36a6d - appName: '_appsdir_sendSms_dir', name: 'sendSms', context-path: '/sendSms'] Servlet failed with Exception
java.lang.NullPointerException
at weblogic.servlet.internal.ServletResponseImpl.sendError(ServletResponseImpl.java:600)
at org.apache.struts2.dispatcher.Dispatcher.sendError(Dispatcher.java:852)
at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:534)
at org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77)
at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:91)
Truncated. see log file for complete stacktrace
>
配置没问题呀
追答这个好像是你哪里指向了一个不存在的类,你还是把错误信息全部发出来嘛,你截的图后边信息看不到
追问我指向的是一个action,异常已全部贴出
参考技术B 用的什么框架?以上是关于weblogic部署项目报空指针异常,急!急!急!急!的主要内容,如果未能解决你的问题,请参考以下文章
急!ssh+json 空指针异常(net.sf.json.JSONException: java.lang.NullPointerException)
(求救)项目在tomcat想正常,部署到weblogic9下 一旦调用action就报空指针