6 Replies Latest reply on Feb 3, 2013 1:32 PM by abdou123

    Null pointer exception when create record in view object

      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 ) ?