[OPNFLWJAVA-14] ActionsSerializer#computeLengthOfActions throws NullPointerException Created: 16/Jan/14 Updated: 18/Jan/14 Resolved: 18/Jan/14 |
|
| Status: | Resolved |
| Project: | openflowjava |
| Component/s: | General |
| Affects Version/s: | unspecified |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Moiz Raja | Assignee: | Michal Polkorab |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| External issue ID: | 315 |
| Description |
|
2014-01-16 14:48:19.226 PST [nioEventLoopGroup-8-1] ERROR o.o.o.protocol.impl.core.OFEncoder - null It looks like an element in the list (which is another list) is null and that is why this happens. It looks like the NPE happens quite often but when it is invoked from OFEncoder#encode it is not being properly logged (I mean the stack trace is not being logged). We need to ensure that the logging is prominent to ensure that such problems are identified faster. To reproduce this problem do the following, 1. Build a controller distribution from the openflow plugin You should see a NPE occur |
| Comments |
| Comment by Michal Polkorab [ 17/Jan/14 ] |
|
Hi Moiz, I have tried to reproduce this issue, but I was unable to do so. There was an issue with the drop action (in instruction structure, which is used in FlowMod message), where this error was occuring. However it has been fixed with https://git.opendaylight.org/gerrit/#/c/4303/ Please try pulling new code and let me know if it helped. Regards |
| Comment by Michal Polkorab [ 18/Jan/14 ] |
|
Issue fixed in OFPlugin and after further communication it was agreed that this issue should be closed (and the funcionality should remain the same) |