Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-ui-dev] SWTException occurs when message is written into console while the workbench is getting closed.

Hi,

  I got the following exception when I tried to write a message to console after workbench close action is invoked. ( I am using eclipse 3.4.2 version and my OS  is Win XP 32. )

    at org.eclipse.swt.SWT.error(SWT.java:3777)
    at org.eclipse.swt.SWT.error(SWT.java:3695)
    at org.eclipse.swt.SWT.error(SWT.java:3666)
    at org.eclipse.swt.widgets.Display.error(Display.java:1180)
    at org.eclipse.swt.widgets.Display.asyncExec(Display.java:648)
    at org.eclipse.ui.internal.console.ConsoleManager.warnOfContentChange(ConsoleManager.java:353)
    at org.eclipse.ui.console.IOConsoleOutputStream.notifyParitioner(IOConsoleOutputStream.java:250)
    at org.eclipse.ui.console.IOConsoleOutputStream.encodedWrite(IOConsoleOutputStream.java:240)
    at org.eclipse.ui.console.IOConsoleOutputStream.write(IOConsoleOutputStream.java:225)
    at org.eclipse.ui.console.MessageConsoleStream.print(MessageConsoleStream.java:56)
    at org.eclipse.ui.console.MessageConsoleStream.println(MessageConsoleStream.java:81)

Is there any way I can check that writing messages to console is no longer valid ?

Regards,
M.K.Aditya



Back to the top