ERROR - Exception "null" (java.lang.NumberFormatException) while processing "<file path>" (Referer:"null")
Symptoms
The following appears in the fisheye-debug-<date>.log:
2012-11-06 12:39:06,591 ERROR [btpool0-8 ] fisheye.app TotalityFilter-logExceptionDetails - Exception "null" (java.lang.NumberFormatException) while processing "/changelog-ajax/Storm/trunk/release.xml" (Referer:"null")
java.lang.NumberFormatException: null
at java.lang.Integer.parseInt(Integer.java:443)
at java.lang.Integer.valueOf(Integer.java:570)
at com.cenqua.fisheye.web.ChangelogAjaxServlet.handleRequest(ChangelogAjaxServlet.java:118)
at com.cenqua.fisheye.web.BaseAction.processRequest(BaseAction.java:251)
at com.cenqua.fisheye.web.ActionDispatcherServlet.doIt(ActionDispatcherServlet.java:238)
at com.cenqua.fisheye.web.ActionDispatcherServlet.doGet(ActionDispatcherServlet.java:69)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1272)
Cause
Googlebot is attempting to fetch a URL it has parsed out of a Fisheye webpage, and making a hash of it (the URL is only designed to be accessed as part of an AJAX request via JavaScript) but it is used in a way it was never designed to be called.
Resolution
Set up a robots.txt file on the server, and disallow that particular URL prefix:
User-agent: Googlebot
Disallow: /changelog-ajax/
Last modified on Jul 31, 2018
Powered by Confluence and Scroll Viewport.