登录时出现
HTTP Status 500 - type Exception reportmessage description The server encountered an internal error () that prevented it from fulfilling this request.exception javax.servlet.ServletException
com.opensymphony.webwork.dispatcher.DispatcherUtils.serviceAction(DispatcherUtils.java:284)
com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:202)
org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)
root cause java.lang.NullPointerException
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.27 logs.
这是怎么回事啊?怎么解决啊?

解决方案 »

  1.   

    查看一下tomcat的后台日志cat。。.out,看看报啥错误。你提供的信息定位不了问题的,
      

  2.   

    后台没错误信息的。
    我觉得 或许是获取数据时的问题,也或许是配置的数据库连接数问题。
    就是很迷糊。
    遇到这种情况怎么解决了。不能老是重启服务器的啊!
    有些账号可以登上,有些登不上,有些一会能登上,一会登不上。总之就是很不稳定。
    我用的是 Struts2+hibernate 3+spring 
      

  3.   

    转发派遣的时候遇到问题,你的struts.xml出问题啦