My Oracle Support Banner

"An error occurred while populating the business object for the data service" Displayed when Creating Business Objects And Data Visualizations (Doc ID 2910029.1)

Last updated on AUGUST 10, 2024

Applies to:

Oracle WebCenter Portal - Version 12.2.1.3.220602 and later
Oracle WebCenter Portal for OCI - Version 12.2.1.4_24.2 and later
Information in this document applies to any platform.

Symptoms

Below errors are returned when trying to create Business Objects and Visualizations from a REST data source.

User Interface:

An error occurred while populating business object for the data service <DATASOURCE_NAME>

diagnostic log of portal server:

[WC_Spaces] [WARNING] [] [oracle.webcenter.datapresenter.internal.view.businessobject.DataSourceBean] [tid: [ACTIVE].ExecuteThread: '21' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <USERID>] [ecid: <ECID>] [APP: webcenter] [partition-name: DOMAIN] [tenant-name: GLOBAL] [DSID: <DSID>] An error occurred while populating the business object for the data service '<DATASOURCE_NAME>'
[<TIMESTAMP>] [WC_Spaces] [WARNING] [] [oracle.webcenter.datapresenter.internal.view.businessobject.DataSourceBean] [tid: [ACTIVE].ExecuteThread: '21' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <USERID>] [ecid: <ECID>] [APP: webcenter] [partition-name: DOMAIN] [tenant-name: GLOBAL] [DSID: <DSID>] [[
oracle.webcenter.datapresenter.internal.exception.DataPresenterException
at oracle.webcenter.datapresenter.internal.api.autocreate.ServiceAPI.autoPopulateBusinessObject(ServiceAPI.java:193)
at oracle.webcenter.datapresenter.internal.view.businessobject.BOAutoCreateBean.populateCurrentBusinessObject(BOAutoCreateBean.java:693)
at oracle.webcenter.datapresenter.internal.view.businessobject.BOAutoCreateBean.populateBOForDataService(BOAutoCreateBean.java:1409)
at oracle.webcenter.datapresenter.internal.view.businessobject.DataSourceBean.listSelectionChange(DataSourceBean.java:522)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.sun.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:181)
at com.sun.el.parser.AstValue.invoke(AstValue.java:289)
at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:304)
at org.jboss.weld.util.el.ForwardingMethodExpression.invoke(ForwardingMethodExpression.java:40)
at org.jboss.weld.el.WeldMethodExpression.invoke(WeldMethodExpression.java:50)
..
..
Caused by: java.lang.NullPointerException
at oracle.webcenter.datapresenter.internal.dataservice.common.DCDefinition.addAccessorAttributes(DCDefinition.java:90)
at oracle.webcenter.datapresenter.internal.dataservice.common.AbstractDataService.listParameters(AbstractDataService.java:574)
at oracle.webcenter.datapresenter.internal.api.autocreate.ServiceAPI.addMethodAttributesAndParameters(ServiceAPI.java:449)
at oracle.webcenter.datapresenter.internal.api.autocreate.ServiceAPI.autoPopulateBusinessObject(ServiceAPI.java:176)

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


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