Skip to content

Show proper error message for uncaught exceptions #2288

@tobiasdiez

Description

@tobiasdiez

JabRef latest version on Win 10

Steps to reproduce:

  1. Add somewhere a throw new NPE() (for example, when showing the AboutDialog)
  2. Perform the action which invokes this code
  3. Nothing happens (e.g. no AboutDialog appears) but also no error message is displayed. (Although an error is logged in the error console.)

With #2287 the uncaught error is logged properly, but still no error message is displayed to the user. However, the code in FallbackExceptionHandler can easily be adapted to show a message to the user, see e.g. http://www.javaspecialists.eu/archive/Issue196.html.
As there is an ExceptionDialog for JavaFX, I mark this issue as after-javafx.

Metadata

Metadata

Assignees

No one assigned

    Labels

    [outdated] type: bugConfirmed bugs or reports that are very likely to be bugsgood first issueAn issue intended for project-newcomers. Varies in difficulty.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions