Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Progress bar keeps running after plugin stops on an exception.
Progress bar keeps running after plugin stops on an exception. [message #174936] Wed, 25 August 2004 05:32 Go to next message
Eclipse UserFriend
Originally posted by: vikram.naik.patni.com

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.
Re: Progress bar keeps running after plugin stops on an exception. [message #174968 is a reply to message #174936] Wed, 25 August 2004 05:56 Go to previous message
Eclipse UserFriend
Originally posted by: vikram.naik.patni.com

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.
>
Previous Topic:build file visible in package explorer
Next Topic:Can't set Javadoc location for Eclipse libraries; Open External Javadoc (Shift+F2) doesn't work
Goto Forum:
  


Current Time: Thu Nov 06 01:18:42 EST 2025

Powered by FUDForum. Page generated in 0.04792 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top