Project: Eclipse_Platform_UI
Bug 73926 [Decorators] [RCP] NoClassDefFoundError: org/eclipse/ui/internal/progress/TaskInfo
Reported: 2004-09-14 16:41:42 | Status: verified fixed

We are building an RCP application based on 3.0 Eclipse. In general, things work extremely well. We have an intermittent problem during application shutdown where we get the above NoClassDefFoundError. It appears that this is probably a race condition that causes the associated classloader to be shut down before the decorators thread has been stopped. Because this happens during shutdown, it does not have a detrimental effect on the running of the application, although it may induce some concern amongst users of the application if it occurs. The full stack trace that is written to the console follows: java.lang.NoClassDefFoundError: org/eclipse/ui/internal/progress/TaskInfo at org.eclipse.ui.internal.progress.JobInfo.beginTask(JobInfo.java:150) at org.eclipse.ui.internal.progress.ProgressManager$JobMonitor.beginTask(ProgressManager.java:167) at org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(DecorationScheduler.java:220) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)

Files changed in fix:
bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/decorators/DecorationScheduler.java