No Accessible Method

Below is a list of methods that can spawn the 'No Accessible Method' exception.

Digester.addSetNext() and SetNextRule.end()

  • The object in which one is trying to relate the current object does not have the specified method.
  • The object in which one is trying to relate the current object is not one up on the stack.
  • Created a custom rule and forgot to push the object on the stack. The object that is supposed to be on the stack is the object that an object is trying to relate to.
  • Created a custom rule that is placed on the stack above an object that has a setNextRule. The custom rule pushes an object on the stack, but does not pop it off the stack. The result is that the SetNextRule method that is supposed to be called on an object one down the stack gets called on itself.
  • No labels