[OPNFLWPLUG-503] NPE at org.opendaylight.openflowplugin.openflow.md.core.ConnectionConductorImpl.updatePort(ConnectionConductorImpl.java:299)[256:org.opendaylight.openflowplugin:0.1.0.SNAPSHOT] Created: 16/Jun/15  Updated: 27/Sep/21  Resolved: 30/Oct/15

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

Type: Bug
Reporter: Flavio Fernandes Assignee: Flavio Fernandes
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Attachments: Text File karaf.log    
Issue Links:
Duplicate
is duplicated by OPNFLWPLUG-393 NullPointerException in .ConnectionCo... Resolved
External issue ID: 3754

 Description   

https://gist.github.com/ff4642b9ece81acc1812

2015-06-16 10:32:49,099 | WARN | ntDispatcherImpl | TenantNetworkManagerImpl | 271 - org.opendaylight.ovsdb.openstack.net-virt - 1.1.0.SNAPSHOT | getTenantNetwork did not find network for eht2
2015-06-16 10:32:49,137 | INFO | ntLoopGroup-12-4 | ConnectionAdapterImpl | 253 - org.opendaylight.openflowjava.openflow-protocol-impl - 0.6.0.SNAPSHOT | Hello received / branch
2015-06-16 10:32:49,145 | WARN | ntLoopGroup-12-4 | DefaultChannelPipeline | 106 - io.netty.common - 4.0.26.Final | 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
at org.opendaylight.openflowplugin.openflow.md.core.ConnectionConductorImpl.updatePort(ConnectionConductorImpl.java:299)[256:org.opendaylight.openflowplugin:0.1.0.SNAPSHOT]
at org.opendaylight.openflowplugin.openflow.md.core.ConnectionConductorImpl.processPortStatusMsg(ConnectionConductorImpl.java:282)[256:org.opendaylight.openflowplugin:0.1.0.SNAPSHOT]
at org.opendaylight.openflowplugin.openflow.md.core.ConnectionConductorImpl.onPortStatusMessage(ConnectionConductorImpl.java:276)[256:org.opendaylight.openflowplugin:0.1.0.SNAPSHOT]
at org.opendaylight.openflowjava.protocol.impl.core.connection.ConnectionAdapterImpl.consume(ConnectionAdapterImpl.java:322)[253:org.opendaylight.openflowjava.openflow-protocol-impl:0.6.0.SNAPSHOT]
at org.opendaylight.openflowjava.protocol.impl.core.DelegatingInboundHandler.channelRead(DelegatingInboundHandler.java:46)[253:org.opendaylight.openflowjava.openflow-protocol-impl:0.6.0.SNAPSHOT]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:339)[105:io.netty.transport:4.0.26.Final]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:324)[105:io.netty.transport:4.0.26.Final]
at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)[131:io.netty.codec:4.0.26.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:339)[105:io.netty.transport:4.0.26.Final]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:324)[105:io.netty.transport:4.0.26.Final]
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:242)[131:io.netty.codec:4.0.26.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:339)[105:io.netty.transport:4.0.26.Final]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:324)[105:io.netty.transport:4.0.26.Final]
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:242)[131:io.netty.codec:4.0.26.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:339)[105:io.netty.transport:4.0.26.Final]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:324)[105:io.netty.transport:4.0.26.Final]
at io.netty.handler.timeout.ReadTimeoutHandler.channelRead(ReadTimeoutHandler.java:150)[132:io.netty.handler:4.0.26.Final]
at org.opendaylight.openflowjava.protocol.impl.core.IdleHandler.channelRead(IdleHandler.java:39)[253:org.opendaylight.openflowjava.openflow-protocol-impl:0.6.0.SNAPSHOT]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:339)[105:io.netty.transport:4.0.26.Final]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:324)[105:io.netty.transport:4.0.26.Final]
at io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:86)[105:io.netty.transport:4.0.26.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:339)[105:io.netty.transport:4.0.26.Final]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:324)[105:io.netty.transport:4.0.26.Final]
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:847)[105:io.netty.transport:4.0.26.Final]
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131)[105:io.netty.transport:4.0.26.Final]
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511)[105:io.netty.transport:4.0.26.Final]
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468)[105:io.netty.transport:4.0.26.Final]
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382)[105:io.netty.transport:4.0.26.Final]
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:349)[105:io.netty.transport:4.0.26.Final]
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:111)[106:io.netty.common:4.0.26.Final]
at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)[106:io.netty.common:4.0.26.Final]
at java.lang.Thread.run(Thread.java:745)[:1.7.0_67]
2015-06-16 10:32:49,156 | INFO | pool-43-thread-1 | SouthboundHandler | 271 - org.opendaylight.ovsdb.openstack.net-virt - 1.1.0.SNAPSHOT | ovsdbUpdate: BRIDGE - UPDATE - <<Node{getNodeId=Uri [_value=ovsdb://uuid/f49f354f-808c-4ba1-94f1-c7b7cb95d13f/bridge/br-int], getTerminationPoint=[TerminationPoint{getTpId=Uri [_value=br-int], augmentations={interface org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.OvsdbTerminationPointAugmentation=OvsdbTerminationPointAugmentation

{getInterfaceType=class org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.InterfaceTypeInternal, getInterfaceUuid=Uuid [_value=4de0f482-0621-42f6-946b-8396a24f689f], getName=br-int, getOfport=65534, getPortUuid=Uuid [_value=650f6a67-5578-4100-96ac-328d7aaa39a7]}

}}], augmentations={interface org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.OvsdbBridgeAugmentation=OvsdbBridgeAugmentation{getBridgeExternalIds=[BridgeExternalIds{getBridgeExternalIdKey=opendaylight-iid, getBridgeExternalIdValue=/network-topology:network-topology/network-topology:topology[network-topology:topology-id='ovsdb:1']/network-topology:node[network-topology:node-id='ovsdb://uuid/f49f354f-808c-4ba1-94f1-c7b7cb95d13f/bridge/br-int'], augmentations={}}], getBridgeName=OvsdbBridgeName [_value=br-int], getBridgeUuid=Uuid [_value=7d9574d2-dc87-4216-bfae-742a7710057d], getControllerEntry=[ControllerEntry{getControllerUuid=Uuid [_value=393916bd-e3e2-4f9e-a4d4-26b23b94762d], getTarget=Uri [_value=tcp:192.168.50.1:6653], isIsConnected=false, augmentations={}}], getDatapath



 Comments   
Comment by Flavio Fernandes [ 16/Jun/15 ]

Attachment karaf.log has been added with description: karaf.log

Comment by Martin Bobak [ 22/Jun/15 ]

fix pushed https://git.opendaylight.org/gerrit/23090

Comment by Abhijit Kumbhare [ 26/Jun/15 ]

Do you want to push it to stable/lithium (as now the stable/lithium tagging is done)?

Comment by Flavio Fernandes [ 27/Jun/15 ]

(In reply to Abhijit Kumbhare from comment #4)
> Do you want to push it to stable/lithium (as now the stable/lithium tagging
> is done)?

yes, please do!

Comment by Abhijit Kumbhare [ 28/Jun/15 ]

(In reply to Flavio Fernandes from comment #5)
> (In reply to Abhijit Kumbhare from comment #4)
> > Do you want to push it to stable/lithium (as now the stable/lithium tagging
> > is done)?
>
> yes, please do!

Martin - can you push it to stable/lithium?

Comment by Abhijit Kumbhare [ 25/Sep/15 ]

Martin - has this been pushed to stable/lithium?

Comment by Abhijit Kumbhare [ 09/Oct/15 ]

Michal,

Can you confirm if Martin has cherry picked this to stable/lithium?

Thanks,
Abhijit

Comment by Michal Rehak [ 12/Oct/15 ]

https://git.opendaylight.org/gerrit/#/c/28221/1

Cherrypicked by Luis, waiting for merge in stable/lithium.

Comment by Michal Rehak [ 12/Oct/15 ]

https://git.opendaylight.org/gerrit/#/c/28221/
merged

Comment by Michal Rehak [ 14/Oct/15 ]

please retest

Comment by Abhijit Kumbhare [ 30/Oct/15 ]

Was already fixed - was only porting the fix from master to stable/lithium.

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