Uploaded image for project: 'netconf'
  1. netconf
  2. NETCONF-396

Delete on path with no data fails

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • None
    • None
    • netconf
    • None
    • Operating System: All
      Platform: All

    • 8196

    Description

      after first delete on empty path we receive 404 with following error in karaf

      2017-04-10 10:21:57,265 | ERROR | ult-dispatcher-4 | OneForOneStrategy | 182 - com.typesafe.akka.slf4j - 2.4.17 |
      java.lang.NullPointerException
      at org.opendaylight.netconf.topology.singleton.impl.tx.NetconfMasterDOMTransaction.cancel(NetconfMasterDOMTransaction.java:154)[316:org.opendaylight.netconf.topology-singleton:1.2.0.SNAPSHOT]
      at org.opendaylight.netconf.topology.singleton.impl.tx.NetconfWriteOnlyTransaction.cancel(NetconfWriteOnlyTransaction.java:72)[316:org.opendaylight.netconf.topology-singleton:1.2.0.SNAPSHOT]
      at org.opendaylight.netconf.topology.singleton.impl.RemoteOperationTxProcessorImpl.doCancel(RemoteOperationTxProcessorImpl.java:101)[316:org.opendaylight.netconf.topology-singleton:1.2.0.SNAPSHOT]
      at org.opendaylight.netconf.topology.singleton.impl.actors.NetconfNodeActor.resolveProxyCalls(NetconfNodeActor.java:184)[316:org.opendaylight.netconf.topology-singleton:1.2.0.SNAPSHOT]
      at org.opendaylight.netconf.topology.singleton.impl.actors.NetconfNodeActor.onReceive(NetconfNodeActor.java:128)[316:org.opendaylight.netconf.topology-singleton:1.2.0.SNAPSHOT]
      at akka.actor.UntypedActor$$anonfun$receive$1.applyOrElse(UntypedActor.scala:165)[181:com.typesafe.akka.actor:2.4.17]
      at akka.actor.Actor$class.aroundReceive(Actor.scala:497)[181:com.typesafe.akka.actor:2.4.17]
      at akka.actor.UntypedActor.aroundReceive(UntypedActor.scala:95)[181:com.typesafe.akka.actor:2.4.17]
      at akka.actor.ActorCell.receiveMessage(ActorCell.scala:526)[181:com.typesafe.akka.actor:2.4.17]
      at akka.actor.ActorCell.invoke(ActorCell.scala:495)[181:com.typesafe.akka.actor:2.4.17]
      at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:257)[181:com.typesafe.akka.actor:2.4.17]
      at akka.dispatch.Mailbox.run(Mailbox.scala:224)[181:com.typesafe.akka.actor:2.4.17]
      at akka.dispatch.Mailbox.exec(Mailbox.scala:234)[181:com.typesafe.akka.actor:2.4.17]
      at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)[177:org.scala-lang.scala-library:2.11.8.v20160304-115712-1706a37eb8]
      at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)[177:org.scala-lang.scala-library:2.11.8.v20160304-115712-1706a37eb8]
      at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)[177:org.scala-lang.scala-library:2.11.8.v20160304-115712-1706a37eb8]
      at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)[177:org.scala-lang.scala-library:2.11.8.v20160304-115712-1706a37eb8]

      the next one gives me 500 with following error in karaf
      2017-04-10 10:23:29,765 | ERROR | lt-dispatcher-15 | OneForOneStrategy | 182 - com.typesafe.akka.slf4j - 2.4.17 |
      java.lang.NullPointerException
      at org.opendaylight.netconf.topology.singleton.impl.actors.NetconfNodeActor.resolveProxyCalls(NetconfNodeActor.java:156)[316:org.opendaylight.netconf.topology-singleton:1.2.0.SNAPSHOT]
      at org.opendaylight.netconf.topology.singleton.impl.actors.NetconfNodeActor.onReceive(NetconfNodeActor.java:128)[316:org.opendaylight.netconf.topology-singleton:1.2.0.SNAPSHOT]
      at akka.actor.UntypedActor$$anonfun$receive$1.applyOrElse(UntypedActor.scala:165)[181:com.typesafe.akka.actor:2.4.17]
      at akka.actor.Actor$class.aroundReceive(Actor.scala:497)[181:com.typesafe.akka.actor:2.4.17]
      at akka.actor.UntypedActor.aroundReceive(UntypedActor.scala:95)[181:com.typesafe.akka.actor:2.4.17]
      at akka.actor.ActorCell.receiveMessage(ActorCell.scala:526)[181:com.typesafe.akka.actor:2.4.17]
      at akka.actor.ActorCell.invoke(ActorCell.scala:495)[181:com.typesafe.akka.actor:2.4.17]
      at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:257)[181:com.typesafe.akka.actor:2.4.17]
      at akka.dispatch.Mailbox.run(Mailbox.scala:224)[181:com.typesafe.akka.actor:2.4.17]
      at akka.dispatch.Mailbox.exec(Mailbox.scala:234)[181:com.typesafe.akka.actor:2.4.17]
      at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)[177:org.scala-lang.scala-library:2.11.8.v20160304-115712-1706a37eb8]
      at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)[177:org.scala-lang.scala-library:2.11.8.v20160304-115712-1706a37eb8]
      at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)[177:org.scala-lang.scala-library:2.11.8.v20160304-115712-1706a37eb8]
      at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)[177:org.scala-lang.scala-library:2.11.8.v20160304-115712-1706a37eb8]

      and any other request will also fail. Looks like we are trying to call cancel on writeTx which is null...

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            miroslav.kovac@pantheon.tech Miroslav Kovac
            miroslav.kovac@pantheon.tech Miroslav Kovac
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: