[OPNFLWPLUG-32] Null Pointer exception occurs when adding a OpenFlow10 topology Created: 16/Jan/14  Updated: 27/Sep/21  Resolved: 17/Jan/14

Status: Resolved
Project: OpenFlowPlugin
Component/s: General
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Moiz Raja Assignee: Unassigned
Resolution: Cannot Reproduce Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 316

 Description   

2014-01-16 15:35:08.876 PST [nioEventLoopGroup-9-2] 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.openflowplugin.openflow.md.core.sal.convertor.match.MatchConvertorImpl.fromOFMatchToSALMatch(MatchConvertorImpl.java:519) ~[na:na]
at org.opendaylight.openflowplugin.openflow.md.core.translator.PacketInTranslator.translate(PacketInTranslator.java:90) ~[na:na]
at org.opendaylight.openflowplugin.openflow.md.core.translator.PacketInTranslator.translate(PacketInTranslator.java:29) ~[na:na]
at org.opendaylight.openflowplugin.openflow.md.queue.QueueKeeperLightImpl.translate(QueueKeeperLightImpl.java:173) ~[na:na]
at org.opendaylight.openflowplugin.openflow.md.queue.QueueKeeperLightImpl.push(QueueKeeperLightImpl.java:112) ~[na:na]
at org.opendaylight.openflowplugin.openflow.md.queue.QueueKeeperLightImpl.push(QueueKeeperLightImpl.java:30) ~[na:na]
at org.opendaylight.openflowplugin.openflow.md.core.ConnectionConductorImpl.onPacketInMessage(ConnectionConductorImpl.java:202) ~[na:na]
at org.opendaylight.openflowjava.protocol.impl.connection.ConnectionAdapterImpl.consume(ConnectionAdapterImpl.java:280) ~[na:na]
at org.opendaylight.openflowjava.protocol.impl.core.DelegatingInboundHandler.channelRead(DelegatingInboundHandler.java:46) ~[na:na]
at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337) [bundlefile:na]
at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323) [bundlefile:na]
at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) [bundlefile:na]
at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337) [bundlefile:na]
at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323) [bundlefile:na]
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:173) [bundlefile:na]
at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337) [bundlefile:na]
at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323) [bundlefile:na]
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:173) [bundlefile:na]
at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337) [bundlefile:na]
at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323) [bundlefile:na]
at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:253) [bundlefile:na]
at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337) [bundlefile:na]
at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323) [bundlefile:na]
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:785) [bundlefile:na]
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:100) [bundlefile:na]
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:480) [bundlefile:na]
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:447) [bundlefile:na]
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:341) [bundlefile:na]
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:101) [bundlefile:na]
at java.lang.Thread.run(Thread.java:744) [na:1.7.0_45]

To reproduce,

1. Simply start of the controller from the openflowplugin distribution and add a topology with mininet



 Comments   
Comment by Moiz Raja [ 17/Jan/14 ]

The following commits address this problem. So there may be nothing more to do,

https://git.opendaylight.org/gerrit/#/c/4334/
https://git.opendaylight.org/gerrit/#/c/4335/

Generated at Wed Feb 07 20:31:24 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.