Mitkees & Webcenter

Into the charm of Oracle Webcenter and ADF

Monthly Archives: September 2012

Webcenter Sites Vs. Webcenter Portal


After Oracle acquired FatWire Software , Oracle completed its suite with a powerful web content management solution for business users.

Webcenter Sites we used to develop websites that is connected with the Webcenter content using WCM, by creating templates and data files and store them at the Webcenter content server which enables direct editing and contribution.

Webcenter Sites is a powerful web content management solution where has the capablilty of  creating,  and publishing business-user websites focused on  targeted audiences.

on the other hand Webcenter portal framework designed for intranet and extranet which has the capabilities of interaction and sharing , which integrate with SOA / Webcenter content  to provide services as document services , workflows and business processes.

NullPointerException while parsing ELExpression to a POJO


I was trying to create a quick ADF application to Draw ADF table from Array list , I have created the array list  and the pojo and created a sample jspx

as follows


<af:table var="row" rowBandingInterval="0" id="t1"
 value="#{backingBeanScope.indexBean.transactionList}"
 partialTriggers="::cmdSearch"
 binding="#{backingBeanScope.indexBean.table}">
 <af:column sortable="false" headerText="idTransaction" id="c2">
 <af:outputText value="#{row.idTransaction}" id="ot4"/>
 </af:column>
 <af:column sortable="false" headerText="referenceCode" id="c5">
 <af:outputText value="#{row.referenceCode}" id="ot7"/>
 </af:column>
 </af:table>

I got found exception

<ActionListenerImpl> <processAction> java.lang.NullPointerException

javax.faces.el.EvaluationException: java.lang.NullPointerException

and i tried to trace the exceptions is it from the value of the list #{backingBeanScope.indexBean.transactionList} or the column values

#{row.idTransaction}

until i found that it can’t access the POJO that has the idTransaction .

and the Reason behind that the POJO have default access identifier after changing it to public the application worked successfully.

%d bloggers like this: