this.bean is null

 1 Replies
 0 Subscribed to this topic
 164 Subscribed to this forum
Sort:
Author
Messages
Bill Brennenstuhl
Basic Member
Posts: 16
Basic Member

    Getting this error when my IPA gets to the second iteration of a Landmark Transaction.  I am iterating through 6 records and it only does it on the second pass.

    Error executing iteration loop java.lang.NullPointerException: Cannot invoke "com.lawson.bpm.landmark.LandmarkAdapter.getPageSize()" because "this.bean" is null

    Bill Brennenstuhl
    Basic Member
    Posts: 16
    Basic Member
      I discovered this is caused when you have a looping node, in this case multiple nested Landmark Transactions, and you don't have the END node of a loop returning to the proper END node of a nested transactions. Because of this, the next time the Landmark Transaction is used, because it didn't end properly, it throws this error.