Uploaded image for project: 'Apache Hop (Retired)'
  1. Apache Hop (Retired)
  2. HOP-4506

Hop Web doesn't like Display.getDefault()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.1.0
    • 2.2.0
    • API, Hop GUI, Hop Web
    • None

    Description

      Our docs state that a non-UI thread doesn't support Display.getDefault().

      In general it's safer to switch to HopGui.getInstance().getDisplay() as it prevents needless nullpointer exceptions.

      Attachments

        Issue Links

          Activity

            People

              mcasters Matt Casters
              mcasters Matt Casters
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: