Uploaded image for project: 'l2switch'
  1. l2switch
  2. L2SWITCH-56

Exception in thread "pool-31-thread-1" java.lang.RuntimeException: java.lang.NumberFormatException: For input string: "0xff"

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Cannot Reproduce
    • unspecified
    • None
    • General
    • None
    • Operating System: Linux
      Platform: PC

    • 4485
    • High

    Description

      Displaying all SWITCHES and only one HOSTS in DLUX topology GUI.

      I have started karaf and installed the following features.

      feature:install odl-restconf
      feature:install odl-l2switch-switch
      feature:install odl-mdsal-apidocs
      feature:install odl-l2switch-switch-ui
      feature:install odl-adsal-all
      feature:install odl-adsal-northbound
      feature:install odl-dlux-core
      feature:install odl-dlux-node
      feature:install odl-dlux-yangui

      Then started MININET with following command
      >> sudo mn --topo tree,3 --controller 'remote,ip=172.16.69.13,port=6633' --switch ovsk,protocols=OpenFlow13

      I am able to ping the hosts without fail.

      mininet> pingall

          • Ping: testing ping reachability
            h1 -> h2 h3 h4 h5 h6 h7 h8
            h2 -> h1 h3 h4 h5 h6 h7 h8
            h3 -> h1 h2 h4 h5 h6 h7 h8
            h4 -> h1 h2 h3 h5 h6 h7 h8
            h5 -> h1 h2 h3 h4 h6 h7 h8
            h6 -> h1 h2 h3 h4 h5 h7 h8
            h7 -> h1 h2 h3 h4 h5 h6 h8
            h8 -> h1 h2 h3 h4 h5 h6 h7
          • Results: 0% dropped (56/56 received)

      Now I have opened the DLUX GUI, in the topology section we are able to see the Switches and only one host.

      Apart from that we are getting the following Error in Karaf console.

      opendaylight-user@root>
      opendaylight-user@root>
      opendaylight-user@root>Exception in thread "pool-31-thread-1" java.lang.RuntimeException: java.lang.NumberFormatException: For input string: "0xff"
      at com.lmax.disruptor.FatalExceptionHandler.handleEventException(FatalExceptionHandler.java:45)
      at com.lmax.disruptor.BatchEventProcessor.run(BatchEventProcessor.java:147)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.NumberFormatException: For input string: "0xff"
      at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
      at java.lang.Integer.parseInt(Integer.java:492)
      at java.lang.Short.parseShort(Short.java:117)
      at java.lang.Short.parseShort(Short.java:143)
      at org.opendaylight.l2switch.flow.ReactiveFlowWriter.ignoreThisMac(ReactiveFlowWriter.java:45)
      at org.opendaylight.l2switch.flow.ReactiveFlowWriter.onArpPacketReceived(ReactiveFlowWriter.java:77)
      at org.opendaylight.yangtools.yang.binding.util.NotificationListenerInvoker.invokeNotification(NotificationListenerInvoker.java:91)
      at org.opendaylight.controller.md.sal.binding.impl.BindingDOMNotificationListenerAdapter.onNotification(BindingDOMNotificationListenerAdapter.java:44)
      at org.opendaylight.controller.md.sal.dom.broker.impl.DOMNotificationRouterEvent.deliverNotification(DOMNotificationRouterEvent.java:50)
      at org.opendaylight.controller.md.sal.dom.broker.impl.DOMNotificationRouter$1.onEvent(DOMNotificationRouter.java:68)
      at org.opendaylight.controller.md.sal.dom.broker.impl.DOMNotificationRouter$1.onEvent(DOMNotificationRouter.java:65)
      at com.lmax.disruptor.BatchEventProcessor.run(BatchEventProcessor.java:128)
      ... 3 more

      Could you please help me to resolve the issue, i.e. display all SWITCHES and HOSTS in topology GUI.

      Attachments

        1. karaf.log
          667 kB
          Ravi
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            v.kumarbaburavi@tcs.com Ravi
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: