Project

General

Profile

Actions

Bug #12367

open

Fix Null Pointer Exceptions in lifecycleStateManager.init method test cases

Added by Nipuni Kavindya 4 months ago. Updated about 2 months ago.

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

Actions #1

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

Also available in: Atom PDF