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 to
Information in this document applies to any platform.


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


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(
    at oracle.webcenter.portal.api.impl.ManagedPortalObjectImpl.lambda$setPortal$5(
    at oracle.webcenter.portal.persistence.transaction.TransactionManagerImpl$1.doExecute(
    at oracle.webcenter.portal.persistence.transaction.TransactionManagerImpl.execute(
    at oracle.webcenter.portal.persistence.transaction.TransactionManagerImpl.execute(
    at oracle.webcenter.portal.persistence.transaction.TransactionManagerImpl$Proxy$_$$_WeldClientProxy.execute(Unknown Source)
    at oracle.webcenter.portal.api.impl.ManagedPortalObjectImpl.transact(
    at oracle.webcenter.portal.api.impl.ManagedPortalObjectImpl.setPortal(
    at oracle.webcenter.portal.api.impl.PortalObjectRepositoryImpl.create(
    at oracle.webcenter.portal.api.impl.PortalObjectRepositoryImpl$Proxy$_$$_WeldSubclass.create$$super(Unknown Source)



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.





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

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