Uploaded image for project: 'ONOS'
  1. ONOS
  2. ONOS-3194

NPE in OFMessageEncoder

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 1.4.0
    • Fix Version/s: 1.4.0
    • Component/s: None
    • Labels:
      None

      Description

      2015-10-21 11:30:43,216 | ERROR | w I/O worker #13 | OFChannelHandler | 166 - org.onosproject.onos-of-ctl - 1.4.0.SNAPSHOT | Error while processing message from switch org.onosproject.driver.handshaker.NiciraSwitchHandshaker [/10.211.55.3:39696 DPID[00:00:00:00:00:00:00:04]]state ACTIVE
      java.lang.NullPointerException
      at org.onosproject.openflow.controller.impl.OFMessageEncoder.encode(OFMessageEncoder.java:53)
      at org.jboss.netty.handler.codec.oneone.OneToOneEncoder.doEncode(OneToOneEncoder.java:66)
      at org.jboss.netty.handler.codec.oneone.OneToOneEncoder.handleDownstream(OneToOneEncoder.java:59)
      at org.jboss.netty.channel.Channels.write(Channels.java:704)[44:org.jboss.netty:3.9.2.Final]
      at org.jboss.netty.channel.Channels.write(Channels.java:671)[44:org.jboss.netty:3.9.2.Final]
      at org.jboss.netty.channel.AbstractChannel.write(AbstractChannel.java:248)
      at org.onosproject.openflow.controller.driver.AbstractOpenFlowSwitch.sendMsg(AbstractOpenFlowSwitch.java:108)
      at org.onosproject.openflow.controller.driver.AbstractOpenFlowSwitch.transitionToMasterSwitch(AbstractOpenFlowSwitch.java:243)
      at org.onosproject.openflow.controller.driver.AbstractOpenFlowSwitch.handleRole(AbstractOpenFlowSwitch.java:327)
      at org.onosproject.openflow.controller.impl.OFChannelHandler$ChannelState$8.processOFRoleReply(OFChannelHandler.java:619)
      at org.onosproject.openflow.controller.impl.OFChannelHandler$ChannelState.processOFMessage(OFChannelHandler.java:899)
      at org.onosproject.openflow.controller.impl.OFChannelHandler.messageReceived(OFChannelHandler.java:1167)
      at org.jboss.netty.handler.timeout.IdleStateAwareChannelHandler.handleUpstream(IdleStateAwareChannelHandler.java:36)[44:org.jboss.netty:3.9.2.Final]
      at org.jboss.netty.handler.timeout.ReadTimeoutHandler.messageReceived(ReadTimeoutHandler.java:184)[44:org.jboss.netty:3.9.2.Final]
      at org.jboss.netty.handler.timeout.IdleStateHandler.messageReceived(IdleStateHandler.java:294)[44:org.jboss.netty:3.9.2.Final]
      at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:296)[44:org.jboss.netty:3.9.2.Final]
      at org.jboss.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:462)[44:org.jboss.netty:3.9.2.Final]
      at org.jboss.netty.handler.codec.frame.FrameDecoder.callDecode(FrameDecoder.java:443)[44:org.jboss.netty:3.9.2.Final]
      at org.jboss.netty.handler.codec.frame.FrameDecoder.messageReceived(FrameDecoder.java:303)[44:org.jboss.netty:3.9.2.Final]
      at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:268)[44:org.jboss.netty:3.9.2.Final]
      at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:255)[44:org.jboss.netty:3.9.2.Final]
      at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:88)[44:org.jboss.netty:3.9.2.Final]
      at org.jboss.netty.channel.socket.nio.AbstractNioWorker.process(AbstractNioWorker.java:108)[44:org.jboss.netty:3.9.2.Final]
      at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:318)
      at org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:89)[44:org.jboss.netty:3.9.2.Final]
      at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:178)[44:org.jboss.netty:3.9.2.Final]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_45]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_45]
      at java.lang.Thread.run(Thread.java:745)[:1.8.0_45]

        Attachments

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

          Activity

            People

            • Assignee:
              charles Charles Chan
              Reporter:
              charles Charles Chan
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: