Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-8810

[fiware-stackoverflow] NullPointerException in DoSAttack2 example with CEP

    Details

      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 =

      { "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

        Activity

        backlogmanager Backlog Manager created issue -
        backlogmanager Backlog Manager made changes -
        Field Original Value New Value
        Component/s FIWARE-TECH-HELP [ 10278 ]
        backlogmanager Backlog Manager made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        backlogmanager Backlog Manager made changes -
        Status In Progress [ 3 ] Answered [ 10104 ]
        jicg José Ignacio Carretero Guarde made changes -
        Labels cep fiware cep fiware fiware-cep
        jicg José Ignacio Carretero Guarde made changes -
        Assignee Backlog Manager [ backlogmanager ]
        jicg José Ignacio Carretero Guarde made changes -
        Resolution Done [ 10000 ]
        Status Answered [ 10104 ] Closed [ 6 ]
        fla Fernando Lopez made changes -
        HD-Enabler CEP [ 10869 ]
        Description
        Created question in FIWARE Q/A platform on 07-01-2017 at 12:01
        {color: red}Please, ANSWER this question AT{color} 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 =
        {
            "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
        Created question in FIWARE Q/A platform on 07-01-2017 at 12:01
        {color: red}Please, ANSWER this question AT{color} 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 =
        {
            "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
        fla Fernando Lopez made changes -
        Fix Version/s 2021 [ 12600 ]

          People

          • Assignee:
            backlogmanager Backlog Manager
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: