My Oracle Support Banner

Attempting to Create a Device Resource in WebCenter Portal Returns: Warning Unable to Create Device (Doc ID 2507420.1)

Last updated on JULY 25, 2023

Applies to:

Oracle WebCenter Portal - Version 12.2.1.1.0 to 12.2.1.2.0
Information in this document applies to any platform.

Symptoms

Getting a Warning when attempting to create a Device Resource in WebCenter Portal.

ERROR

The Portal UI shows the following warning:

Unable to create device [device-name]


The Portal diagnostic log shows the following error:

[<TIMESTAMP>] [WC_Portal] [ERROR] [WCS-72043] [oracle.webcenter.portal.persistence.impl.type.BaseResourceImpl] [tid: [ACTIVE].ExecuteThread: '62' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <USERNAME>] [ecid: <ECID>] [APP: webcenter] [partition-name: DOMAIN] [tenant-name: GLOBAL] [DSID: <DSID>] An attempt was made to set a PortalEntity object named 'null' and type 'oracle.webcenter.portal.persistence.DeviceResource' with a null Portal property.[[
oracle.webcenter.portal.persistence.PersistenceRuntimeException: An attempt was made to set a PortalEntity object named 'null' and type 'oracle.webcenter.portal.persistence.DeviceResource' with a null Portal property.
    at oracle.webcenter.portal.persistence.impl.type.BaseResourceImpl.setPortal(BaseResourceImpl.java:167)
    at oracle.webcenter.portal.api.impl.ManagedPortalObjectImpl.lambda$setPortal$5(ManagedPortalObjectImpl.java:361)
    at oracle.webcenter.portal.persistence.transaction.TransactionManagerImpl$1.doExecute(TransactionManagerImpl.java:249)
    at oracle.webcenter.portal.persistence.transaction.TransactionManagerImpl.execute(TransactionManagerImpl.java:282)
    at oracle.webcenter.portal.persistence.transaction.TransactionManagerImpl.execute(TransactionManagerImpl.java:244)
    at oracle.webcenter.portal.persistence.transaction.TransactionManagerImpl$Proxy$_$$_WeldClientProxy.execute(Unknown Source)
    at oracle.webcenter.portal.api.impl.ManagedPortalObjectImpl.transact(ManagedPortalObjectImpl.java:948)
    at oracle.webcenter.portal.api.impl.ManagedPortalObjectImpl.setPortal(ManagedPortalObjectImpl.java:358)
    at oracle.webcenter.portal.api.impl.PortalObjectRepositoryImpl.create(PortalObjectRepositoryImpl.java:92)
    at oracle.webcenter.portal.api.impl.PortalObjectRepositoryImpl$Proxy$_$$_WeldSubclass.create$$super(Unknown Source)
...

 

STEPS

The issue can be reproduced with the following steps: 

  1. Connect to WebCenter Portal as an Administrator user.

  2. Navigate to Administration->Device Settings.
  3. Select the Devices Tab.
  4. Click Create.
  5. Provide the Name, Display Name and User Agent properties and click OK.
    The warning will display and the device is not created.

 

Changes

 

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!


In this Document
Symptoms
Changes
Cause
Solution
References


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