weblogic错误500--内部服务器错误



在尝试用web应用程序加载网页时,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)

你能帮我修一下吗?

我发现了问题所在。实际上,我正在加载的页面是从数据库中获取数据,而这些数据恰好是旧数据,甚至在数据库中被删除了。

相关内容

  • 没有找到相关文章

最新更新