[GENIUS-1] NumberFormatException in AlivenessProtocolHandlerLL Created: 15/Mar/16  Updated: 10/May/18  Resolved: 10/May/18

Status: Verified
Project: genius
Component/s: General
Affects Version/s: (unspecified)
Fix Version/s: Boron

Type: Bug
Reporter: Jamo Luhrsen Assignee: Faseela K
Resolution: Done 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: 5533

 Description   

I'm using a 3 node cluster and have installed these features:
odl-vpnservice-core, odl-jolokia, odl-dlux-all

after starting all three nodes at once, I saw these exceptions on one
controller only.

there are many of these exceptions, but here is one.

2016-03-15 23:24:46,686 | ERROR | pool-28-thread-1 | DOMNotificationRouterEvent | 154 - org.opendaylight.controller.sal-broker-impl - 1.3.1.SNAPSHOT | Delivery of notification org.opendaylight.controller.md.sal.binding.impl.LazySerializedDOMNotification@420c79e0 caused an error in listener org.opendaylight.controller.md.sal.binding.impl.BindingDOMNotificationListenerAdapter@621f1a9e
java.lang.NumberFormatException: For input string: "L\ufffd\ufffd\ufffd_\ufffd\ufffdO"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)[:1.8.0_71]
at java.lang.Integer.parseInt(Integer.java:580)[:1.8.0_71]
at java.lang.Integer.parseInt(Integer.java:615)[:1.8.0_71]
at org.opendaylight.vpnservice.alivenessmonitor.internal.AlivenessProtocolHandlerLLDP.handlePacketIn(AlivenessProtocolHandlerLLDP.java:115)[311:org.opendaylight.vpnservice.alivenessmonitor-impl:0.2.1.SNAPSHOT]
at org.opendaylight.vpnservice.alivenessmonitor.internal.AlivenessMonitor.onPacketReceived(AlivenessMonitor.java:347)[311:org.opendaylight.vpnservice.alivenessmonitor-impl:0.2.1.SNAPSHOT]
at org.opendaylight.yangtools.yang.binding.util.NotificationListenerInvoker.invokeNotification(NotificationListenerInvoker.java:91)[84:org.opendaylight.mdsal.yang-binding:0.8.1.SNAPSHOT]
at org.opendaylight.controller.md.sal.binding.impl.BindingDOMNotificationListenerAdapter.onNotification(BindingDOMNotificationListenerAdapter.java:44)[156:org.opendaylight.controller.sal-binding-broker-impl:1.3.1.SNAPSHOT]
at org.opendaylight.controller.md.sal.dom.broker.impl.DOMNotificationRouterEvent.deliverNotification(DOMNotificationRouterEvent.java:56)[154:org.opendaylight.controller.sal-broker-impl:1.3.1.SNAPSHOT]
at org.opendaylight.controller.md.sal.dom.broker.impl.DOMNotificationRouter$1.onEvent(DOMNotificationRouter.java:68)[154:org.opendaylight.controller.sal-broker-impl:1.3.1.SNAPSHOT]
at org.opendaylight.controller.md.sal.dom.broker.impl.DOMNotificationRouter$1.onEvent(DOMNotificationRouter.java:65)[154:org.opendaylight.controller.sal-broker-impl:1.3.1.SNAPSHOT]
at com.lmax.disruptor.BatchEventProcessor.run(BatchEventProcessor.java:128)[151:com.lmax.disruptor:3.3.2]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_71]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_71]
at java.lang.Thread.run(Thread.java:745)[:1.8.0_71]



 Comments   
Comment by Dhevendran Kulandaivel [ 31/May/16 ]

Hi Jamo Luhrsen

The fix is available

https://git.opendaylight.org/gerrit/#/c/39590/

Let me know your comment on this

Thanks in Advance

With Warm Regards,
Dhevendran K

Comment by Jamo Luhrsen [ 31/May/16 ]

(In reply to Dhevendran Kulandaivel from comment #1)
> Hi Jamo Luhrsen
>
> The fix is available
>
> https://git.opendaylight.org/gerrit/#/c/39590/
>
> Let me know your comment on this
>
> Thanks in Advance
>
> With Warm Regards,
> Dhevendran K

Thanks for the fix, Dhevendran. I see the patch was abandoned because
it needs to be ported to the genius project. Let me know when that
happens and I can test locally.

JamO

Comment by Dhevendran Kulandaivel [ 01/Jun/16 ]

Hi Jamo Luhrsen

You are correct . This is the patch reference : https://git.opendaylight.org/gerrit/#/c/39637/

Please let me know your test result

Thanks & Regards,
Dhevendran K

Comment by Dhevendran Kulandaivel [ 03/Jun/16 ]

Hi

In order to minimize the changes while resolving this issue, packetId assignment can be removed since the packetId local variable is not used anywhere.

Thanks & Regards,
Dhevendran K

Comment by Dhevendran Kulandaivel [ 03/Jun/16 ]

(In reply to Dhevendran Kulandaivel from comment #4)
> Hi
>
> In order to minimize the changes while resolving this issue, packetId
> assignment can be removed since the packetId local variable is not used
> anywhere.
>
> Thanks & Regards,
> Dhevendran K

The improved version is available https://git.opendaylight.org/gerrit/39637
Let me know your test result

Comment by Dhevendran Kulandaivel [ 03/Jun/16 ]

Hi Jamo Luhrsen

It would be great if you test the latest Patch Set (i.e. Patch set 5 or above) on this.
Awaiting for your response.

Thanks & Regards,
Dhevendran K

Comment by Jamo Luhrsen [ 17/Jun/16 ]

Verified with Boron (currently master) branch distro created on 6/16

NOTE: the feature name is now "odl-netvirt-vpnservice-core" as there
has been some project realignments. But the NumberFormatException
is no longer seen.

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