以MasterDetail格式使用ViewLink Accessor时为Null对象

时间:2019-06-03 14:32:24

标签: oracle-adf

设计:

ViewObject:ParentVO, ChildVO

查看链接: ViewLink的迁移条件:

ParentVO.BaseId=ChildVO.UserId
ParentVO.OrganziationId=ChildVO.OrganizationId

查看链接属性>>生成选定的访问器

在子视图对象中- 创建了临时属性-InventoryItemId 表达式已选择 Groovy表达式: ParentViewVO.InventoryItemId

显示错误

  

出现以下错误:   JBO-29000:捕获了意外的异常:java.lang.NullPointerException,msg =在空对象上无法获取属性“ InventoryItemId”:在空对象上无法获取属性“ InventoryItemId”

0 个答案:

没有答案
相关问题