Build #601

Gradle build for Spring Batch

Build: #601 failed Manual run by Mahmoud Ben Hassine

Build result summary

Details

Completed
Duration
2 minutes
Labels
None
Agent
bamboo-21.af.pivotal.io
Revision
38b43e8aaf7dfd2dfb8e58831baca88f2f0185a3 38b43e8aaf7dfd2dfb8e58831baca88f2f0185a3
Fixed in
#603 (Manual run by Mahmoud Ben Hassine)
No failed test found. A possible compilation error occurred.

Responsible

No one has taken responsibility for this failure

Configuration changes

Plan configuration has changed since the last successful build. See the plan audit log for more details.

Error summary for Default Job

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

Could not find test result reports in the /opt/bamboo-home/xml-data/build-dir/BATCH-GRAD-JOB1 directory.
/opt/bamboo-home/xml-data/build-dir/BATCH-GRAD-JOB1/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/database/HibernateItemReaderHelper.java:23: warning: [deprecation] Query in org.hibernate has been deprecated
import org.hibernate.Query;
                    ^
/opt/bamboo-home/xml-data/build-dir/BATCH-GRAD-JOB1/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/data/MongoItemReader.java:26: warning: [deprecation] JSON in com.mongodb.util has been deprecated
import com.mongodb.util.JSON;
                       ^
/opt/bamboo-home/xml-data/build-dir/BATCH-GRAD-JOB1/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/database/HibernateItemReaderHelper.java:123: warning: [deprecation] Query in org.hibernate has been deprecated
                Query query = createQuery();
                ^
/opt/bamboo-home/xml-data/build-dir/BATCH-GRAD-JOB1/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/database/HibernateItemReaderHelper.java:135: warning: [deprecation] Query in org.hibernate has been deprecated
        public Query createQuery() {
               ^
/opt/bamboo-home/xml-data/build-dir/BATCH-GRAD-JOB1/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/database/HibernateItemReaderHelper.java:222: warning: [deprecation] Query in org.hibernate has been deprecated
                Query query = createQuery();
                ^
/opt/bamboo-home/xml-data/build-dir/BATCH-GRAD-JOB1/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/data/builder/RepositoryItemWriterBuilder.java:43: warning: [rawtypes] found raw type: RepositoryMethodReference
        private RepositoryMethodReference repositoryMethodReference;
                ^
  missing type arguments for generic class RepositoryMethodReference<T>
  where T is a type-variable:
    T extends Object declared in class RepositoryMethodReference
/opt/bamboo-home/xml-data/build-dir/BATCH-GRAD-JOB1/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/data/builder/RepositoryItemWriterBuilder.java:90: warning: [rawtypes] found raw type: RepositoryMethodReference
        public RepositoryItemWriterBuilder<T> repository(RepositoryItemWriterBuilder.RepositoryMethodReference repositoryMethodReference) {
                                                                                    ^
  missing type arguments for generic class RepositoryMethodReference<T>
  where T is a type-variable:
    T extends Object declared in class RepositoryMethodReference
/opt/bamboo-home/xml-data/build-dir/BATCH-GRAD-JOB1/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/data/builder/RepositoryItemWriterBuilder.java:104: warning: [unchecked] unchecked conversion
                        this.repository = this.repositoryMethodReference.getRepository();
                                                                                      ^
  required: CrudRepository<T,?>
  found:    CrudRepository
  where T is a type-variable:
    T extends Object declared in class RepositoryItemWriterBuilder
/opt/bamboo-home/xml-data/build-dir/BATCH-GRAD-JOB1/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/data/MongoItemReader.java:207: warning: [deprecation] withHint(String) in Query has been deprecated
                                mongoQuery.withHint(hint);
                                          ^
/opt/bamboo-home/xml-data/build-dir/BATCH-GRAD-JOB1/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/data/MongoItemReader.java:264: warning: [deprecation] JSON in com.mongodb.util has been deprecated
                return JSON.serialize(values.get(index));
                       ^
/opt/bamboo-home/xml-data/build-dir/BATCH-GRAD-JOB1/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/kafka/KafkaItemReader.java:151: warning: [unchecked] unchecked cast
                        Map<TopicPartition, Long> offsets = (Map<TopicPartition, Long>) executionContext.get(TOPIC_PARTITION_OFFSETS);
                                                                                                            ^
  required: Map<TopicPartition,Long>
  found:    Object
11 warnings
/opt/bamboo-home/xml-data/build-dir/BATCH-GRAD-JOB1/spring-batch-core/src/main/java/org/springframework/batch/core/configuration/support/ClasspathXmlApplicationContextsFactoryBean.java:27: warning: [deprecation] PropertyPlaceholderConfigurer in org.springframework.beans.factory.config has been deprecated
import org.springframework.beans.factory.config.PropertyPlaceholderConfigurer;
                                               ^
/opt/bamboo-home/xml-data/build-dir/BATCH-GRAD-JOB1/spring-batch-core/src/main/java/org/springframework/batch/core/configuration/support/AbstractApplicationContextFactory.java:34: warning: [deprecation] PropertyPlaceholderConfigurer in org.springframework.beans.factory.config has been deprecated
import org.springframework.beans.factory.config.PropertyPlaceholderConfigurer;
                                               ^
/opt/bamboo-home/xml-data/build-dir/BATCH-GRAD-JOB1/spring-batch-core/src/main/java/org/springframework/batch/core/step/builder/SimpleStepBuilder.java:232: warning: [overloads] processor(ItemProcessor<? super I,? extends O>) in SimpleStepBuilder is potentially ambiguous with processor(Function<? super I,? extends O>) in SimpleStepBuilder
        public SimpleStepBuilder<I, O> processor(ItemProcessor<? super I, ? extends O> processor) {
                                       ^
  where I,O are type-variables:
    I extends Object declared in class SimpleStepBuilder
    O extends Object declared in class SimpleStepBuilder
/opt/bamboo-home/xml-data/build-dir/BATCH-GRAD-JOB1/spring-batch-core/src/main/java/org/springframework/batch/core/repository/dao/Jackson2ExecutionContextStringSerializer.java:58: warning: [deprecation] enableDefaultTyping() in ObjectMapper has been deprecated
        this.objectMapper.enableDefaultTyping();
                         ^
/opt/bamboo-home/xml-data/build-dir/BATCH-GRAD-JOB1/spring-batch-core/src/main/java/org/springframework/batch/core/configuration/support/AbstractApplicationContextFactory.java:75: warning: [deprecation] PropertyPlaceholderConfigurer in org.springframework.beans.factory.config has been deprecated
                beanFactoryPostProcessorClasses.add(PropertyPlaceholderConfigurer.class);
                                                    ^
/opt/bamboo-home/xml-data/build-dir/BATCH-GRAD-JOB1/spring-batch-core/src/main/java/org/springframework/batch/core/jsr/configuration/support/SpringAutowiredAnnotationBeanPostProcessor.java:264: warning: [deprecation] postProcessPropertyValues(PropertyValues,PropertyDescriptor[],Object,String) in InstantiationAwareBeanPostProcessorAdapter has been deprecated
    public PropertyValues postProcessPropertyValues(
                          ^
/opt/bamboo-home/xml-data/build-dir/BATCH-GRAD-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-GRAD-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-GRAD-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-GRAD-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-GRAD-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-GRAD-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-GRAD-JOB1/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/avro/builder/AvroItemReaderBuilder.java:104: warning: no @return
        public AvroItemReaderBuilder<T> embeddedSchema(boolean embeddedSchema) {
                                        ^
/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
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/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
warning: unknown enum constant When.MAYBE
  reason: class file for javax.annotation.meta.When not found