[GENIUS-286] When add tunnel endpoint throws NPE Created: 30/Dec/19 Updated: 03/Jan/20 |
|
| Status: | Open |
| Project: | genius |
| Component/s: | ITM |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | High |
| Reporter: | ning zhang | Assignee: | nidhi adhvaryu |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | 1 day | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | 1 day | ||
| Environment: |
ODL cluster integrates with OpenStack |
||
| Attachments: |
|
| Priority: | High |
| Description |
|
When I do automated testing, it throws NPE in class DPNTEPsInfoCache.java, NPE info as follows: _2019-12-26T06:35:25,594 | ERROR | opendaylight-cluster-data-notification-dispatcher-41 | DataTreeChangeListenerActor | 229 - org.opendaylight.controller.sal-clustering-commons - 1.11.0.SNAPSHOT | member-1-shard-default-config: Error notifying listener org.opendaylight.genius.mdsalutil.cache.DataObjectCache$$Lambda$1521/0x00000001013d7c40@7f23b197 |
| Comments |
| Comment by nidhi adhvaryu [ 02/Jan/20 ] |
|
where is this NPE seen? which code base/branch ? |
| Comment by ning zhang [ 02/Jan/20 ] |
|
The NPE is on line 74 of the class DPNTEPsInfoCache.java, At branch origin/master. |
| Comment by nidhi adhvaryu [ 02/Jan/20 ] |
|
can you provide following details? 1) Datastore dump of itm-state:dpn-endpoints 2) what kind of test you are performing 3) turn on log for org.opendaylight.genius.itm and provide that. |
| Comment by ning zhang [ 02/Jan/20 ] |
|
1)How can I get the datastore dump? 2)Execute test cases : csit/suites/netvirt/upgrade/upgrade.robot 3)Log : karaf.log
|
| Comment by nidhi adhvaryu [ 03/Jan/20 ] |
|
you can use get request on REST using http://localhost:8181/restconf/config/itm-state:dpn-endpoints/ to get the datastore dump |