Epic problem with Eclipse [message #673766] |
Tue, 24 May 2011 13:12  |
Eclipse User |
|
|
|
Hi all,
I am developing a plugin, it is a simple plug in that asks you a name for a file and the location of a file and it only has to rename the file with the given name, so when the finish button is pressed, my class is instantiated do the work, the problem comes here when I instantiate my class...
public boolean performFinish() {
file=new fileConverter();
return true;
}
I have debug it in the instantiation and the problem is the next one at the class window.class:
while (loopShell != null && !loopShell.isDisposed()) {
try {
if (!display.readAndDispatch()) {
display.sleep();
}
} catch (Throwable e) {
exceptionHandler.handleException(e);
}
}
it seems the program stays at the while forever and my plug in crashes, does anybody has an idea of what is going on?
Thank you all.
[Updated on: Tue, 24 May 2011 13:13] by Moderator
|
|
|
|
|
|
|
|
|
Re: Epic problem with Eclipse [message #674566 is a reply to message #674433] |
Fri, 27 May 2011 07:30  |
Eclipse User |
|
|
|
When it hits the readAndDispatch() call that you say it is stuck at ... please post a stack trace of that stack. This is a must. Show us the stack so we can know what the program thinks it is doing.
Also, you weren't clear about the actual steps that cause the problem.
1) the dialog appears
2) the user enters the new name
3) the user clicks Finish
... and then it just hangs? Or it actually executes the code in performFinish() and then hangs?
PW
|
|
|
Powered by
FUDForum. Page generated in 0.32312 seconds