[CONTROLLER-56] null pointer exception when invoking "close" on a registration of a RPC implementation Created: 18/Nov/13 Updated: 25/Jul/23 Resolved: 28/Nov/13 |
|
| Status: | Resolved |
| Project: | controller |
| Component/s: | mdsal |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | David Bainbridge | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: Linux |
||
| External issue ID: | 152 |
| Description |
|
I have a MD SAL service implementation the registers during an "onSessionInitiated" method. During the "stopImpl" method the registration is closed and a NullPointerException is thrown. The issue seems to be that during the close the delegate for the service is set to "null" and this causes the exception in RuntimeCodeHelper as it attempts to retrieve the class of the parameter before checking if it is null. |