When the next-hop value is put as empty value in flowspec, a NPE will be thrown.
next-hop attribute is a mandatory attribute in BGP update message. However, it could have zero length in flowspec. ODL is not handling the zero-length case properly.
Related issue:
https://bugs.opendaylight.org/show_bug.cgi?id=5791