From: Nicolas G. <nik...@gm...> - 2012-10-23 17:12:43
|
Hi, I have deployed Wayback 1.6.0 in proxy mode. When I try to start a replay session on some websites ("http://www.bnf.fr" for instance) I get the following exception: java.lang.NullPointerException java.lang.String.compareTo(String.java:1167) org.archive.wayback.resourceindex.filters.SelfRedirectFilter.filterObject(SelfRedirectFilter.java:63) org.archive.wayback.resourceindex.filters.SelfRedirectFilter.filterObject(SelfRedirectFilter.java:36) org.archive.wayback.util.ObjectFilterChain.filterObject(ObjectFilterChain.java:81) org.archive.wayback.util.ObjectFilterIterator.hasNext(ObjectFilterIterator.java:61) org.archive.wayback.resourceindex.LocalResourceIndex.doCaptureQuery(LocalResourceIndex.java:185) org.archive.wayback.resourceindex.LocalResourceIndex.query(LocalResourceIndex.java:275) org.archive.wayback.webapp.AccessPoint.handleReplay(AccessPoint.java:309) org.archive.wayback.webapp.AccessPoint.handleRequest(AccessPoint.java:213) org.archive.wayback.util.webapp.RequestMapper.handleRequest(RequestMapper.java:183) org.archive.wayback.util.webapp.RequestFilter.doFilter(RequestFilter.java:109) Looking at the code it expects to find a scheme at the beginning of the redirected URL, but if it come from the location header there is absolutely no guarantee about that. Is this a bug, or is there some kind of configuration I got wrong? I've included my wayback.xml file. Best regards, -- Nicolas Giraud --------------------------------------------------------------------------------------------- Développeur Archives du Web - Bibliothèque Nationale de France Web Archiving Developper - National Library of France --------------------------------------------------------------------------------------------- |