Solved
It looks to me like it's not even using the ACS Commons 404 handler. Do you have the correct configuration on the server that is failing?
From the error being thrown, it looks like you have some custom code that you're trying to retrieve a Boolean from a method which doesn't have a return value.