We use proprietary and third party´s cookies to improve your experience and our services, identifying your Internet Browsing preferences on our website; develop analytic activities and display advertising based on your preferences. If you keep browsing, you accept its use. You can get more information on our Cookie Policy
Cookies Policy
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

NullPointerException in DoSAttack2 example with CEP

I'm using CEP (cep-r5.4.3-img) for the DoSAttack2.json example and when I try to make a POST like this: http://public_IP:8080/ProtonOnWebServer/rest/events with Headers = Content-Type : application/json and Body = { "Name":"TrafficReport", "volume":"1000" }

I've got this error:

INFO: started event message body reader Jan 07, 2017 10:58:50 AM com.ibm.hrl.proton.webapp.providers.EventJSONMessageReader readFrom INFO: name value: TrafficReport looking for: Name Jan 07, 2017 10:58:50 AM com.ibm.hrl.proton.webapp.providers.EventJSONMessageReader readFrom SEVERE: Could not parse json event java.lang.NullPointerException, reason: null

Could you help me?

Regards,

Pasquale