Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-7571

Compute Engine analysis fails to load file with InvalidProtocolBufferException

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.6
    • Component/s: Compute Engine, Database
    • Labels:

      Description

      Error is:

      2016.04.25 11:26:03 ERROR [o.s.s.c.t.CeWorkerCallableImpl] Failed to execute task AVRMshZd6gfXIoO4IGVg
      org.sonar.server.computation.component.VisitException: Visit failed for Component {key=B35573A6-7771-46F4-99B5-098B9A49C2F3:B35573A6-7771-46F4-99B5-098B9A49C2F3:05C031BB-1612-4487-AC3F-6428BBF88C95:xxx.xml,type=FILE}  located B35573A6-7771-46F4-99B5-098B9A49C2F3:B35573A6-7771-46F4-99B5-098B9A49C2F3:05C031BB-1612-4487-AC3F-6428BBF88C95:xxx->B35573A6-7771-46F4-99B5-098B9A49C2F3:B35573A6-7771-46F4-99B5-098B9A49C2F3:05C031BB-1612-4487-AC3F-6428BBF88C95:xxx->B35573A6-7771-46F4-99B5-098B9A49C2F3:xxx
      	at org.sonar.server.computation.component.VisitException.rethrowOrWrap(VisitException.java:44) ~[sonar-server-5.4.jar:na]
      	at org.sonar.server.computation.component.PathAwareCrawler.visit(PathAwareCrawler.java:52) ~[sonar-server-5.4.jar:na]
      	at org.sonar.server.computation.component.PathAwareCrawler.visitChildren(PathAwareCrawler.java:87) ~[sonar-server-5.4.jar:na]
      	at org.sonar.server.computation.component.PathAwareCrawler.visitImpl(PathAwareCrawler.java:70) ~[sonar-server-5.4.jar:na]
      	at org.sonar.server.computation.component.PathAwareCrawler.visit(PathAwareCrawler.java:50) ~[sonar-server-5.4.jar:na]
      	at org.sonar.server.computation.component.PathAwareCrawler.visitChildren(PathAwareCrawler.java:87) ~[sonar-server-5.4.jar:na]
      	at org.sonar.server.computation.component.PathAwareCrawler.visitImpl(PathAwareCrawler.java:70) ~[sonar-server-5.4.jar:na]
      	at org.sonar.server.computation.component.PathAwareCrawler.visit(PathAwareCrawler.java:50) ~[sonar-server-5.4.jar:na]
      	at org.sonar.server.computation.component.PathAwareCrawler.visitChildren(PathAwareCrawler.java:87) ~[sonar-server-5.4.jar:na]
      	at org.sonar.server.computation.component.PathAwareCrawler.visitImpl(PathAwareCrawler.java:70) ~[sonar-server-5.4.jar:na]
      	at org.sonar.server.computation.component.PathAwareCrawler.visit(PathAwareCrawler.java:50) ~[sonar-server-5.4.jar:na]
      	at org.sonar.server.computation.step.NewCoverageMeasuresStep.execute(NewCoverageMeasuresStep.java:113) ~[sonar-server-5.4.jar:na]
      	at org.sonar.server.computation.step.ComputationStepExecutor.execute(ComputationStepExecutor.java:39) ~[sonar-server-5.4.jar:na]
      	at org.sonar.server.computation.taskprocessor.report.ReportTaskProcessor.process(ReportTaskProcessor.java:72) ~[sonar-server-5.4.jar:na]
      	at org.sonar.server.computation.taskprocessor.CeWorkerCallableImpl.executeTask(CeWorkerCallableImpl.java:80) [sonar-server-5.4.jar:na]
      	at org.sonar.server.computation.taskprocessor.CeWorkerCallableImpl.call(CeWorkerCallableImpl.java:55) [sonar-server-5.4.jar:na]
      	at org.sonar.server.computation.taskprocessor.CeWorkerCallableImpl.call(CeWorkerCallableImpl.java:34) [sonar-server-5.4.jar:na]
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_77]
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_77]
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_77]
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [na:1.8.0_77]
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [na:1.8.0_77]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_77]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_77]
      	at java.lang.Thread.run(Thread.java:745) [na:1.8.0_77]
      Caused by: java.lang.IllegalStateException: Fail to decompress and deserialize source data
      	at org.sonar.db.source.FileSourceDto.decodeSourceData(FileSourceDto.java:104) ~[sonar-db-5.4.jar:na]
      	at org.sonar.db.source.FileSourceDto.decodeSourceData(FileSourceDto.java:91) ~[sonar-db-5.4.jar:na]
      	at org.sonar.db.source.FileSourceDto.getSourceData(FileSourceDto.java:197) ~[sonar-db-5.4.jar:na]
      	at org.sonar.server.computation.scm.ScmInfoRepositoryImpl.getScmInfoFromDb(ScmInfoRepositoryImpl.java:103) ~[sonar-server-5.4.jar:na]
      	at org.sonar.server.computation.scm.ScmInfoRepositoryImpl.getScmInfoForComponent(ScmInfoRepositoryImpl.java:86) ~[sonar-server-5.4.jar:na]
      	at org.sonar.server.computation.scm.ScmInfoRepositoryImpl.initializeScmInfoForComponent(ScmInfoRepositoryImpl.java:71) ~[sonar-server-5.4.jar:na]
      	at org.sonar.server.computation.scm.ScmInfoRepositoryImpl.getScmInfo(ScmInfoRepositoryImpl.java:59) ~[sonar-server-5.4.jar:na]
      	at org.sonar.server.computation.step.NewCoverageMeasuresStep$NewCoverageCounter.initialize(NewCoverageMeasuresStep.java:371) ~[sonar-server-5.4.jar:na]
      	at org.sonar.server.computation.formula.FormulaExecutorComponentVisitor.processLeaf(FormulaExecutorComponentVisitor.java:165) ~[sonar-server-5.4.jar:na]
      	at org.sonar.server.computation.formula.FormulaExecutorComponentVisitor.process(FormulaExecutorComponentVisitor.java:142) ~[sonar-server-5.4.jar:na]
      	at org.sonar.server.computation.formula.FormulaExecutorComponentVisitor.visitFile(FormulaExecutorComponentVisitor.java:122) ~[sonar-server-5.4.jar:na]
      	at org.sonar.server.computation.component.PathAwareCrawler.visitNode(PathAwareCrawler.java:105) ~[sonar-server-5.4.jar:na]
      	at org.sonar.server.computation.component.PathAwareCrawler.visitImpl(PathAwareCrawler.java:73) ~[sonar-server-5.4.jar:na]
      	at org.sonar.server.computation.component.PathAwareCrawler.visit(PathAwareCrawler.java:50) ~[sonar-server-5.4.jar:na]
      	... 23 common frames omitted
      Caused by: com.google.protobuf.InvalidProtocolBufferException: Protocol message was too large.  May be malicious.  Use CodedInputStream.setSizeLimit() to increase the size limit.
      	at com.google.protobuf.InvalidProtocolBufferException.sizeLimitExceeded(InvalidProtocolBufferException.java:110) ~[protobuf-java-3.0.0-beta-1.jar:na]
      	at com.google.protobuf.CodedInputStream.tryRefillBuffer(CodedInputStream.java:1131) ~[protobuf-java-3.0.0-beta-1.jar:na]
      	at com.google.protobuf.CodedInputStream.refillBuffer(CodedInputStream.java:1081) ~[protobuf-java-3.0.0-beta-1.jar:na]
      	at com.google.protobuf.CodedInputStream.ensureAvailable(CodedInputStream.java:1068) ~[protobuf-java-3.0.0-beta-1.jar:na]
      	at com.google.protobuf.CodedInputStream.readRawBytesSlowPath(CodedInputStream.java:1203) ~[protobuf-java-3.0.0-beta-1.jar:na]
      	at com.google.protobuf.CodedInputStream.readBytes(CodedInputStream.java:517) ~[protobuf-java-3.0.0-beta-1.jar:na]
      	at org.sonar.db.protobuf.DbFileSources$Line.<init>(DbFileSources.java:297) ~[sonar-db-5.4.jar:na]
      	at org.sonar.db.protobuf.DbFileSources$Line.<init>(DbFileSources.java:236) ~[sonar-db-5.4.jar:na]
      	at org.sonar.db.protobuf.DbFileSources$Line$1.parsePartialFrom(DbFileSources.java:2250) ~[sonar-db-5.4.jar:na]
      	at org.sonar.db.protobuf.DbFileSources$Line$1.parsePartialFrom(DbFileSources.java:2244) ~[sonar-db-5.4.jar:na]
      	at com.google.protobuf.CodedInputStream.readMessage(CodedInputStream.java:495) ~[protobuf-java-3.0.0-beta-1.jar:na]
      	at org.sonar.db.protobuf.DbFileSources$Data.<init>(DbFileSources.java:2356) ~[sonar-db-5.4.jar:na]
      	at org.sonar.db.protobuf.DbFileSources$Data.<init>(DbFileSources.java:2312) ~[sonar-db-5.4.jar:na]
      	at org.sonar.db.protobuf.DbFileSources$Data$1.parsePartialFrom(DbFileSources.java:2933) ~[sonar-db-5.4.jar:na]
      	at org.sonar.db.protobuf.DbFileSources$Data$1.parsePartialFrom(DbFileSources.java:2927) ~[sonar-db-5.4.jar:na]
      	at com.google.protobuf.AbstractParser.parsePartialFrom(AbstractParser.java:192) ~[protobuf-java-3.0.0-beta-1.jar:na]
      	at com.google.protobuf.AbstractParser.parseFrom(AbstractParser.java:209) ~[protobuf-java-3.0.0-beta-1.jar:na]
      	at com.google.protobuf.AbstractParser.parseFrom(AbstractParser.java:215) ~[protobuf-java-3.0.0-beta-1.jar:na]
      	at com.google.protobuf.AbstractParser.parseFrom(AbstractParser.java:49) ~[protobuf-java-3.0.0-beta-1.jar:na]
      	at org.sonar.db.protobuf.DbFileSources$Data.parseFrom(DbFileSources.java:2478) ~[sonar-db-5.4.jar:na]
      	at org.sonar.db.source.FileSourceDto.decodeSourceData(FileSourceDto.java:102) ~[sonar-db-5.4.jar:na]
      	... 36 common frames omitted
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sebastien.lesaint Sebastien Lesaint
              Reporter:
              simon.brandhof Simon Brandhof (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: