Quantcast
Channel: Caliburn.Micro: Xaml Made Easy
Viewing all articles
Browse latest Browse all 1760

Commented Issue: NullReferenceException in TaskController [215]

$
0
0
I think that we should check if @event is null in line 102 in OnResurrected method

var @event = taskType.GetEvent("Completed");

the same as it's checked in 53 line in Handle<TaskExecutionRequested>.Handle(TaskExecutionRequested message)

if(@event != null) {
request = message;

because not all events contains Completed method.
Comments: Any suggestions how to fix/workaround this issue?

Viewing all articles
Browse latest Browse all 1760

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>