oracle.jbo.InvalidParamException: JBO-34009: List binding definition is not found

问题:

 

SEVERE: Server Exception during PPR, #1
oracle.jbo.InvalidParamException: JBO-34009: List binding definition if((ObjectTypeCode != null)&&ObjectTypeCode =="RETAILER"){  return 'LOV_ObjectRetailer' } else    return 'LOV_ObjectDistributor' is not found.
 at oracle.jbo.uicli.binding.JUCtrlListDef.initListBindingDef(JUCtrlListDef.java:281)
 at oracle.jbo.uicli.binding.JUCtrlListBinding.initDefFromServerBinding(JUCtrlListBinding.java:2614)
 at oracle.jbo.uicli.binding.JUCtrlListBinding.getAttributeDefs(JUCtrlListBinding.java:2569)
 at oracle.jbo.uicli.binding.JUCtrlValueBinding.getAttributeDef(JUCtrlValueBinding.java:499)
 at oracle.jbo.uicli.binding.JUCtrlValueBinding.getAttributeDef(JUCtrlValueBinding.java:2588)
 at oracle.adfinternal.view.faces.model.AdfELResolver.getType(AdfELResolver.java:73)
 at javax.el.CompositeELResolver.getType(CompositeELResolver.java:215)
 at com.sun.faces.el.FacesCompositeELResolver.getType(FacesCompositeELResolver.java:86)
 at com.sun.el.parser.AstValue.getType(AstValue.java:58)
 at com.sun.el.ValueExpressionImpl.getType(ValueExpressionImpl.java:180)
 at oracle.adfinternal.view.faces.renderkit.rich.ValueRenderer.getValueExpressionType(ValueRenderer.java:172)
 at oracle.adfinternal.view.faces.renderkit.rich.SimpleInputTextRenderer.renderContentStyleAttributes(SimpleInputTextRenderer.java:409)
 at oracle.adfinternal.view.faces.renderkit.rich.SimpleInputTextRenderer.renderNonElementContent(SimpleInputTextRenderer.java:330)
 at oracle.adfinternal.view.faces.renderkit.rich.FormInputRenderer.encodeAllAsNonElement(FormInputRenderer.java:291)
 at oracle.adfinternal.view.faces.renderkit.rich.FormElementRenderer.encodeAll(FormElementRenderer.java:131)
 at oracle.adf.view.rich.render.RichRenderer.delegateRenderer(RichRenderer.java:1223)
 at oracle.adfinternal.view.faces.renderkit.rich.LabeledInputRenderer.renderFieldCellContents(LabeledInputRenderer.java:177)

 

原因:

lov的切换属性的值使用了表达式if((ObjectTypeCode != null)&&ObjectTypeCode =="RETAILER"){  return 'LOV_ObjectRetailer' } else    return 'LOV_ObjectDistributor' ,但是并没有相应的把值类型改成Expression,即保留了Literal类型导致出错。

 

你可能感兴趣的:(exception,list,server,null,binding)