提问者:小点点

XPages - 打开自定义控件导致莲花笔记客户端崩溃


我在Extension Library中使用Lotus Notes 8.5.3 FP1。我有一个自定义控件,每次尝试在Domino Designer中打开该自定义控件时,它都会导致Lotus Notes客户端崩溃。大多数自定义控件和Xpages都可以正常打开。如何调试和解决此问题?我已经尝试卸载并重新安装扩展库,但问题仍然存在。也不可能在浏览器中打开包含该自定义控件的XPage。这会导致错误500 HTTP Web服务器:命令未处理异常。

Started at: Tue May 06 13:13:23 2014
Ended   at: Tue May 06 13:13:41 2014
Time Spent: 00:00:18

Generated Messages:

   INFO (0): This NSD was generated due to a Domino shutdown hang.
         There will not be a FATAL thread.  Any processes/threads other than
         the main server thread and the server timeout thread which started
         this NSD should be examined to determine why they did not terminate
         when requested to do so.

   INFO (0): failed to match all of the Notes processes
   INFO (0): Directory Listing for Workspace Logs not generated (no such directory).
   INFO (0): No Directory Listings for FT (none were open).
   INFO (0): terminated process [nNOTESMM:  0e90]
   INFO (0): terminated process [ belnapi:  1054]
   INFO (0): terminated process [ belnapi:  01f0]
   INFO (0): terminated process [ nserver:  0b34]
   INFO (0): process [nSMDreal:  0d90] has already terminated
   INFO (0): Deleting pid.nbf
   WARNING (0): proc [nSMDreal:  0d90] terminated
   ERROR (44): unable to open file 'C:\Lotus\Domino\framework\rcp\rcplauncher.properties' - (2) No such file or directory
   ERROR (0): Couldn't open the rcplauncher.properties file using the path C:\Lotus\Domino\framework\rcp\rcplauncher.properties to locate the workspace directory.



Please send the following files:

NSD Log : D:\Lotus\Domino\data\IBM_TECHNICAL_SUPPORT\nsd_W32I_chprone2_2014_05_06@13_13_23.log

共3个答案

匿名用户

我见过当SourceControl出现问题时发生这种情况。特别是使用SourceTree。我有一个案例,如果你在包资源管理器中查看应用程序,我最终会得到一些名称末尾带有“orig”的设计元素的重复。所以我会有:mPage.xspmPage.xsp.orig

差不多吧。设计师不喜欢这样。删除所有原始文件解决了我的特殊问题。

如果您不使用源代码控制,我会从自定义控件复制标记并将其粘贴到全新的控件中。然后删除旧的。小心,因为复制标记不会获得任何自定义属性。

匿名用户

自定义控件是否包含具有大量内容的其他自定义控件?当您在Domino Designer中打开自定义控件时,它会加载内容的可视化表示。如果有很多,它可能会导致内存问题。

如果是这种情况,您将无法打开包含自定义控件的XPage。

对于大型自定义控件,我建议创建一个设计定义(自定义控件属性,在属性定义的正下方。这基本上是从要显示的东西的XPage中获取标记。您可以创建一个新的XPage,创建您想要显示的内容的布局,而不是全部内容,然后转到source选项卡并复制所有内容。Thyen将其粘贴到设计定义框中。

请参阅我为OpenNTFhttp://www.openntf.org/main.nsf/project.xsp?r=project/Dijit.Tooltip自定义控件所做的这个项目中的工具提示自定义控件。设计定义基本上告诉它显示一个图像而不是完整的自定义控件,并且该图像记录了需要设置的内容。

匿名用户

非常感谢您的回复。我通过在另一台PC上用Domino Designer 9打开定制控件解决了这个问题。不知何故,代码中出现了一些语法错误。在移除这些并清理项目之后,我又可以正常地使用designer 8.5.3了