Uploaded image for project: 'OptaPlanner'
  1. OptaPlanner
  2. PLANNER-2186

revapi stacktraces during build

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 8.0.0.Beta1
    • None
    • optaplanner-core
    • None

      These do NOT fail the build, but they are annoying. Show up with "mvn clean install -DskipTests"

      [INFO] --- revapi-maven-plugin:0.9.5:report (report) @ optaplanner-core ---
      [INFO] Comparing [org.optaplanner:optaplanner-core:jar:7.39.0.Final] against [org.optaplanner:optaplanner-core:jar:8.0.0-SNAPSHOT] (including their transitive dependencies).
      [ERROR] Failed to scan class org.drools.core.marshalling.impl.ProtobufMessages.ActionQueue.Assert. Analysis results may be skewed.
      java.lang.IllegalStateException: Could not determine the element of a type: com.google.protobuf.InvalidProtocolBufferException
          at org.revapi.java.compilation.ClasspathScanner$Scanner$1.defaultAction (ClasspathScanner.java:241)
          at org.revapi.java.compilation.ClasspathScanner$Scanner$1.defaultAction (ClasspathScanner.java:238)
          at javax.lang.model.util.SimpleTypeVisitor6.visitError (SimpleTypeVisitor6.java:191)
          at com.sun.tools.javac.code.Type$ErrorType.accept (Type.java:2386)
          at org.revapi.java.compilation.ClasspathScanner$Scanner.lambda$scanMethod$7 (ClasspathScanner.java:503)
          at java.lang.Iterable.forEach (Iterable.java:75)
          at org.revapi.java.compilation.ClasspathScanner$Scanner.scanMethod (ClasspathScanner.java:502)
          at org.revapi.java.compilation.ClasspathScanner$Scanner.scanClass (ClasspathScanner.java:379)
          at org.revapi.java.compilation.ClasspathScanner.initTree (ClasspathScanner.java:204)
          at org.revapi.java.compilation.Compiler.lambda$compile$0 (Compiler.java:123)
          at org.revapi.java.compilation.ProbingAnnotationProcessor.process (ProbingAnnotationProcessor.java:52)
          at com.sun.tools.javac.processing.JavacProcessingEnvironment.callProcessor (JavacProcessingEnvironment.java:980)
          at com.sun.tools.javac.processing.JavacProcessingEnvironment$DiscoveredProcessors$ProcessorStateIterator.runContributingProcs (JavacProcessingEnvironment.java:816)
          at com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run (JavacProcessingEnvironment.java:1220)
          at com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing (JavacProcessingEnvironment.java:1356)
          at com.sun.tools.javac.main.JavaCompiler.processAnnotations (JavaCompiler.java:1258)
          at com.sun.tools.javac.main.JavaCompiler.compile (JavaCompiler.java:936)
          at com.sun.tools.javac.api.JavacTaskImpl.lambda$doCall$0 (JavacTaskImpl.java:104)
          at com.sun.tools.javac.api.JavacTaskImpl.handleExceptions (JavacTaskImpl.java:147)
          at com.sun.tools.javac.api.JavacTaskImpl.doCall (JavacTaskImpl.java:100)
          at com.sun.tools.javac.api.JavacTaskImpl.call (JavacTaskImpl.java:94)
          at com.sun.tools.javac.api.JavacTaskImpl.call (JavacTaskImpl.java:72)
          at org.revapi.java.compilation.ProbingAnnotationProcessor$1.call (ProbingAnnotationProcessor.java:80)
          at java.util.concurrent.FutureTask.run (FutureTask.java:264)
          at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1128)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:628)
          at java.lang.Thread.run (Thread.java:834)
      
      

              rsynek@redhat.com Radovan Synek (Inactive)
              gdesmet@redhat.com Geoffrey De Smet (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: