I have been migrating an application from version 1.0.1
to version 1.1.
I changed the dtd definition in
securityfilter-config.xml, but forgot to and an
auth-method to login-config.
This gave me at runtime a meaningless
NullPointerException in SecurityFilter line 120.
It was first after reading the thread "NPE in
SecurityFilter.java" by michaeljmuller on the Open
Discussion forum I got the inspiration to check the
config file and searching for any log messages from the
init method...
After searching several hundred lines of log I found
this much more meaningfull error message: "STDERR -
invalid regular expression pattern:
java.lang.Exception: No Authenticator available for
auth method: null"
Not perfect by useable..
Please let init time error show up at runtime or at
least catch this NullPointerException and print out
that something went wrong at init.