Fisheye cannot parse SCM output

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

The following appears in the fisheye-debug-<date>.log:

java.lang.IllegalStateException: Both branchInCache and branchInScm not specified in onBranchHeadUpdated
	at com.atlassian.fisheye.hg.HgScanner.prepareBranchToBeStored(HgScanner.java:860)
	at com.atlassian.fisheye.dvcs.DvcsScanner.updateBranchHead(DvcsScanner.java:220)
	at com.atlassian.fisheye.dvcs.DvcsScanner.processRevisions(DvcsScanner.java:296)
	at com.cenqua.fisheye.rep.LifecycleRepositoryScanner.slurpRepository(LifecycleRepositoryScanner.java:82)
	at com.cenqua.fisheye.rep.LifecycleRepositoryScanner.doSlurpTransaction(LifecycleRepositoryScanner.java:49)
	at com.cenqua.fisheye.rep.BaseRepositoryScanner.ping(BaseRepositoryScanner.java:73)
	at com.cenqua.fisheye.rep.BaseRepositoryEngine.doSlurp(BaseRepositoryEngine.java:86)
	at com.cenqua.fisheye.rep.RepositoryEngine.slurp(RepositoryEngine.java:414)
	at com.cenqua.fisheye.rep.ping.IndexingPingRequest.doRequest(IndexingPingRequest.java:27)
	at com.cenqua.fisheye.rep.ping.IncrementalPingRequest.doRequest(IncrementalPingRequest.java:30)
	at com.cenqua.fisheye.rep.ping.PingRequest$1.run(PingRequest.java:55)
	at com.cenqua.fisheye.util.NamedExecution.run(NamedExecution.java:27)
	at com.cenqua.fisheye.rep.ping.PingRequest.process(PingRequest.java:52)
	at com.cenqua.fisheye.rep.RepositoryHandle.processPingRequests(RepositoryHandle.java:217)
	at com.cenqua.fisheye.rep.RepositoryHandle.access$100(RepositoryHandle.java:59)
	at com.cenqua.fisheye.rep.RepositoryHandle$2.run(RepositoryHandle.java:173)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:724)

Cause

  1. If SCM (in this case - Mercurial) produces output in different locale than english we are not able to parse it. 
  2. There is branch a with non-ascii name.

Workaround

  1. Please see the resolution in:   FE-5687 - Getting issue details... STATUS
  2. Remove this branch with hg strip or rename the branch.

Last modified on Apr 20, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.