Details
-
Bug
-
Resolution: Timed out
-
Medium
-
2.5.5, 2.5.6
-
Severity 2 - Major
-
1
-
Description
Using FishEye 2.5.5 or 2.5.6, a NullPointerException happens when getting information from Perforce repository:
2011-05-25 14:40:48,892 ERROR [btpool0-5 ] org.mortbay.log org.mortbay.log.Slf4jLog-warn - /browse/P4repo/dir1/dir2/filename.rb java.lang.NullPointerException at com.cenqua.fisheye.perforce.client.P4Client.getBlame(P4Client.java:511) at com.cenqua.fisheye.perforce.P4Cache.getBlameFallback(P4Cache.java:328) at com.cenqua.fisheye.cache.BaseRevisionCache.getBlame(BaseRevisionCache.java:571) at com.cenqua.fisheye.web.ViewFileAction.getBlame(ViewFileAction.java:460) at com.cenqua.fisheye.web.ViewFileAction.doFile(ViewFileAction.java:320) at com.cenqua.fisheye.web.ViewFileAction.handleDoFileRequest(ViewFileAction.java:241) at com.cenqua.fisheye.web.ViewFileAction.handleFileRequest(ViewFileAction.java:229) at com.cenqua.fisheye.web.ViewFileAction.handleRequest(ViewFileAction.java:143) at com.cenqua.fisheye.web.BaseAction.processRequest(BaseAction.java:247) at com.cenqua.fisheye.web.ActionDispatcherServlet.doIt(ActionDispatcherServlet.java:237) at com.cenqua.fisheye.web.ActionDispatcherServlet.doGet(ActionDispatcherServlet.java:68) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
This problem is happening for all users and files.
p4 filelog is reporting the author correctly.
A workaround is to configure the repositories having the problem (i.e. <P4repo>) to 'store diffs' and reimport the repository.