Run against the latest Java Version

Build: #107 failed Manual run by Mahmoud Ben Hassine

Build result summary

Details

Completed
Duration
1 minute
Labels
None
Agent
bamboo-00.af.pivotal.io
Revision
3bc00a7c07720fdd6de81a9510ab26912bf6ce10 3bc00a7c07720fdd6de81a9510ab26912bf6ce10
Failing since
#104 (Changes by Jay Bryant)

No failed tests found, a possible compilation error occurred.

Responsible

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-JL-JOB1 directory.
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.codehaus.groovy.reflection.CachedClass (file:/opt/users/bamboo/.gradle/wrapper/dists/gradle-4.10.3-all/81msde2dx9p4vji0mjgtvxkcb/gradle-4.10.3/lib/groovy-all-2.4.15.jar) to method java.lang.Object.finalize()
WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.reflection.CachedClass
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
unsupported Java version "12", defaulting to 1.7
/opt/bamboo-home/xml-data/build-dir/BATCH-JL-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-JL-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-JL-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-JL-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-JL-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-JL-JOB1/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/file/mapping/BeanWrapperFieldSetMapper.java:247: warning: [deprecation] newInstance() in Class has been deprecated
                        return type.newInstance();
                                   ^
  where T is a type-variable:
    T extends Object declared in class Class
/opt/bamboo-home/xml-data/build-dir/BATCH-JL-JOB1/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/file/mapping/BeanWrapperFieldSetMapper.java:367: warning: [deprecation] newInstance() in Class has been deprecated
                                nestedValue = wrapper.getPropertyType(nestedName).newInstance();
                                                                                 ^
  where T is a type-variable:
    T extends Object declared in class Class
/opt/bamboo-home/xml-data/build-dir/BATCH-JL-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-JL-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-JL-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-JL-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));
                       ^
11 warnings

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':makePDF'.
> Error running Asciidoctor

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 51s