Community
Participate
Working Groups
I have had several occasions over the past two weeks when my workbench has stopped being decorated. There has never been anything in the log that pointed to an exception involving decorators or the decorator thread. I have been running with CVS, binary and linked decorators on. On the latest occurance, I was able to capture the javacore traceback which indicates that the decorator thread is not present.
Created attachment 4560 [details] javacore traceback without decorator thread
Could be a place where we are not handling exceptions from decorators correctly. Mike can you give any hints as to where you guys might have had problems of late?
It hasn't happened for a couple days now. I do most of my work in the Java browsing perspective so it may be involved. Unfortunately, I can't give you anything more specific.
Marking as WORKSFORME as it cannot be replicated
This just happened again for me. Here's my buid info: Version: 2.1.0 Build id: 200305071417 I noticed that in the run method of the decorator thread, no runtime exceptions are caught. Perhaps they could be caught and at least logged so that there is some indication of what happened, even if the decorator thread still dies in this case. Also, it would be nice if there was some way of restarting the thread without restarting Eclipse. For example, if I explicitly turn on a decorator, it would be nice if the decorator thread was revived.
I have released a fix in to the HEAD stream which now catches the exception and then logs it to the .log file. This should prevent Thread death and let us know what is going on.
Marking closed