Actions
Bug #12367
openFix Null Pointer Exceptions in lifecycleStateManager.init method test cases
Status:
New
Priority:
None
Assignee:
-
Start date:
20/12/2024
Due date:
% Done:
0%
Estimated time:
Device Type:
Component:
Type:
Platform
Description
Fix the null pointer exceptions caused by unavailability of MetadataManagementService and WebappPublisherConfig in the `APIPublisherStartupHandler.updateScopeMetadataEntryAndRegistryWithDefaultScopes` and `publisher.addDefaultScopesIfNotExist` methods inside the `init` method.
hese methods depend on APIPublisherDataHolder.getInstance().getMetadataManagementService() and WebappPublisherConfig.getInstance(), which needs to be properly initialized.
Path from the repo: components/application-mgt/io.entgra.device.mgt.core.application.mgt.core/src/test/java/io/entgra/device/mgt/core/application/mgt/core/BaseTestCase.java
Updated by Arshana Atapattu about 2 months ago
- Project changed from product-uem 7.1.0 GA to product-uem 7.0.0 GA
Actions