We have fop2 (Version 2.11) running w/o problems on one server. On a second server, where the configuration is not so much different, fop2 crashes frequently, about 10 times a day or more.
I started fop2 from the command line and got this when it starts (on both servers):
# /usr/local/fop2/fop2_server Use of uninitialized value in hash element at script/fop2_server.pl line 3991. Use of uninitialized value in pattern match (m//) at script/fop2_server.pl line 3993. Use of uninitialized value in integer gt (>) at script/fop2_server.pl line 4001. Use of uninitialized value in integer gt (>) at script/fop2_server.pl line 4001. Use of uninitialized value in concatenation (.) or string at script/fop2_server.pl line 4012. Use of uninitialized value in concatenation (.) or string at script/fop2_server.pl line 4012.
When fop crashes, it looks like this:
Use of uninitialized value in string eq at script/fop2_server.pl line 3205. Can't call method "setUnique" on unblessed reference at script/fop2_server.pl line 2235.
What to do?