eiffel-community/eiffel-intelligence

NullPointerException thrown if meta.id is not found in a consumed event

Aperta

#453 aperta il 17 apr 2020

 (1 commento) (0 reazioni) (0 assegnatari)Java (78 fork)auto 404
buggood first issue

Metriche repository

Star
 (12 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Description

EventHandler throwns a NullPointerException if the meta.id field is not found in consumed event. This can be done better with the event being ignored and better message in the log. There is no actual validation of the event with a schema and it is this way by design to allow technically any type of protocol.

Motivation

A better explanation in the log.

Exemplification

Benefits

Possible Drawbacks

Guida contributor