[OPNFLWPLUG-41] Null Pointer exception during cbench run Created: 23/Jan/14 Updated: 27/Sep/21 Resolved: 25/Jan/14 |
|
| Status: | Resolved |
| Project: | OpenFlowPlugin |
| Component/s: | General |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Jan Medved | Assignee: | Michal Rehak |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: Mac OS |
||
| External issue ID: | 347 |
| Description |
|
The following null pointer exceptions are being thrown during the cbench run (view in a wide editor): Back traces ----------------------------------------------------------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------------------------- This constitues 37% of all exceptions during a cbench run |
| Comments |
| Comment by Michal Polkorab [ 23/Jan/14 ] |
|
Hello, any null pointer exception signalizes that there are some data missing in the DTO's passed to the library. My guess is that the match is not filled. Needs further debugging. Regards |
| Comment by Jan Medved [ 23/Jan/14 ] |
|
It only happens when flow programming is initiated from two-phase commit. It does not happen when an app fills all flow data and sends an RPC |
| Comment by Michal Polkorab [ 24/Jan/14 ] |
|
I have also tried to run Cbench with some logging. See the results below: 2014-01-24 16:55:05.306 CET [md-sal-binding-commit-68] INFO o.o.o.o.m.c.s.ModelDrivenSwitchImpl - Prepare statistics request to get stats for flow Match [_ethernetMatch=EthernetMatch [_ethernetDestination=null, _ethernetSource=EthernetSource [_address=MacAddress [_value=00:77:01:00:00:06], _mask=null, augmentation=[]], _ethernetType=null, augmentation=[]], _icmpv4Match=null, _icmpv6Match=null, _inPhyPort=null, _inPort=null, _ipMatch=null, _layer3Match=null, _layer4Match=null, _metadata=null, _protocolMatchFields=null, _tunnel=null, _vlanMatch=null, augmentation=[]] for switch tables null - Transaction id - 774 FLOWBODY METHOD Michal |
| Comment by Michal Rehak [ 24/Jan/14 ] |
|
Fixed by filling table.id for flows added by dropAllPackages* provider - used by cbench testing. |