Run against the latest Java Version

Build: #110 failed Changes by Spring Buildmaster

Build result summary

Details

Completed
Duration
21 seconds
Labels
None
Agent
bamboo-03.af.pivotal.io
Revision
4de1a9056ed6adf68a98ffde0f0759d385612381 4de1a9056ed6adf68a98ffde0f0759d385612381
Failing since
#104 (Changes by Jay Bryant)

No failed tests found, a possible compilation error occurred.

Responsible

Code commits

Author Commit Message Commit date
Spring Buildmaster Spring Buildmaster 4de1a9056ed6adf68a98ffde0f0759d385612381 4de1a9056ed6adf68a98ffde0f0759d385612381 [artifactory-release] Next development version
Spring Buildmaster Spring Buildmaster 691ea2deffbd80989b299fb142608a10c33525f0 691ea2deffbd80989b299fb142608a10c33525f0 [artifactory-release] Release version 4.2.0.M1

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.
    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
/opt/bamboo-home/xml-data/build-dir/BATCH-JL-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-JL-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-JL-JOB1/spring-batch-core/src/main/java/org/springframework/batch/core/launch/support/CommandLineJobRunner.java:460: warning: [deprecation] Long(String) in Long has been deprecated
                        return new Long(jobIdentifier);
                               ^
/opt/bamboo-home/xml-data/build-dir/BATCH-JL-JOB1/spring-batch-core/src/main/java/org/springframework/batch/core/launch/support/RunIdIncrementer.java:50: warning: [deprecation] Long(long) in Long has been deprecated
                long id = params.getLong(key, new Long(0)) + 1;
                                              ^
/opt/bamboo-home/xml-data/build-dir/BATCH-JL-JOB1/spring-batch-infrastructure-tests/src/test/java/org/springframework/batch/item/database/JdbcPagingRestartIntegrationTests.java:132: warning: [deprecation] Long(String) in Long has been deprecated
                int startAfterValue = (new Long(ids.get(count - 1).get("ID").toString())).intValue();
                                       ^
1 warning
/opt/bamboo-home/xml-data/build-dir/BATCH-JL-JOB1/spring-batch-infrastructure/src/test/java/test/jdbc/datasource/DataSourceInitializer.java:85: warning: [deprecation] finalize() in Object has been deprecated
        protected void finalize() throws Throwable {
                       ^
/opt/bamboo-home/xml-data/build-dir/BATCH-JL-JOB1/spring-batch-infrastructure/src/test/java/test/jdbc/datasource/DataSourceInitializer.java:87: warning: [deprecation] finalize() in Object has been deprecated
                super.finalize();
                     ^
/opt/bamboo-home/xml-data/build-dir/BATCH-JL-JOB1/spring-batch-infrastructure/src/test/java/org/springframework/batch/item/adapter/AbstractDelegatorTests.java:299: warning: [deprecation] Integer(String) in Integer has been deprecated
                        processedFooNameValuePairs.add(new Foo(name, new Integer(value)));
                                                                     ^
/opt/bamboo-home/xml-data/build-dir/BATCH-JL-JOB1/spring-batch-infrastructure/src/test/java/org/springframework/batch/item/file/MultiResourceItemReaderXmlTests.java:61: warning: [cast] redundant cast to Attribute
                                        attr = (Attribute) event.getAttributes().next();
                                               ^
/opt/bamboo-home/xml-data/build-dir/BATCH-JL-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-JL-JOB1/spring-batch-core/src/main/java/org/springframework/batch/core/repository/dao/MapExecutionContextDao.java:64: warning: [deprecation] Long(long) in Long has been deprecated
                        final int idCompare = new Long(this.id).compareTo(new Long(them.id)); // JDK6 Make this Long.compare(x,y)
                                                                          ^
/opt/bamboo-home/xml-data/build-dir/BATCH-JL-JOB1/spring-batch-core/src/main/java/org/springframework/batch/core/repository/dao/MapExecutionContextDao.java:64: warning: [deprecation] Long(long) in Long has been deprecated
                        final int idCompare = new Long(this.id).compareTo(new Long(them.id)); // JDK6 Make this Long.compare(x,y)
                                              ^
/opt/bamboo-home/xml-data/build-dir/BATCH-JL-JOB1/spring-batch-core/src/main/java/org/springframework/batch/core/repository/dao/JdbcJobExecutionDao.java:351: warning: [deprecation] Double(double) in Double has been deprecated
                                        value, new Double(0), identifyingFlag};
                                               ^
/opt/bamboo-home/xml-data/build-dir/BATCH-JL-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-JL-JOB1/spring-batch-core/src/main/java/org/springframework/batch/core/jsr/launch/support/BatchPropertyBeanPostProcessor.java:115: warning: [deprecation] isAccessible() in AccessibleObject has been deprecated
                                        boolean isAccessible = field.isAccessible();
                                                                    ^
/opt/bamboo-home/xml-data/build-dir/BATCH-JL-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(
                          ^
11 warnings
/opt/bamboo-home/xml-data/build-dir/BATCH-JL-JOB1/spring-batch-infrastructure/src/test/java/org/springframework/batch/item/xml/StaxEventItemReaderCommonTests.java:51: warning: [cast] redundant cast to Attribute
                                        attr = (Attribute) event.getAttributes().next();
                                               ^
/opt/bamboo-home/xml-data/build-dir/BATCH-JL-JOB1/spring-batch-infrastructure/src/test/java/org/springframework/batch/item/xml/StaxTestUtils.java:32: warning: [deprecation] isAccessible() in AccessibleObject has been deprecated
            boolean accessible = m.isAccessible();
                                  ^
/opt/bamboo-home/xml-data/build-dir/BATCH-JL-JOB1/spring-batch-infrastructure/src/test/java/org/springframework/batch/item/xml/StaxTestUtils.java:41: warning: [deprecation] isAccessible() in AccessibleObject has been deprecated
            boolean accessible = m.isAccessible();
                                  ^
7 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 16s