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 JUNE 25, 2019

Applies to:

Oracle WebCenter Portal - Version 12.2.1.1.0 and later
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:

[2018-10-12T15:58:34.446-04:00] [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 at will 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.
    Here you will get the warning and you will see the device is not created.

 

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
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.