[OPNFLWPLUG-43] Illegal Argument Exception thrown during cbench run Created: 23/Jan/14  Updated: 27/Sep/21  Due: 31/Mar/14  Resolved: 20/Mar/14

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

Type: Bug
Reporter: Jan Medved Assignee: Lakshman K Mukkamalla
Resolution: Cannot Reproduce Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: Mac OS
Platform: Macintosh


External issue ID: 349

 Description   

The following exceptions are being thrown during a cbench run (view in a wide editor):

+---edu.uci.ics.jung.algorithms.shortestpath.DijkstraShortestPath.getPath(Object, Object, boolean) | 336 99 % |

       
  +---edu.uci.ics.jung.algorithms.shortestpath.DijkstraShortestPath.getPath(Object, Object)  
       
  +---org.opendaylight.controller.routing.dijkstra_implementation.internal.DijkstraImplementation.getRoute(Node, Node, Short)  
       
  +---org.opendaylight.controller.routing.dijkstra_implementation.internal.DijkstraImplementation.getRoute(Node, Node)  
       
  +---org.opendaylight.controller.arphandler.internal.ArpHandler.handlePuntedIPPacket(IPv4, NodeConnector) 272 80 %
         
    +---org.opendaylight.controller.arphandler.internal.ArpHandler.receiveDataPacket(RawPacket)  
         
    +---org.opendaylight.controller.sal.implementation.internal.DataPacketService.dispatchPacket(RawPacket)  
         
    +---org.opendaylight.controller.sal.implementation.internal.DataPacketService.receiveDataPacket(RawPacket)  
         
    +---org.opendaylight.controller.sal.compatibility.DataPacketAdapter.onPacketReceived(PacketReceived)  
         
    +---org.opendaylight.controller.sal.compatibility.DataPacketAdapter$$Broker$ListenerInvoker.onNotification(Notification)  
         
    +---org.opendaylight.controller.sal.binding.impl.NotifyTask.call()  
         
    +---java.lang.Thread.run()  
       
  +---org.opendaylight.controller.samples.simpleforwarding.internal.SimpleForwardingImpl.preparePerHostPerSwitchRules(HostNodeConnector, Node, NodeConnector) 64 19 %
       
  +---org.opendaylight.controller.samples.simpleforwarding.internal.SimpleForwardingImpl.updateRulesforHIFup(Node, NodeConnector)  
       
  +---org.opendaylight.controller.samples.simpleforwarding.internal.SimpleForwardingImpl.handleNodeConnectorStatusUp(NodeConnector)  
       
  +---org.opendaylight.controller.samples.simpleforwarding.internal.SimpleForwardingImpl.notifyNodeConnector(NodeConnector, UpdateType, Map)  
       
  +---org.opendaylight.controller.switchmanager.internal.SwitchManager.notifyNodeConnector(NodeConnector, UpdateType, Map)  


 Comments   
Comment by Ed Warnicke [ 23/Jan/14 ]

Look at explicitly checking for vertices in the graph before throwing blindly.

Comment by Lakshman K Mukkamalla [ 19/Mar/14 ]

Hi Jan,
From the code below is what I see. If the exception is caught and being logged. How come you are seeing illegal argument exception?
try

{ path = spt.getPath(src, dst); }

catch (IllegalArgumentException ie) {
log.debug("A vertex is yet not known between {} {}", src, dst);
return null;
}

I am trying to reproduce the issue. Could you say what steps you did
Thanks

Comment by Lakshman K Mukkamalla [ 20/Mar/14 ]

Hi,
Tried to run a cbench with the below parameters and donot see any illegal argument exception. This was run locally on Mac with Controller on the Mac and cbench tool on the Ubuntu Virtual Box.

cbench -c 192.168.56.1 -p 6653 -m 1000 -l 11 -s 17 -M 100 -t

Thanks,
Lakshman.

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