Uploaded image for project: 'OpenFlowPlugin'
  1. OpenFlowPlugin
  2. OPNFLWPLUG-491

NPE while restconf flow update

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Cannot Reproduce
    • None
    • None
    • General
    • None
    • Operating System: Linux
      Platform: PC

    • 3616
    • High

    Description

      odl: Lithium RC0

      features: odl-openflowplugin-flow-services-ui (He design plugin)
      or
      features: odl-openflowplugin-flow-services-ui-li (Li design plugin)

      i have run suites from integration git as
      pybot -v CONTROLLER:10.25.2.9 -v MININET:127.0.0.1 -v MININET_USER:mininet -v USER_HOME:/home/mininet -v RESTCONFPORT:8181 tools/OF_Test/robot_suites/998_Independent_OF_Tests_ovs/020_Flow_Data_Tests.txt csit/suites/openflowplugin/Flows_OF13 csit/suites/openflowplugin/Flows_Stats_OF13 csit/suites/openflowplugin/Flows_Additional_TCs/Stat_Manager_extended

      running just suite csit/suites/openflowplugin/Flows_Additional_TCs/Stat_Manager_extended does not replicate the case and test are passing

      updating the flow in config datastore returns http status 400 with {"errors":{"error":[

      {"error-type":"protocol","error-tag":"malformed-message","error-message":"Error parsing input: Content is not allowed in prolog."}

      ]}}

      He designed ofp:

      2015-06-08 08:48:00,964 | WARN | tp2108625922-608 | ServletHandler | 208 - org.eclipse.jetty.aggregate.jetty-all-server - 8.1.15.v20140411 | /restconf/operations/sal-flow:update-flow
      java.lang.NullPointerException
      at org.opendaylight.openflowplugin.openflow.md.core.sal.OFRpcTaskFactory$2OFRpcTaskImpl.<init>(OFRpcTaskFactory.java:320)
      at org.opendaylight.openflowplugin.openflow.md.core.sal.OFRpcTaskFactory.createUpdateFlowTask(OFRpcTaskFactory.java:414)
      at org.opendaylight.openflowplugin.openflow.md.core.sal.ModelDrivenSwitchImpl.updateFlow(ModelDrivenSwitchImpl.java:230)

      Li designed ofp:

      2015-06-08 09:04:01,719 | ERROR | entLoopGroup-6-2 | ExecutionList | 61 - com.google.guava - 18.0.0 | RuntimeException while executing runnable com.google.common.util.concurrent.Futures$6@112f6844 with executor INSTANCE
      java.lang.NullPointerException
      at org.opendaylight.openflowplugin.impl.services.SalFlowServiceImpl$3.onSuccess(SalFlowServiceImpl.java:157)[195:org.opendaylight.openflowplugin.impl:0.1.0.Lithium-RC0]
      at org.opendaylight.openflowplugin.impl.services.SalFlowServiceImpl$3.onSuccess(SalFlowServiceImpl.java:151)[195:org.opendaylight.openflowplugin.impl:0.1.0.Lithium-RC0]
      at com.google.common.util.concurrent.Futures$6.run(Futures.java:1319)[61:com.google.guava:18.0.0]
      at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:457)[61:com.google.guava:18.0.0]

      Attachments

        1. karaf.log
          95 kB
        2. karaf.log.He.zip
          23 kB
        3. karaf.log.li.zip
          18 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jgloncak Jozef Gloncak
            pgubka@cisco.com Peter Gubka
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: