NullPointerException and RuntimeException Occurs when refresh the page [message #531751] |
Thu, 06 May 2010 03:05 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
lsq ![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=lishuqiang%40hotmail.com) Messages: 40 Registered: July 2009 |
Member |
|
|
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.03096 seconds