Error building commits graph for ProjectId

Upsource fails to build commits graph on start page of the project. When I've just created the project and Upsource was indexing the project commit graph has been displayed.
Log from logs/upsource-frontend/error.log:
[2015-01-19 13:08:15,182] ERROR urce task executor-3 ndlers.rpc.impl.ConvertFactory - Error building commits graph for ProjectId{my-product-identifier}
com.jetbrains.upsource.UpsourceException: Malformed graph
        at com.jetbrains.upsource.backend.server.core.db.RevisionInfoTable.getRevisionGraph(
        at com.jetbrains.upsource.frontend.server.handlers.rpc.impl.ConvertFactory.generateGraph(
        at com.jetbrains.upsource.frontend.server.handlers.rpc.impl.commands.GetRevisionsListCommandImpl.execute(
        at com.jetbrains.upsource.frontend.server.handlers.rpc.impl.commands.GetRevisionsListCommandImpl.execute(
        at java.util.concurrent.Executors$
        at java.util.concurrent.FutureTask$Sync.innerRun(
        at java.util.concurrent.ThreadPoolExecutor.runWorker(
        at java.util.concurrent.ThreadPoolExecutor$
Might be caused by this (from logs/upsource-stdout.log):
[Upsource Error] [2015-01-19 13:24:58,006]   WARN - undle.proxy.jetty.ProxyServlet - Proxying / failed: null
[Upsource Error]
[Upsource Error]  at org.eclipse.jetty.client.http.HttpReceiverOverHTTP.earlyEOF(
[Upsource Error]  at org.eclipse.jetty.http.HttpParser.parseNext(
[Upsource Error]  at org.eclipse.jetty.client.http.HttpReceiverOverHTTP.shutdown(
[Upsource Error]  at org.eclipse.jetty.client.http.HttpReceiverOverHTTP.readAndParse(
[Upsource Error]  at org.eclipse.jetty.client.http.HttpReceiverOverHTTP.process(
[Upsource Error]  at org.eclipse.jetty.client.http.HttpReceiverOverHTTP.receive(
[Upsource Error]  at org.eclipse.jetty.client.http.HttpChannelOverHTTP.receive(
[Upsource Error]  at org.eclipse.jetty.client.http.HttpConnectionOverHTTP.onFillable(
[Upsource Error]  at$
[Upsource Error]  at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(
[Upsource Error]  at org.eclipse.jetty.util.thread.QueuedThreadPool$
[Upsource Error]  at

We work with git (github enterprise).
Upsource is run on "1.7.0_09-icedtea OpenJDK Runtime Environment (rhel-"
OS: CentOS release 6.4 (Final).

Comment actions Permalink

Hi Sasha,

Thanks for your request.

If you faced this issue only once, no steps are required, but if you see it constantly, restart should help.

We are aware of this bug and fix should be included in the next product version.

Thanks in advance.

Comment actions Permalink

I have similar issue with just installed upsource.

I tried to create new project but got following errors:

11:49:54: Check for VCS changes completed with errors. jetbrains.vcs.server.api.VcsServiceException: Failed to construct commits graph for test{mappings: 1, mounts: 0}. Failed to construct graph for test:test. Failed to collect commits graph for test:test. jetbrains.buildServer.vcs.VcsException: Fail to update 'refs/heads/Performance' (LOCK_FAILURE).
11:49:54: Project test init failed due to unrecoverable VCS problem: Failed to import commits graph
How to solve them?

Please sign in to leave a comment.