I tested this with out a context root (http://localhost:8080/explore.html) and the shindig.contextroot was "" rather than null. Is there ever a case where the shindig.contextroot would be null? If not I can just remove the "@Nullable"?