Hi all,
Am using J developer Studio Edition Version 11.1.1.9.0.My scenario is when i try to insert data in db from Managed bean, while insert i didn't enter two fields and insert.I got a null pointer exception.One field i have a value with string variable and another field i have binding with bind variable.Please suggest me to overcome from this error.
Following is my jsff code of two fields which i didn't enter while insert.
--------------------------------------------------------------------First Field----------------------------------------
<af:selectOneChoice value="#{pageFlowScope.Home.workconfrnpaymethod}"
label="#{bindings.Paymethod.label}"
required="#{bindings.Paymethod.hints.mandatory}"
shortDesc="#{bindings.Paymethod.hints.tooltip}"
id="soc1">
<f:selectItems value="#{bindings.Paymethod.items}" id="si1"/>
</af:selectOneChoice>
private String workconfrnpaymethod;
--------------------------------------------------------------------Second Field----------------------------------------
<af:inputText label="Invoice Number" id="it26"
binding="#{pageFlowScope.Home.wcinvnumbind}"/>
private RichInputText wcinvnumbind;