Details
- 
        Type:
Monitor
 - 
        Status: Closed
 - 
            Priority:
 Major
                
             - 
            Resolution: Done
 - 
            Affects Version/s: None
 - 
            Fix Version/s: 2021
 - 
            Component/s: FIWARE-TECH-HELP
 - 
            Labels:
 
- 
                        HD-Enabler:CEP
 
Description
Created question in FIWARE Q/A platform on 07-01-2017 at 12:01
Please, ANSWER this question AT https://stackoverflow.com/questions/41520821/nullpointerexception-in-dosattack2-example-with-cep
Question:
NullPointerException in DoSAttack2 example with CEP
Description:
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
Body = 
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
2017-05-22 21:06|UPDATED status: transition Answered| # answers= 1, accepted answer= False