Over the past couple of days we're seeing a lot of these:
java.lang.NullPointerException
at com.googlecode.batchfb.impl.ErrorDetectingWrapper.convert(ErrorDetectingWrapper.java:63)
at com.googlecode.batchfb.impl.ErrorDetectingWrapper.convert(ErrorDetectingWrapper.java:53)
at com.googlecode.batchfb.util.LaterWrapper.get(LaterWrapper.java:45)
at com.googlecode.batchfb.util.LaterWrapper.get(LaterWrapper.java:45)
at com.googlecode.batchfb.util.LaterWrapper.get(LaterWrapper.java:45)
at com.googlecode.batchfb.impl.PagedLaterAdapter.get(PagedLaterAdapter.java:34)
at com.googlecode.batchfb.impl.PagedLaterAdapter.get(PagedLaterAdapter.java:13)
I haven't had time to debug it yet. My guess is GraphAPI is puking
with a random and newly defined error as it is wont to do and BatchFB
isn't converting it to something useful. I'll look into it later but
if this is a known issue and someone has the info please let me know.
Thanks
Jon
I'll have to go with your suggestion and log FINEST on prod. I've
held off on that as it generates massive logs.
Jeff
I had trouble building batchfb which I haven't done on 2.x (successful
build with no errors but only 57KB, built on another machine and all
was well) . As of Monday we had a build and are deploying the jar
tonight. However, it does seem the errors have dried up. I haven't
seen any at all in a couple of days and that's down from
hundreds/thousands daily. I'm still going to stay on top of it and if
it starts back up turn on the logging.
Thanks,
Jon
Is a null response ever appropriate? It seems not. I don't know if
my earlier suggestion makes sense but I'd much rather catch a
FacebookException (or subclass) than a NPE. Maybe something like what
you did with PageMigratedException - perhaps
FacebookUtterlyBanjaxedException.
Jon
Thanks for the patch.