Executing Sonar tasks

Build: #2606 failed Scheduled

Build result summary

Details

Completed
Duration
21 minutes
Labels
None
Agent
bamboo-19.af.pivotal.io
Revision
38b43e8aaf7dfd2dfb8e58831baca88f2f0185a3 38b43e8aaf7dfd2dfb8e58831baca88f2f0185a3
Failing since
#2600 (Scheduled – )
No failed tests found, a possible compilation error occurred.

Responsible

This build has been failing since #2600
No one has taken responsibility

Error summary for Default Job

The job generated some errors, drill down into the full build log for more details.

/opt/bamboo-home/xml-data/build-dir/BATCH-SONAR-JOB1/spring-batch-core/src/main/java/org/springframework/batch/core/jsr/configuration/support/SpringAutowiredAnnotationBeanPostProcessor.java:543: warning: [deprecation] resolveParameterType(MethodParameter,Class<?>) in GenericTypeResolver has been deprecated
                        GenericTypeResolver.resolveParameterType(methodParam, bean.getClass());
                                           ^
7 warnings
/opt/bamboo-home/xml-data/build-dir/BATCH-SONAR-JOB1/spring-batch-integration/src/main/java/org/springframework/batch/integration/config/annotation/BatchIntegrationConfiguration.java:20: warning: [deprecation] RemoteChunkingMasterStepBuilderFactory in org.springframework.batch.integration.chunk has been deprecated
import org.springframework.batch.integration.chunk.RemoteChunkingMasterStepBuilderFactory;
                                                  ^
/opt/bamboo-home/xml-data/build-dir/BATCH-SONAR-JOB1/spring-batch-integration/src/main/java/org/springframework/batch/integration/config/annotation/BatchIntegrationConfiguration.java:23: warning: [deprecation] RemotePartitioningMasterStepBuilderFactory in org.springframework.batch.integration.partition has been deprecated
import org.springframework.batch.integration.partition.RemotePartitioningMasterStepBuilderFactory;
                                                      ^
2 warnings
/opt/bamboo-home/xml-data/build-dir/BATCH-SONAR-JOB1/spring-batch-core/src/main/java/org/springframework/batch/core/metrics/BatchMetrics.java:73: warning - Tag @link: reference not found: Timer.Sample
/opt/bamboo-home/xml-data/build-dir/BATCH-SONAR-JOB1/spring-batch-core/src/main/java/org/springframework/batch/core/metrics/BatchMetrics.java:73: warning - Tag @link: reference not found: Timer.Sample
/opt/bamboo-home/xml-data/build-dir/BATCH-SONAR-JOB1/spring-batch-core/src/main/java/org/springframework/batch/core/metrics/BatchMetrics.java:73: warning - Tag @link: reference not found: Timer.Sample
/opt/users/bamboo/.gradle/caches/modules-2/files-2.1/org.springframework/spring-core/5.2.0.RELEASE/e0e1b3c304f70ed19d7905975f6f990916ada219/spring-core-5.2.0.RELEASE.jar(org/springframework/lang/Nullable.class): warning: Cannot find annotation method 'when()' in type 'Nonnull': class file for javax.annotation.Nonnull not found
warning: unknown enum constant When.MAYBE
  reason: class file for javax.annotation.meta.When not found
/opt/users/bamboo/.gradle/caches/modules-2/files-2.1/org.springframework/spring-core/5.2.0.RELEASE/e0e1b3c304f70ed19d7905975f6f990916ada219/spring-core-5.2.0.RELEASE.jar(org/springframework/lang/NonNullApi.class): warning: Cannot find annotation method 'value()' in type 'TypeQualifierDefault': class file for javax.annotation.meta.TypeQualifierDefault not found
3 warnings
/opt/bamboo-home/xml-data/build-dir/BATCH-SONAR-JOB1/spring-batch-core/src/test/java/org/springframework/batch/core/resource/ListPreparedStatementSetterTests.java:37: warning: [deprecation] ListPreparedStatementSetter in org.springframework.batch.item.database.support has been deprecated
import org.springframework.batch.item.database.support.ListPreparedStatementSetter;
                                                      ^
/opt/bamboo-home/xml-data/build-dir/BATCH-SONAR-JOB1/spring-batch-core/src/test/java/org/springframework/batch/core/resource/ListPreparedStatementSetterTests.java:55: warning: [deprecation] ListPreparedStatementSetter in org.springframework.batch.item.database.support has been deprecated
        ListPreparedStatementSetter pss;
        ^
/opt/bamboo-home/xml-data/build-dir/BATCH-SONAR-JOB1/spring-batch-core/src/test/java/org/springframework/batch/core/resource/ListPreparedStatementSetterTests.java:81: warning: [deprecation] ListPreparedStatementSetter in org.springframework.batch.item.database.support has been deprecated
                pss = new ListPreparedStatementSetter(parameters);
                          ^
/opt/bamboo-home/xml-data/build-dir/BATCH-SONAR-JOB1/spring-batch-core/src/test/java/org/springframework/batch/core/resource/ListPreparedStatementSetterTests.java:105: warning: [deprecation] ListPreparedStatementSetter in org.springframework.batch.item.database.support has been deprecated
                pss = new ListPreparedStatementSetter(null);
                          ^
4 warnings
/opt/users/bamboo/.gradle/caches/modules-2/files-2.1/org.springframework/spring-core/5.2.0.RELEASE/e0e1b3c304f70ed19d7905975f6f990916ada219/spring-core-5.2.0.RELEASE.jar(org/springframework/lang/Nullable.class): warning: Cannot find annotation method 'when()' in type 'Nonnull': class file for javax.annotation.Nonnull not found
warning: unknown enum constant When.MAYBE
  reason: class file for javax.annotation.meta.When not found
2 warnings
/opt/users/bamboo/.gradle/caches/modules-2/files-2.1/org.springframework/spring-core/5.2.0.RELEASE/e0e1b3c304f70ed19d7905975f6f990916ada219/spring-core-5.2.0.RELEASE.jar(org/springframework/lang/Nullable.class): warning: Cannot find annotation method 'when()' in type 'Nonnull': class file for javax.annotation.Nonnull not found
warning: unknown enum constant When.MAYBE
  reason: class file for javax.annotation.meta.When not found
2 warnings
/opt/bamboo-home/xml-data/build-dir/BATCH-SONAR-JOB1/spring-batch-infrastructure/src/test/java/org/springframework/batch/item/data/builder/MongoItemReaderBuilderTests.java:103: warning: [deprecation] getHint() in Query has been deprecated
                assertEquals("{ $natural : 1}", query.getHint());
                                                     ^
/opt/bamboo-home/xml-data/build-dir/BATCH-SONAR-JOB1/spring-batch-infrastructure/src/test/java/org/springframework/batch/item/data/MongoItemReaderTests.java:194: warning: [deprecation] getHint() in Query has been deprecated
                assertEquals("{ $natural : 1}", query.getHint());
                                                     ^
/opt/bamboo-home/xml-data/build-dir/BATCH-SONAR-JOB1/spring-batch-infrastructure/src/test/java/org/springframework/batch/item/kafka/KafkaItemReaderTests.java:275: warning: [rawtypes] found raw type: ListenableFuture
                List<ListenableFuture> futures = new ArrayList<>();
                     ^
  missing type arguments for generic class ListenableFuture<T>
  where T is a type-variable:
    T extends Object declared in interface ListenableFuture
/opt/bamboo-home/xml-data/build-dir/BATCH-SONAR-JOB1/spring-batch-infrastructure/src/test/java/org/springframework/batch/item/kafka/KafkaItemReaderTests.java:285: warning: [rawtypes] found raw type: ListenableFuture
                for (ListenableFuture future : futures) {
                     ^
  missing type arguments for generic class ListenableFuture<T>
  where T is a type-variable:
    T extends Object declared in interface ListenableFuture
/opt/bamboo-home/xml-data/build-dir/BATCH-SONAR-JOB1/spring-batch-infrastructure/src/test/java/org/springframework/batch/item/avro/builder/AvroItemWriterBuilderTests.java:117: warning: [rawtypes] found raw type: AvroItemWriterBuilder
                new AvroItemWriterBuilder()
                    ^
  missing type arguments for generic class AvroItemWriterBuilder<T>
  where T is a type-variable:
    T extends Object declared in class AvroItemWriterBuilder
5 warnings
/opt/bamboo-home/xml-data/build-dir/BATCH-SONAR-JOB1/spring-batch-integration/src/test/java/org/springframework/batch/integration/partition/RemotePartitioningMasterStepBuilderTests.java:62: warning: [deprecation] RemotePartitioningMasterStepBuilder in org.springframework.batch.integration.partition has been deprecated
                new RemotePartitioningMasterStepBuilder("step").inputChannel(null);
                    ^
/opt/bamboo-home/xml-data/build-dir/BATCH-SONAR-JOB1/spring-batch-integration/src/test/java/org/springframework/batch/integration/partition/RemotePartitioningMasterStepBuilderTests.java:75: warning: [deprecation] RemotePartitioningMasterStepBuilder in org.springframework.batch.integration.partition has been deprecated
                new RemotePartitioningMasterStepBuilder("step").outputChannel(null);
                    ^
/opt/bamboo-home/xml-data/build-dir/BATCH-SONAR-JOB1/spring-batch-integration/src/test/java/org/springframework/batch/integration/partition/RemotePartitioningMasterStepBuilderTests.java:88: warning: [deprecation] RemotePartitioningMasterStepBuilder in org.springframework.batch.integration.partition has been deprecated
                new RemotePartitioningMasterStepBuilder("step").messagingTemplate(null);
                    ^
/opt/bamboo-home/xml-data/build-dir/BATCH-SONAR-JOB1/spring-batch-integration/src/test/java/org/springframework/batch/integration/partition/RemotePartitioningMasterStepBuilderTests.java:101: warning: [deprecation] RemotePartitioningMasterStepBuilder in org.springframework.batch.integration.partition has been deprecated
                new RemotePartitioningMasterStepBuilder("step").jobExplorer(null);
                    ^
/opt/bamboo-home/xml-data/build-dir/BATCH-SONAR-JOB1/spring-batch-integration/src/test/java/org/springframework/batch/integration/partition/RemotePartitioningMasterStepBuilderTests.java:114: warning: [deprecation] RemotePartitioningMasterStepBuilder in org.springframework.batch.integration.partition has been deprecated
                new RemotePartitioningMasterStepBuilder("step").pollInterval(-1);
                    ^
/opt/bamboo-home/xml-data/build-dir/BATCH-SONAR-JOB1/spring-batch-integration/src/test/java/org/springframework/batch/integration/partition/RemotePartitioningMasterStepBuilderTests.java:123: warning: [deprecation] RemotePartitioningMasterStepBuilder in org.springframework.batch.integration.partition has been deprecated
                RemotePartitioningMasterStepBuilder builder = new RemotePartitioningMasterStepBuilder("step")
                ^
/opt/bamboo-home/xml-data/build-dir/BATCH-SONAR-JOB1/spring-batch-integration/src/test/java/org/springframework/batch/integration/partition/RemotePartitioningMasterStepBuilderTests.java:123: warning: [deprecation] RemotePartitioningMasterStepBuilder in org.springframework.batch.integration.partition has been deprecated
                RemotePartitioningMasterStepBuilder builder = new RemotePartitioningMasterStepBuilder("step")
                                                                  ^
/opt/bamboo-home/xml-data/build-dir/BATCH-SONAR-JOB1/spring-batch-integration/src/test/java/org/springframework/batch/integration/partition/RemotePartitioningMasterStepBuilderTests.java:149: warning: [deprecation] RemotePartitioningMasterStepBuilder in org.springframework.batch.integration.partition has been deprecated
                new RemotePartitioningMasterStepBuilder("step").partitionHandler(partitionHandler);
                    ^
/opt/bamboo-home/xml-data/build-dir/BATCH-SONAR-JOB1/spring-batch-integration/src/test/java/org/springframework/batch/integration/partition/RemotePartitioningMasterStepBuilderTests.java:167: warning: [deprecation] RemotePartitioningMasterStepBuilder in org.springframework.batch.integration.partition has been deprecated
                Step step = new RemotePartitioningMasterStepBuilder("masterStep")
                                ^
/opt/bamboo-home/xml-data/build-dir/BATCH-SONAR-JOB1/spring-batch-integration/src/test/java/org/springframework/batch/integration/partition/RemotePartitioningMasterStepBuilderTests.java:210: warning: [deprecation] RemotePartitioningMasterStepBuilder in org.springframework.batch.integration.partition has been deprecated
                Step step = new RemotePartitioningMasterStepBuilder("masterStep")
                                ^
10 warnings
/opt/users/bamboo/.gradle/caches/modules-2/files-2.1/org.springframework/spring-core/5.2.0.RELEASE/e0e1b3c304f70ed19d7905975f6f990916ada219/spring-core-5.2.0.RELEASE.jar(org/springframework/lang/Nullable.class): warning: Cannot find annotation method 'when()' in type 'Nonnull': class file for javax.annotation.Nonnull not found
warning: unknown enum constant When.MAYBE
  reason: class file for javax.annotation.meta.When not found
2 warnings

Error log

    Error occurred while running Task 'executes sonar build on task.(5)' of type ch.mibex.bamboo.sonar4bamboo:sonar4bamboo.gradletask.

    (10 Dec 2019, 8:21:19 PM, Agents: bamboo-19.af.pivotal.io)