Uploaded image for project: 'Greenfoot'
  1. Greenfoot
  2. GREENFOOT-631

Recompile/Reset while an Inspector is opened throws wrong-thread exception

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: 3.1.0
    • Fix Version/s: 3.5.0
    • Component/s: Greenfoot UI
    • Sprint:
      Greenfoot FX Rewrite

      Description

      • Create an actor
      • open the object inspector for that actor
      • Reset or change the code and recompile while having the object inspector still open
        This will throw an exception: java.lang.IllegalStateException: Not on FX application thread

      Tested on Mac and Windows.

      In BlueJ / former Greenfoot-versions the object inspector is / was closed when the code was compiled. I guess this is the way it should be.

      Reported by Thomas Karp.

        Attachments

          Activity

            People

            • Assignee:
              amjad Amjad Altadmri
              Reporter:
              amjad Amjad Altadmri
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: