IBM JSF中FlashImpl.java中的空指针异常 [英] Null pointer exception in FlashImpl.java in IBM JSF

查看:71
本文介绍了IBM JSF中FlashImpl.java中的空指针异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有时我的Web应用程序中会出现一个空指针异常,该异常在RAD 8.5和WAS 8.5中运行.

I am getting a null pointer exception sometimes in my web application, which runs in RAD 8.5 and WAS 8.5 .

例外是:

An exception was thrown by one of the service methods of the servlet [Faces Servlet] in application [Gedit]. Exception created :
[java.lang.NullPointerException
at org.apache.myfaces.shared_impl.context.flash. FlashImpl.isKeepMessages(FlashImpl.java:367)
at org.apache.myfaces.shared_impl.context.flash. FlashImpl._saveMess`

我没有使用myfaces,而是使用了ibm faces.因此,我不了解此错误的可能原因.有人可以帮我吗?

I am not using myfaces, but the ibm faces. So , i am not understanding what may be the cause of this error . Can some one kindly help me out here ?

推荐答案

当将JSF 2.0(基于IBM Websphere 8.5.5的基础实现)部署到运行了其他应用程序的服务器时,我遇到了问题.重新启动服务器后,一切都很好.

I got the problem when a JSF 2.0 (base IBM Websphere 8.5.5 implementation) was deployed to a running server that had other applications on it. After restarting the server, everything was fine.

这篇关于IBM JSF中FlashImpl.java中的空指针异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆