I have the same problem with Multibranch Pipeline.
Tried to update to the latest version 2.53, plugins updated as well - same results.
When a new branch is pushed (to Git), the job is triggered and failes with StackOverflowError.
It is sometimes possible to get it running after a few clicks on "Build Now", it eventually goes through and does not throw any error.