XPages:有人可以阐明这些消息吗? [英] XPages: can someone shed some light on these messages?

查看:55
本文介绍了XPages:有人可以阐明这些消息吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

15/07/15 11:04: Exception Thrown
Context Path: /aalto803.nsf
Page Name: /Preferences.xsp
javax.faces.FacesException
    at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:102)
    at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:210)
    at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:96)
    at com.ibm.xsp.controller.FacesControllerImpl.execute(FacesControllerImpl.java:256)
    at com.ibm.xsp.webapp.FacesServlet.serviceView(FacesServlet.java:228)
    at com.ibm.xsp.webapp.FacesServletEx.serviceView(FacesServletEx.java:157)
    at com.ibm.xsp.webapp.FacesServlet.service(FacesServlet.java:160)
    at com.ibm.xsp.webapp.FacesServletEx.service(FacesServletEx.java:138)
    at com.ibm.xsp.webapp.DesignerFacesServlet.service(DesignerFacesServlet.java:103)
    at com.ibm.designer.runtime.domino.adapter.ComponentModule.invokeServlet(ComponentModule.java:576)
    at com.ibm.domino.xsp.module.nsf.NSFComponentModule.invokeServlet(NSFComponentModule.java:1335)
    at com.ibm.designer.runtime.domino.adapter.ComponentModule$AdapterInvoker.invokeServlet(ComponentModule.java:853)
    at com.ibm.designer.runtime.domino.adapter.ComponentModule$ServletInvoker.doService(ComponentModule.java:796)
    at com.ibm.designer.runtime.domino.adapter.ComponentModule.doService(ComponentModule.java:565)
    at com.ibm.domino.xsp.module.nsf.NSFComponentModule.doService(NSFComponentModule.java:1319)
    at com.ibm.domino.xsp.module.nsf.NSFService.doServiceInternal(NSFService.java:662)
    at com.ibm.domino.xsp.module.nsf.NSFService.doService(NSFService.java:482)
    at com.ibm.designer.runtime.domino.adapter.LCDEnvironment.doService(LCDEnvironment.java:357)
    at com.ibm.designer.runtime.domino.adapter.LCDEnvironment.service(LCDEnvironment.java:313)
    at com.ibm.domino.xsp.bridge.http.engine.XspCmdManager.service(XspCmdManager.java:272)
Caused by: java.lang.NullPointerException
    at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:317)
    at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:428)
    at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:94)
    ... 19 more

我们正在寻找内存泄漏的过程,因此我们可以添加必要的recycle()语句.我们要做的是:我们在应用程序中打开一个文档,保存并关闭它,然后多次.我们可以看到,在大多数情况下,几次使用后内存使用量会稳定下来,这似乎是一个好兆头.但是不时地,在大约重复10次之后,应用程序停止,并显示上面的消息(NullPointerException)或NoAccessSignal.

We're in the process of finding memory leaks, so we can add the necessarye recycle() statements. What we do is this: we open a document in our application, save and close it, and that multiple times. We can see that memory usage stabilizes after a few times, in most cases, which seems a good sign. But every now and then, after some 10 repeats or so, the application stops, with the message above (NullPointerException), or with NoAccessSignal.

不知道从哪里开始寻找...任何想法?

No clue as to where to start looking... Any ideas??

以防万一有人怀疑为什么我们不使用OpenNTF库:该应用程序必须在R8.5 Domino服务器上运行.

Just in case someone wonders why we don't use OpenNTF library: the application has to run on an R8.5 Domino server.

推荐答案

我将检查您是否不回收任何数据库对象. 还可以在代码中使用print添加多个try {} catch()语句,以便您查找代码崩溃的位置以缩小问题的范围.

I would check that you don't recycle any database objects. Also add multiple try{}catch() statements in your code with print so you can find where the code crashes to narrow down the problem.

您还可以检查状态以及应用程序/会话超时的配置方式 http://www.dalsgaard-data.eu/blog/tuning-your- xpages/

Also you could check how you state and application / session timeout is configured http://www.dalsgaard-data.eu/blog/tuning-your-xpages/

这篇关于XPages:有人可以阐明这些消息吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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