Content Presenter Wizard Crashes When Selecting Content Source - NullPointerException (Doc ID 1903193.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle WebCenter Portal - Version 11.1.1.8.0 and later
Information in this document applies to any platform.

Symptoms

In an 11.1.1.8.0 WebCenter Installation, when using the Content Presenter, on tab Content you can select the content source.
When selecting any other option than "Single Content Item" (which is the default) then the popup immediately disappears and an error comes up.

Internal Error (WCS#2014.06.13.10.09.23)

####<20.06.2014 15:03 Uhr MESZ> <Notice> <Stdout> <dhl-wcpgkpref1-vm> <portal1> <[ACTIVE] ExecuteThread: '16' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <d8d1a555c191beb8:76cd0f38:146b8cf6085:-8000-000000000000506d> <1403269426999> <BEA-000000> <<20.06.2014 15:03 Uhr MESZ> <Warning> <oracle.adf.view.rich.component.fragment.UIXRegion> <ADF_FACES-00009> <Fehler beim Verarbeiten von viewId: /content-presenter-wizard/searchResults URI: /oracle/webcenter/doclib/view/jsf/taskflows/presenter/selectQuery.jsff actual-URI: /oracle/webcenter/doclib/view/jsf/taskflows/presenter/selectQuery.jsff.
javax.el.ELException: java.lang.NullPointerException
    at javax.el.BeanELResolver.getValue(BeanELResolver.java:298)
    at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:173)
    ...
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1491)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
>>
####<20.06.2014 15:03 Uhr MESZ> <Notice> <Stdout> <dhl-wcpgkpref1-vm> <portal1> <[ACTIVE] ExecuteThread: '16' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <d8d1a555c191beb8:76cd0f38:146b8cf6085:-8000-000000000000506e> <1403269427007> <BEA-000000> <<20.06.2014 15:03 Uhr MESZ> <Warning> <oracle.adf.view.rich.component.fragment.UIXRegion> <ADF_FACES-00009> <Fehler beim Verarbeiten von viewId: /doclib-content-presenter/presenter-not-configured-view URI: /oracle/webcenter/doclib/view/jsf/taskflows/presenter/presenterNotConfiguredView.jsff actual-URI: /oracle/webcenter/doclib/view/jsf/taskflows/presenter/presenterNotConfiguredView.jsff.
javax.el.ELException: java.lang.NullPointerException
    at javax.el.BeanELResolver.getValue(BeanELResolver.java:298)
    at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:173)
...
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Caused By: java.lang.NullPointerException
    at oracle.webcenter.doclib.internal.view.presenter.TemplateHandler.getTemplateViews(TemplateHandler.java:381)
    at oracle.webcenter.doclib.internal.view.presenter.TemplateHandler.getTemplateSelectionDone(TemplateHandler.java:644)
    at sun.reflect.GeneratedMethodAccessor3130.invoke(Unknown Source)
...
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1491)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
>>
####<20.06.2014 15:03 Uhr MESZ> <Notice> <Stdout> <dhl-wcpgkpref1-vm> <portal1> <[ACTIVE] ExecuteThread: '16' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <d8d1a555c191beb8:76cd0f38:146b8cf6085:-8000-000000000000506f> <1403269427010> <BEA-000000> <<20.06.2014 15:03 Uhr MESZ> <Error> <oracle.adfinternal.view.page.editor.renderkit.PageCustomizableRenderer> <BEA-000000> <Composer has caught an exception and is rethrowing.>>
####<20.06.2014 15:03 Uhr MESZ> <Notice> <Stdout> <dhl-wcpgkpref1-vm> <portal1> <[ACTIVE] ExecuteThread: '16' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <d8d1a555c191beb8:76cd0f38:146b8cf6085:-8000-0000000000005070> <1403269427014> <BEA-000000> <<20.06.2014 15:03 Uhr MESZ> <Error> <oracle.adfinternal.view.page.editor.renderkit.PageCustomizableRenderer> <BEA-000000> <Examine the root cause to investigate the error>>


or this error was also seen
2014-06-27T14:57:01.363+02:00] [WC_Spaces] [WARNING] [ADF_FACES-00009] [oracle.adf.view.rich.component.fragment.UIXRegion] [tid: [ACTIVE].ExecuteThread: '13' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: orcladmin] [ecid: 004zD3OPjNu7q2ipL4O5ye0001EX0007Js,0:1] [APP: webcenter#11.1.1.4.0] [URI: /webcenter/faces/oracle/webcenter/page/scopedMD/sa6627938_9c0b_4bce_99a8_1bc83775e7ce/Page3.jspx] Error processing viewId: /content-presenter-wizard/folderResults URI: /oracle/webcenter/doclib/view/jsf/taskflows/presenter/contentsOfFolder.jsff actual-URI: /oracle/webcenter/doclib/view/jsf/taskflows/presenter/contentsOfFolder.jsff.[[
javax.el.ELException: java.lang.NullPointerException
    at javax.el.BeanELResolver.getValue(BeanELResolver.java:298)
    at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:173)
    at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:200)
...
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Caused by: java.lang.NullPointerException
    at oracle.webcenter.doclib.internal.view.presenter.TemplateHandler.getTemplateViews(TemplateHandler.java:381)
    at oracle.webcenter.doclib.internal.view.presenter.TemplateHandler.getTemplateSelectionDone(TemplateHandler.java:644)
...
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
    ... 9 more

Changes

New content presenter templates were created, and some were made not available.

Cause

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 hundreds of Community platforms