This discussion is archived
6 Replies Latest reply: Feb 3, 2013 5:32 AM by abdou123 RSS

Null pointer exception when create record in view object

abdou123 Newbie
Currently Being Moderated
Hi ,
i made view object for Countries ( HR schema ) and include the RegionName by using the accessor name to be as the Post query behavior in oracle forms
but when i insert new record it gives the following Error
*(oracle.jbo.JboException) JBO-29000: Unexpected exception caught: java.lang.NullPointerException, msg=null*
------
second question
I know that there is another method to include attribute from another entity by adding the Entity Object to the View Object .
which is best the first method ( using accessors ) or ( adding Entity Object ) ?

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points