Uploaded image for project: 'yangtools'
  1. yangtools
  2. YANGTOOLS-203

NPE after getting notification from router

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • None
    • None
    • None
    • None
    • Operating System: Windows
      Platform: PC

    • 1292

    Description

      2014-07-03 12:20:47.687 CEST [nettyThreadgroupModule$NioEventLoopGroupCloseable-7-1] TRACE o.o.c.s.c.n.l.NetconfDeviceCommunicator - RemoteDevice

      {172.23.29.104}

      : Notification received: <notification xmlns="urn:ietf:params:xml:ns:netconf:notification:1.0">
      <eventTime>2014-07-03T18:20:48UTC</eventTime>
      [NOTIFICATION BODY]
      </notification>

      2014-07-03 12:20:47.695 CEST [nettyThreadgroupModule$NioEventLoopGroupCloseable-7-1] WARN i.n.channel.DefaultChannelPipeline - An exceptionCaught() event was fired, and it reached at the tail of the pipeline. It usually means the last handler in the pipeline did not handle the exception.
      java.lang.NullPointerException: null
      at org.opendaylight.yangtools.yang.data.impl.codec.InstanceIdentifierForXmlCodec.findYoungestModuleByNamespace(InstanceIdentifierForXmlCodec.java:168) ~[na:na]
      at org.opendaylight.yangtools.yang.data.impl.codec.InstanceIdentifierForXmlCodec.toIdentity(InstanceIdentifierForXmlCodec.java:161) ~[na:na]
      at org.opendaylight.yangtools.yang.data.impl.codec.xml.XmlDocumentUtils.toSimpleNodeWithType(XmlDocumentUtils.java:328) ~[na:na]
      at org.opendaylight.yangtools.yang.data.impl.codec.xml.XmlDocumentUtils.toNodeWithSchema(XmlDocumentUtils.java:305) ~[na:na]
      at org.opendaylight.yangtools.yang.data.impl.codec.xml.XmlDocumentUtils.access$100(XmlDocumentUtils.java:62) ~[na:na]
      at org.opendaylight.yangtools.yang.data.impl.codec.xml.XmlDocumentUtils$2.apply(XmlDocumentUtils.java:441) ~[na:na]
      at org.opendaylight.yangtools.yang.data.impl.codec.xml.XmlDocumentUtils$2.apply(XmlDocumentUtils.java:433) ~[na:na]
      at org.opendaylight.yangtools.yang.data.impl.codec.xml.XmlDocumentUtils.forEachChild(XmlDocumentUtils.java:522) ~[na:na]
      at org.opendaylight.yangtools.yang.data.impl.codec.xml.XmlDocumentUtils.toDomNodes(XmlDocumentUtils.java:433) ~[na:na]
      at org.opendaylight.yangtools.yang.data.impl.codec.xml.XmlDocumentUtils.notificationToDomNodes(XmlDocumentUtils.java:490) ~[na:na]
      at org.opendaylight.yangtools.yang.data.impl.codec.xml.XmlDocumentUtils.notificationToDomNodes(XmlDocumentUtils.java:502) ~[na:na]
      at org.opendaylight.controller.sal.connect.netconf.schema.mapping.NetconfMessageTransformer.toNotification(NetconfMessageTransformer.java:58) ~[na:na]
      at org.opendaylight.controller.sal.connect.netconf.schema.mapping.NetconfMessageTransformer.toNotification(NetconfMessageTransformer.java:49) ~[na:na]
      at org.opendaylight.controller.sal.connect.netconf.schema.mapping.NetconfMessageTransformer.toNotification(NetconfMessageTransformer.java:35) ~[na:na]
      at org.opendaylight.controller.sal.connect.netconf.NetconfDevice.onNotification(NetconfDevice.java:145) ~[na:na]
      at org.opendaylight.controller.sal.connect.netconf.NetconfDevice.onNotification(NetconfDevice.java:45) ~[na:na]
      at org.opendaylight.controller.sal.connect.netconf.listener.NetconfDeviceCommunicator.processNotification(NetconfDeviceCommunicator.java:290) ~[na:na]
      at org.opendaylight.controller.sal.connect.netconf.listener.NetconfDeviceCommunicator.onMessage(NetconfDeviceCommunicator.java:167) ~[na:na]
      at org.opendaylight.controller.sal.connect.netconf.listener.NetconfDeviceCommunicator.onMessage(NetconfDeviceCommunicator.java:49) ~[na:na]
      at org.opendaylight.controller.netconf.nettyutil.AbstractNetconfSession.handleMessage(AbstractNetconfSession.java:57) ~[na:na]
      at org.opendaylight.controller.netconf.nettyutil.AbstractNetconfSession.handleMessage(AbstractNetconfSession.java:28) ~[na:na]
      at org.opendaylight.protocol.framework.AbstractProtocolSession.channelRead0(AbstractProtocolSession.java:46) ~[na:na]
      at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:103) ~[bundlefile:4.0.19.Final]
      at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:341) [bundlefile:4.0.19.Final]
      at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:327) [bundlefile:4.0.19.Final]
      at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:163) ~[na:na]
      at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:341) [bundlefile:4.0.19.Final]
      at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:327) [bundlefile:4.0.19.Final]
      at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:163) ~[na:na]
      at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:341) [bundlefile:4.0.19.Final]
      at io.netty.channel.DefaultChannelHandlerContext.access$700(DefaultChannelHandlerContext.java:30) [bundlefile:4.0.19.Final]
      at io.netty.channel.DefaultChannelHandlerContext$8.run(DefaultChannelHandlerContext.java:332) ~[bundlefile:4.0.19.Final]
      at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:370) ~[bundlefile:4.0.19.Final]
      at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:353) ~[bundlefile:4.0.19.Final]
      at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116) ~[bundlefile:4.0.19.Final]
      at java.lang.Thread.run(Thread.java:724) ~[na:1.7.0_25]

      Attachments

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

        Activity

          People

            lsedlak@cisco.com Lukas Sedlak
            rgallas@cisco.com Robert Gallas
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: