尝试使用我的网络应用程序加载网页时,我正在使用weblogic 10.3获得500错误代码。
这是我的weblogic服务器中的日志
Apr 29, 2014 8:46:11 AM CDT> <Error> <HTTP> <BEA-101020> <[weblogic.servlet.internal.WebAppServletContext@142ef25 - appName: '_appsdir_MyApp_ear', name: 'MyApp', context-path:
'/MyApp', spec-version: 'null'] Servlet failed with Exception
java.lang.NullPointerException
at weblogic.servlet.internal.ServletResponseImpl.sendError(ServletResponseImpl.java:643)
at org.apache.wicket.protocol.http.WebRequestCycle.onExceptionLoop(WebRequestCycle.java:107)
at org.apache.wicket.RequestCycle.step(RequestCycle.java:1386)
at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1438)
at org.apache.wicket.RequestCycle.request(RequestCycle.java:546)
Truncated. see log file for complete stacktrace
这是我在浏览器中获得的内容
Error 500--Internal Server Error
java.lang.NullPointerException
at weblogic.servlet.internal.ServletResponseImpl.sendError(ServletResponseImpl.java:643)
at org.apache.wicket.protocol.http.WebRequestCycle.onExceptionLoop(WebRequestCycle.java:107)
at org.apache.wicket.RequestCycle.step(RequestCycle.java:1386)
at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1438)
at org.apache.wicket.RequestCycle.request(RequestCycle.java:546)
at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:486)
at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:319)
at com.uprr.ui.wicket.components.infrastructure.RicolaWicketFilter.doFilter(RicolaWicketFilter.java:25)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
你可以帮我解决这个问题吗?
答案 0 :(得分:0)
我发现了什么问题。实际上,我加载的页面是从数据库中获取数据,它们恰好是在数据库中删除的旧数据。