Free cookie consent management tool by TermsFeed Policy Generator

Opened 7 years ago

Closed 7 years ago

#2846 closed defect (done)

Uncaught ObjectDisposedExceptions

Reported by: pfleck Owned by: jkarder
Priority: medium Milestone: HeuristicLab 3.3.15
Component: Hive.Client Version: trunk
Keywords: Cc:

Description

In some cases there are uncaught ObjectDisposedException that crashes HeuristicLab without any warning.

For example, opening the HiveJobManager (Ctrl+H) and then closing it (Ctrl+W) as soon as it appears.

Change History (7)

comment:1 Changed 7 years ago by jkarder

  • Milestone changed from HeuristicLab 3.3.16 to HeuristicLab 3.3.15

comment:2 Changed 7 years ago by pfleck

  • Version set to trunk

r15419: Fixed uncaught ObjectDisposedException in HiveJobManagerView.

  • Caught a potential NullReferenceException in the HiveClient when ClearHiveClient is called asynchronous.
  • Use Task.Run for HiveClient.Refresh instead of Begin/EndInvoke.
  • Use await with try-catch to marshal back any uncaught exceptions back to the UI-thread where the exception is displayed instead of HL crashing.

comment:3 Changed 7 years ago by pfleck

  • Component changed from ### Undefined ### to Hive.Client
  • Status changed from new to accepted

comment:4 Changed 7 years ago by pfleck

  • Owner changed from pfleck to jkarder
  • Status changed from accepted to reviewing

comment:5 Changed 7 years ago by jkarder

  • Owner changed from jkarder to pfleck

Reviewed and made further changes, please check.

r15478:

  • only swallow a potential NullReferenceException while jobs are added
  • removed redundant check in OnContentChanged

comment:6 Changed 7 years ago by pfleck

  • Owner changed from pfleck to jkarder
  • Status changed from reviewing to readytorelease

Changes are ok.

comment:7 Changed 7 years ago by jkarder

  • Resolution set to done
  • Status changed from readytorelease to closed

r15495: merged r15419 and r15478 into stable

Note: See TracTickets for help on using tickets.