My Oracle Support Banner

OER Asset Search Returns Error After Deleting The User Who Created The Asset - "java.lang.NullPointerException at com.flashline.cmee.rbac.AssetChecker.canView" (Doc ID 2386874.1)

Last updated on MAY 03, 2018

Applies to:

Oracle Enterprise Repository - Version 12.1.3.0.0 and later
Information in this document applies to any platform.

Symptoms

If you delete a user in OER Console who created some assets, any search on OER console returns blank page and also any operation on Asset editor is not working results the below exception.

EXCEPTION
-----------------------

java.lang.NullPointerException
at com.flashline.cmee.rbac.AssetChecker.canView(AssetChecker.java:227)
at com.flashline.cmee.rbac.AssetChecker.canView(AssetChecker.java:250)
at com.flashline.cmee.factory.AssetFactory.getSubscribers(AssetFactory.java:4675)
at com.flashline.cmee.factory.AssetFactory.getSubscribers(AssetFactory.java:4653)
at com.flashline.cmee.factory.AssetFactory.loadAsset(AssetFactory.java:2742)
at com.flashline.cmee.factory.AssetFactory.get(AssetFactory.java:287)
at com.flashline.cmee.factory.AssetFactory.getForAssetSearch(AssetFactory.java:254)
at com.flashline.cmee.factory.AssetSearch.assetSearch(AssetSearch.java:2205)


STEPS
-----------------------
The issue can be reproduced at will with the following steps:

1. Create a user and submit an asset and approve the asset.
2. Delete the user created on step 1.
3. Search for any asset which will result blank page.
4. Access any asset in Asset editor will result the above reported exception.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.