Hitachi Vantara Pentaho Community Forums
Results 1 to 7 of 7

Thread: Widget is disposed

  1. #1

    Default Widget is disposed

    In one PC, with Kettle 3.0.3 and windows xp, I have very often this error: Widget is disposed
    and after closing the error windows, the Kettle program close automatically.
    This appen when I make a right click to open a step after I have opened some (five to ten) steps with double click.

    The detail of the error:

    org.eclipse.swt.SWTException: Widget is disposed
    at org.eclipse.swt.SWT.error(Unknown Source)
    at org.eclipse.swt.SWT.error(Unknown Source)
    at org.eclipse.swt.SWT.error(Unknown Source)
    at org.eclipse.swt.widgets.Widget.error(Unknown Source)
    at org.eclipse.swt.widgets.Widget.checkWidget(Unknown Source)
    at org.eclipse.swt.widgets.MenuItem.setText(Unknown Source)
    at org.pentaho.xul.swt.menu.MenuItem.setText(MenuItem.java:65)
    at org.pentaho.di.ui.spoon.job.JobGraph.setMenu(JobGraph.java:1197)
    at org.pentaho.di.ui.spoon.job.JobGraph$4.mouseDown(JobGraph.java:268)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
    at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
    at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
    at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:873)
    at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:5639)
    at org.pentaho.di.ui.spoon.Spoon.run(Spoon.java:5735)
    at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:371)

    Is there a way to avoid this?
    Thank you

  2. #2
    Join Date
    Nov 1999
    Posts
    9,729

    Default

    Try 3.0.4, we fixed a number of occurrences of this problem.

  3. #3

    Default

    The error happen also with 3.0.4.
    To be more accurate, the error occurs (now) always when:

    From Job1 I open Job2 (with right click of the mouse).
    from Job2 a open Transformation1 (with right click of the mouse).
    Then I close the last two tab opened, Transofrmation1 and Job2 (with the x on the tab).

    Then when I made a right click on any of the steps of the Job1, I have the error.
    With the 3.0.4 there is a new messagebox that ask to me if I want to continue with Spoon or not.

    The detail is a little bit different from the previous:

    org.eclipse.swt.SWTException: Widget is disposed
    at org.eclipse.swt.SWT.error(Unknown Source)
    at org.eclipse.swt.SWT.error(Unknown Source)
    at org.eclipse.swt.SWT.error(Unknown Source)
    at org.eclipse.swt.widgets.Widget.error(Unknown Source)
    at org.eclipse.swt.widgets.Widget.checkWidget(Unknown Source)
    at org.eclipse.swt.widgets.MenuItem.setText(Unknown Source)
    at org.pentaho.xul.swt.menu.MenuItem.setText(MenuItem.java:65)
    at org.pentaho.di.ui.spoon.job.JobGraph.setMenu(JobGraph.java:1204)
    at org.pentaho.di.ui.spoon.job.JobGraph$4.mouseDown(JobGraph.java:268)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
    at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
    at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
    at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:866)
    at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:5638)
    at org.pentaho.di.ui.spoon.Spoon.run(Spoon.java:5739)
    at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:371)

    Thank you for try to understand this problem.

    PS: With the step that I describe here, the error happen also with the 3.0.3 version of kettle.
    Last edited by pmfilippi; 06-26-2008 at 08:55 AM. Reason: Add info

  4. #4
    Join Date
    Nov 1999
    Posts
    9,729

    Default

    Look at it this way, if you would have filed a bug report (preferably not called "widget is disposed") it would have been fixed already.

  5. #5

    Default widget closed

    I got this mistake often as well on version 3.03

    I am going to upgrade it.

    What information do you need about the error ?.

    Usually if there is a process in background it keeps running until i click the ok error. So some parts of kettle keep working in spite of the message.
    They just finish when the process finish or when we press ok

  6. #6
    Join Date
    Nov 1999
    Posts
    9,729

    Default

    We usually need a stack trace and a method of reproducing the error.
    That last remark is the hardest part since usually we can't reproduce it.
    I once half an hour right clicking because I wanted to reproduce a similar bug and I simply couldn't.
    In this case, most if not all of the issues are gone in version 3.1 since we reworked the GUI a bit.

    Matt

  7. #7
    Join Date
    Oct 2007
    Posts
    255

    Default asdf

    Get the latest nightly build:

    ftp://download.pentaho.org/client/da...egration/3.1.0

    -Brian

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.