[SYSTEMMETR-3] Null pointer exception in getShardMbean Created: 05/Aug/17  Updated: 29/Aug/17  Resolved: 29/Aug/17

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

Type: Bug
Reporter: Ashish Kumar Assignee: Tyler Levine
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Attachments: HTML File stack_trace    
External issue ID: 8931

 Description   

When dashboard is trying to access shardMbean data, backend is throwing NPE.

By looking at the trace in the end, It seems API is working fine. We are getting the shardMbean data from the API at runtime (last few line in the stack trace).



 Comments   
Comment by Ashish Kumar [ 05/Aug/17 ]

Attachment stack_trace has been added with description: Stack trace

Comment by Ashish Kumar [ 07/Aug/17 ]

Patch which is giving this issue:
https://git.opendaylight.org/gerrit/#/c/60887/

Comment by Tyler Levine [ 29/Aug/17 ]

Issue is caused by incorrect shard name parsing in the UI, which causes it to ask for statistics from a non-existant shard.

Patch 62385 [1] should resolve this issue.

[1]: https://git.opendaylight.org/gerrit/#/c/62385/

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