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

ClassCastException in OFChannelHandler

    XMLWordPrintable

    Details

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

      commit bb1ac3f

      Description

      2016-09-09 18:50:24,109 | ERROR | ew I/O worker #7 | OFChannelHandler                 | 165 - org.onosproject.onos-protocols-openflow-ctl - 1.7.0.SNAPSHOT | Error while processing message from switch org.onosproject.driver.handshaker.DefaultSwitchHandshaker [/10.211.55.3:52569 DPID[00:00:00:00:00:00:00:01]]state ACTIVE
      java.lang.ClassCastException: org.projectfloodlight.openflow.protocol.ver13.OFGroupModFailedErrorMsgVer13 cannot be cast to org.projectfloodlight.openflow.protocol.errormsg.OFBadRequestErrorMsg
             	at org.onosproject.openflow.controller.impl.OFChannelHandler$ChannelState$8.processOFError(OFChannelHandler.java:579)[165:org.onosproject.onos-protocols-openflow-ctl:1.7.0.SNAPSHOT]
             	at org.onosproject.openflow.controller.impl.OFChannelHandler$ChannelState.processOFMessage(OFChannelHandler.java:874)[165:org.onosproject.onos-protocols-openflow-ctl:1.7.0.SNAPSHOT]
             	at org.onosproject.openflow.controller.impl.OFChannelHandler.messageReceived(OFChannelHandler.java:1169)[165:org.onosproject.onos-protocols-openflow-ctl:1.7.0.SNAPSHOT]
             	at org.jboss.netty.channel.SimpleChannelHandler.handleUpstream(SimpleChannelHandler.java:88)[45:org.jboss.netty:3.10.5.Final]
             	at org.jboss.netty.handler.timeout.IdleStateAwareChannelHandler.handleUpstream(IdleStateAwareChannelHandler.java:36)[45:org.jboss.netty:3.10.5.Final]
             	at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)[45:org.jboss.netty:3.10.5.Final]
             	at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)[45:org.jboss.netty:3.10.5.Final]
             	at org.jboss.netty.channel.SimpleChannelUpstreamHandler.messageReceived(SimpleChannelUpstreamHandler.java:124)[45:org.jboss.netty:3.10.5.Final]
             	at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)[45:org.jboss.netty:3.10.5.Final]
             	at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)[45:org.jboss.netty:3.10.5.Final]
             	at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)[45:org.jboss.netty:3.10.5.Final]
             	at org.jboss.netty.handler.timeout.ReadTimeoutHandler.messageReceived(ReadTimeoutHandler.java:184)[45:org.jboss.netty:3.10.5.Final]
             	at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)[45:org.jboss.netty:3.10.5.Final]
             	at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)[45:org.jboss.netty:3.10.5.Final]
             	at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)[45:org.jboss.netty:3.10.5.Final]
             	at org.jboss.netty.handler.timeout.IdleStateHandler.messageReceived(IdleStateHandler.java:294)[45:org.jboss.netty:3.10.5.Final]
             	at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)[45:org.jboss.netty:3.10.5.Final]
             	at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)[45:org.jboss.netty:3.10.5.Final]
             	at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)[45:org.jboss.netty:3.10.5.Final]
             	at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:296)[45:org.jboss.netty:3.10.5.Final]
             	at org.jboss.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:462)[45:org.jboss.netty:3.10.5.Final]
             	at org.jboss.netty.handler.codec.frame.FrameDecoder.callDecode(FrameDecoder.java:443)[45:org.jboss.netty:3.10.5.Final]
             	at org.jboss.netty.handler.codec.frame.FrameDecoder.messageReceived(FrameDecoder.java:303)[45:org.jboss.netty:3.10.5.Final]
             	at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)[45:org.jboss.netty:3.10.5.Final]
             	at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)[45:org.jboss.netty:3.10.5.Final]
             	at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:559)[45:org.jboss.netty:3.10.5.Final]
             	at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:268)[45:org.jboss.netty:3.10.5.Final]
             	at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:255)[45:org.jboss.netty:3.10.5.Final]
             	at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:88)[45:org.jboss.netty:3.10.5.Final]
             	at org.jboss.netty.channel.socket.nio.AbstractNioWorker.process(AbstractNioWorker.java:108)[45:org.jboss.netty:3.10.5.Final]
             	at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:337)[45:org.jboss.netty:3.10.5.Final]
             	at org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:89)[45:org.jboss.netty:3.10.5.Final]
             	at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:178)[45:org.jboss.netty:3.10.5.Final]
             	at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)[45:org.jboss.netty:3.10.5.Final]
             	at org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)[45:org.jboss.netty:3.10.5.Final]
             	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_74]
             	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_74]
             	at java.lang.Thread.run(Thread.java:745)[:1.8.0_74]
      2016-09-09 18:50:24,110 | INFO  | ew I/O worker #7 | OFChannelHandler                 | 165 - org.onosproject.onos-protocols-openflow-ctl - 1.7.0.SNAPSHOT | Switch disconnected callback for sw:org.onosproject.driver.handshaker.DefaultSwitchHandshaker [/10.211.55.3:52569 DPID[00:00:00:00:00:00:00:01]]. Cleaning up ...
      

        Attachments

        # Subject Branch Project Status CR V

          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: