|NullPointerException and RuntimeException Occurs when refresh the page [message #531751]
|Thu, 06 May 2010 03:05
Registered: July 2009
That problems seems to be a long time. When I refresh the webpage, errors occurs when to close the editors. The difference is that they are now printed out. It seems to like when calling SessionStoreListeners, rap generate a fake context when fake request/response to be used by the context provider. While the fake request don't have a valid servlet path or anything relevant. Then, when the presentation try to close editors that are not closed yet, it will try to consort to context provider for branding information (may for different reasons, this depends on your target platform),
The problem can be that the workbench is not completely shutdown due to the exception, and may lead to memory leaks that can be a serious problem for web applications. I tried to fixed this problem by settting the CLOSE_EDITORS_ON_EXIT preference to true, so that editors can be closed early than the workbench window are closed, and those exceptions are swallowed before workbench is shutdown. This is not ideal if when workbench implementaion changes, are there suggestions on this issue?
Thanks in advance.
Powered by FUDForum
. Page generated in 0.02498 seconds