[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.jdt] Re: Progress bar keeps running after plugin stops on an exception.

Hello,

Found the bug, it was in my code. I am using IRunnableWithProgress to execute the process. In run method the ProgressMonitors "done()" method was not invoked when the method exits in any case. Hence placed a finally block, which called pm.done() when the method exits and that solved the problem.

-Vikram.



Vikram wrote:

Hello,

I am developing a plugin for Eclipse 3.0 . When an exception is encountered the plugin's execution stops, but the progress bar shown in the status bar of Eclipse 3.0 keeps on running.

I am also using org.eclipse.ui.console.MessageConsole to show some messages to user. Can it be due to the MessageConsole as it uses some threading to pole for new messages ?

Please comment.

Thanks,
-Vikram.