org.sonar.server.computation.component.VisitException: Visit failed for Component {key=Common:XXX:Common:XXX:A8E27CB6-7230-4636-8952-8BECE88C589C:AppTests.cs,type=FILE} located Common:XXX:Common:XXX:A8E27CB6-7230-4636-8952-8BECE88C589C:/(type=DIRECTORY)->Common:XXX:Common:XXX:A8E27CB6-7230-4636-8952-8BECE88C589C(type=MODULE)->Common:XXX(type=PROJECT)

Google Groups | John M | 9 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Failed to execute task... org.sonar.server.computation.component.VisitException: Visit failed for Component

    Google Groups | 9 months ago | John M
    org.sonar.server.computation.component.VisitException: Visit failed for Component {key=Common:XXX:Common:XXX:A8E27CB6-7230-4636-8952-8BECE88C589C:AppTests.cs,type=FILE} located Common:XXX:Common:XXX:A8E27CB6-7230-4636-8952-8BECE88C589C:/(type=DIRECTORY)->Common:XXX:Common:XXX:A8E27CB6-7230-4636-8952-8BECE88C589C(type=MODULE)->Common:XXX(type=PROJECT)
  2. 0

    Re: [akka-user] Remote server error java.lang.IllegalArgumentException:com.google.protobuf.InvalidProtocolBufferException - Grokbase

    grokbase.com | 1 year ago
    com.google.protobuf.InvalidProtocolBufferException: While parsing a protocol message, the input ended unexpectedly in the middle of a field. This could mean either than the input has been truncated or that an embedded message misreported its own length. at com.google.protobuf.CodedInputStream.newInstance(CodedInputStream.java:86) at com.google.protobuf.AbstractMessageLite$Builder.mergeFrom(AbstractMessageLite.java:160) at com.google.protobuf.AbstractMessage$Builder.mergeFrom(AbstractMessage.java:716) at com.google.protobuf.AbstractMessage$Builder.mergeFrom(AbstractMessage.java:238) at org.jboss.netty.handler.codec.protobuf.ProtobufDecoder.decode(ProtobufDecoder.java:99) at org.jboss.netty.handler.codec.oneone.OneToOneDecoder.handleUpstream(OneToOneDecoder.java:67) at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:296) at org.jboss.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:458) at org.jboss.netty.handler.codec.frame.FrameDecoder.callDecode(FrameDecoder.java:439) at org.jboss.netty.handler.codec.frame.FrameDecoder.messageReceived(FrameDecoder.java:303) at org.jboss.netty.handler.timeout.IdleStateHandler.messageReceived(IdleStateHandler.java:294) at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:268) at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:255) at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:84) at org.jboss.netty.channel.socket.nio.AbstractNioWorker.processSelectedKeys(AbstractNioWorker.java:471) at org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:332) at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:35) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919)

    Root Cause Analysis

    1. com.google.protobuf.InvalidProtocolBufferException

      Stream is corrupted

      at org.sonar.db.protobuf.DbFileSources$Data.<init>()
    2. org.sonar.db
      DbFileSources$Data$1.parsePartialFrom
      1. org.sonar.db.protobuf.DbFileSources$Data.<init>(DbFileSources.java:2366)[sonar-db-5.6.jar:na]
      2. org.sonar.db.protobuf.DbFileSources$Data.<init>(DbFileSources.java:2312)[sonar-db-5.6.jar:na]
      3. org.sonar.db.protobuf.DbFileSources$Data$1.parsePartialFrom(DbFileSources.java:2933)[sonar-db-5.6.jar:na]
      4. org.sonar.db.protobuf.DbFileSources$Data$1.parsePartialFrom(DbFileSources.java:2927)[sonar-db-5.6.jar:na]
      4 frames
    3. Protocol Buffer Java API
      AbstractParser.parseFrom
      1. com.google.protobuf.AbstractParser.parsePartialFrom(AbstractParser.java:192)[protobuf-java-3.0.0-beta-2.jar:na]
      2. com.google.protobuf.AbstractParser.parseFrom(AbstractParser.java:210)[protobuf-java-3.0.0-beta-2.jar:na]
      3. com.google.protobuf.AbstractParser.parseFrom(AbstractParser.java:215)[protobuf-java-3.0.0-beta-2.jar:na]
      4. com.google.protobuf.AbstractParser.parseFrom(AbstractParser.java:49)[protobuf-java-3.0.0-beta-2.jar:na]
      4 frames
    4. org.sonar.db
      FileSourceDto.getSourceData
      1. org.sonar.db.protobuf.DbFileSources$Data.parseFrom(DbFileSources.java:2478)[sonar-db-5.6.jar:na]
      2. org.sonar.db.source.FileSourceDto.decodeRegularSourceData(FileSourceDto.java:108)[sonar-db-5.6.jar:na]
      3. org.sonar.db.source.FileSourceDto.decodeSourceData(FileSourceDto.java:98)[sonar-db-5.6.jar:na]
      4. org.sonar.db.source.FileSourceDto.getSourceData(FileSourceDto.java:212)[sonar-db-5.6.jar:na]
      4 frames
    5. org.sonar.server
      CeWorkerCallableImpl.call
      1. org.sonar.server.computation.scm.ScmInfoRepositoryImpl.getScmInfoFromDb(ScmInfoRepositoryImpl.java:107)[sonar-server-5.6.jar:na]
      2. org.sonar.server.computation.scm.ScmInfoRepositoryImpl.getScmInfoForComponent(ScmInfoRepositoryImpl.java:90)[sonar-server-5.6.jar:na]
      3. org.sonar.server.computation.scm.ScmInfoRepositoryImpl.initializeScmInfoForComponent(ScmInfoRepositoryImpl.java:71)[sonar-server-5.6.jar:na]
      4. org.sonar.server.computation.scm.ScmInfoRepositoryImpl.getScmInfo(ScmInfoRepositoryImpl.java:59)[sonar-server-5.6.jar:na]
      5. org.sonar.server.computation.step.NewCoverageMeasuresStep$NewCoverageCounter.initialize(NewCoverageMeasuresStep.java:371)[sonar-server-5.6.jar:na]
      6. org.sonar.server.computation.formula.FormulaExecutorComponentVisitor.processLeaf(FormulaExecutorComponentVisitor.java:165)[sonar-server-5.6.jar:na]
      7. org.sonar.server.computation.formula.FormulaExecutorComponentVisitor.process(FormulaExecutorComponentVisitor.java:142)[sonar-server-5.6.jar:na]
      8. org.sonar.server.computation.formula.FormulaExecutorComponentVisitor.visitFile(FormulaExecutorComponentVisitor.java:122)[sonar-server-5.6.jar:na]
      9. org.sonar.server.computation.component.PathAwareCrawler.visitNode(PathAwareCrawler.java:105)[sonar-server-5.6.jar:na]
      10. org.sonar.server.computation.component.PathAwareCrawler.visitImpl(PathAwareCrawler.java:73)[sonar-server-5.6.jar:na]
      11. org.sonar.server.computation.component.PathAwareCrawler.visit(PathAwareCrawler.java:50)[sonar-server-5.6.jar:na]
      12. org.sonar.server.computation.component.PathAwareCrawler.visitChildren(PathAwareCrawler.java:87)[sonar-server-5.6.jar:na]
      13. org.sonar.server.computation.component.PathAwareCrawler.visitImpl(PathAwareCrawler.java:70)[sonar-server-5.6.jar:na]
      14. org.sonar.server.computation.component.PathAwareCrawler.visit(PathAwareCrawler.java:50)[sonar-server-5.6.jar:na]
      15. org.sonar.server.computation.component.PathAwareCrawler.visitChildren(PathAwareCrawler.java:87)[sonar-server-5.6.jar:na]
      16. org.sonar.server.computation.component.PathAwareCrawler.visitImpl(PathAwareCrawler.java:70)[sonar-server-5.6.jar:na]
      17. org.sonar.server.computation.component.PathAwareCrawler.visit(PathAwareCrawler.java:50)[sonar-server-5.6.jar:na]
      18. org.sonar.server.computation.component.PathAwareCrawler.visitChildren(PathAwareCrawler.java:87)[sonar-server-5.6.jar:na]
      19. org.sonar.server.computation.component.PathAwareCrawler.visitImpl(PathAwareCrawler.java:70)[sonar-server-5.6.jar:na]
      20. org.sonar.server.computation.component.PathAwareCrawler.visit(PathAwareCrawler.java:50)[sonar-server-5.6.jar:na]
      21. org.sonar.server.computation.step.NewCoverageMeasuresStep.execute(NewCoverageMeasuresStep.java:122)[sonar-server-5.6.jar:na]
      22. org.sonar.server.computation.step.ComputationStepExecutor.executeSteps(ComputationStepExecutor.java:64)[sonar-server-5.6.jar:na]
      23. org.sonar.server.computation.step.ComputationStepExecutor.execute(ComputationStepExecutor.java:52)[sonar-server-5.6.jar:na]
      24. org.sonar.server.computation.taskprocessor.report.ReportTaskProcessor.process(ReportTaskProcessor.java:75)[sonar-server-5.6.jar:na]
      25. org.sonar.server.computation.taskprocessor.CeWorkerCallableImpl.executeTask(CeWorkerCallableImpl.java:81)[sonar-server-5.6.jar:na]
      26. org.sonar.server.computation.taskprocessor.CeWorkerCallableImpl.call(CeWorkerCallableImpl.java:56)[sonar-server-5.6.jar:na]
      27. org.sonar.server.computation.taskprocessor.CeWorkerCallableImpl.call(CeWorkerCallableImpl.java:35)[sonar-server-5.6.jar:na]
      27 frames
    6. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:266)[na:1.8.0_92]
      2. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[na:1.8.0_92]
      3. java.util.concurrent.FutureTask.run(FutureTask.java:266)[na:1.8.0_92]
      4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[na:1.8.0_92]
      5. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[na:1.8.0_92]
      6. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_92]
      7. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_92]
      8. java.lang.Thread.run(Thread.java:745)[na:1.8.0_92]
      8 frames