Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • B bjgf
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 127
    • Issues 127
    • List
    • Boards
    • Service Desk
    • Milestones
  • Jira
    • Jira
  • Packages and registries
    • Packages and registries
    • Model experiments
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • BlueJ
  • bjgf
  • Issues
  • #2014

[GREENFOOT-679] SoundExceptionHandler.handleLineUnavailableException needs to work differently

The method SoundExceptionHandler.handleLineUnavailableException runs on the debug VM, and currently it shows a Swing dialog. This is not a good idea any more as that process doesn't run any GUI. We could get the delegate it calls to send a message to the server VM (or use a special breakpoint). However, I remember that when this used to crop up regularly on Linux, the dialog was pretty annoying anyway. I propose we instead switch it to print out to the System.err console like the neighbouring handleBlahException methods.

After this is done, GreenfootUtil.displayMessage can be removed, as can GreenfootUtilDelegate.displayMessage.


Issue metadata

  • Issue type: Bug
  • Priority: Medium
  • Fix versions: 3.5.0
Assignee
Assign to
Time tracking