Merge pull request #553 from larsfinander/boseNpeFix

DVCSMP-1521 NPE in Bose (Connect)
This commit is contained in:
Lars Finander
2016-02-25 11:17:56 -08:00

View File

@@ -353,7 +353,7 @@ def onLocation(evt) {
}
else if (
lanEvent.headers && lanEvent.body &&
lanEvent.headers."content-type".contains("xml")
lanEvent.headers."content-type"?.contains("xml")
)
{
def parsers = getParsers()