ERROR - Exception "null" (java.lang.NumberFormatException) while processing "<file path>" (Referer:"null")

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

症状

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)

原因

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.

ソリューション

Set up a robots.txt file on the server, and disallow that particular URL prefix:

User-agent: Googlebot
Disallow: /changelog-ajax/
最終更新日 2018 年 7 月 31 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.