Build to verify Spring IO compatibility.

Build: #282 failed Changes by Mahmoud Ben Hassine

Build result summary

Details

Completed
Duration
26 minutes
Labels
None
Agent
bamboo-13.af.pivotal.io
Revision
020d0519ace886df3a5a97c16bf3b62b3e8ad67a 020d0519ace886df3a5a97c16bf3b62b3e8ad67a
Total tests
3321
Fixed in
#283 (Changes by Mahmoud Ben Hassine)

No failed tests found, a possible compilation error occurred.

Responsible

Comments on Default Job

  1. Anonymous user

    Detected hung build state. Attempting to generate stack trace and terminate spawned sub-processes... - HungBuildKiller Plugin

Code commits

Author Commit Message Commit date
Mahmoud Ben Hassine Mahmoud Ben Hassine 020d0519ace886df3a5a97c16bf3b62b3e8ad67a 020d0519ace886df3a5a97c16bf3b62b3e8ad67a BATCH-2669: Fix code examples in "Configuring and Running a Job" section  of the documentation

JIRA issues

IssueDescriptionStatus
Unknown Issue TypeBATCH-2669Could not obtain issue details from JIRA

Error summary for Default Job

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

        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-IO-JOB1/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/data/builder/RepositoryItemReaderBuilder.java:204: warning: [rawtypes] found raw type: RepositoryMethodReference
        public RepositoryItemReaderBuilder<T> repository(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-IO-JOB1/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/data/builder/RepositoryItemReaderBuilder.java:270: warning: [unchecked] unchecked cast
                        return (T) enhancer.create();
                                                  ^
  required: T
  found:    Object
  where T is a type-variable:
    T extends Object declared in class RepositoryMethodReference
23 warnings
/opt/bamboo-home/xml-data/build-dir/BATCH-IO-JOB1/spring-batch-core/src/main/java/org/springframework/batch/core/explore/support/JobExplorerFactoryBean.java:33: warning: [deprecation] XStreamExecutionContextStringSerializer in org.springframework.batch.core.repository.dao has been deprecated
import org.springframework.batch.core.repository.dao.XStreamExecutionContextStringSerializer;
                                                    ^
warning: No processor claimed any of these annotations: org.springframework.beans.factory.annotation.Autowired,org.springframework.context.annotation.Import,org.aspectj.lang.annotation.Around,org.springframework.context.annotation.Scope,org.springframework.context.annotation.Configuration,org.springframework.stereotype.Component,org.aspectj.lang.annotation.Aspect,org.springframework.beans.factory.annotation.Qualifier,javax.annotation.PostConstruct,org.springframework.beans.factory.annotation.Required,org.springframework.context.annotation.Bean,org.springframework.transaction.annotation.Transactional
/opt/bamboo-home/xml-data/build-dir/BATCH-IO-JOB1/spring-batch-core/src/main/java/org/springframework/batch/core/explore/support/JobExplorerFactoryBean.java:33: warning: [deprecation] XStreamExecutionContextStringSerializer in org.springframework.batch.core.repository.dao has been deprecated
import org.springframework.batch.core.repository.dao.XStreamExecutionContextStringSerializer;
                                                    ^
/opt/bamboo-home/xml-data/build-dir/BATCH-IO-JOB1/spring-batch-core/src/main/java/org/springframework/batch/core/explore/support/JobExplorerFactoryBean.java:33: warning: [deprecation] XStreamExecutionContextStringSerializer in org.springframework.batch.core.repository.dao has been deprecated
import org.springframework.batch.core.repository.dao.XStreamExecutionContextStringSerializer;
                                                    ^
/opt/bamboo-home/xml-data/build-dir/BATCH-IO-JOB1/spring-batch-core/src/main/java/org/springframework/batch/core/step/builder/SimpleStepBuilder.java:231: 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-IO-JOB1/spring-batch-core/src/main/java/org/springframework/batch/core/jsr/configuration/support/SpringAutowiredAnnotationBeanPostProcessor.java:251: warning: [rawtypes] found raw type: Constructor
                        candidateConstructors = candidates.toArray(new Constructor[candidates.size()]);
                                                                       ^
  missing type arguments for generic class Constructor<T>
  where T is a type-variable:
    T extends Object declared in class Constructor
/opt/bamboo-home/xml-data/build-dir/BATCH-IO-JOB1/spring-batch-core/src/main/java/org/springframework/batch/core/jsr/configuration/support/SpringAutowiredAnnotationBeanPostProcessor.java:254: warning: [rawtypes] found raw type: Constructor
                        candidateConstructors = new Constructor[0];
                                                    ^
  missing type arguments for generic class Constructor<T>
  where T is a type-variable:
    T extends Object declared in class Constructor
7 warnings
warning: No processor claimed any of these annotations: org.springframework.test.annotation.DirtiesContext,org.springframework.batch.core.annotation.BeforeChunk,org.springframework.beans.factory.annotation.Autowired,org.aspectj.lang.annotation.AfterReturning,org.springframework.test.context.TestExecutionListeners,org.springframework.batch.core.configuration.annotation.StepScope,org.aspectj.lang.annotation.Aspect,org.junit.After,org.springframework.batch.core.annotation.AfterChunk,org.springframework.batch.core.annotation.BeforeRead,javax.annotation.Resource,org.springframework.context.annotation.ImportResource,javax.batch.api.BatchProperty,org.springframework.context.annotation.Configuration,org.springframework.batch.core.annotation.OnProcessError,org.springframework.batch.core.configuration.annotation.EnableBatchProcessing,org.springframework.batch.core.annotation.AfterJob,javax.annotation.PostConstruct,org.springframework.batch.core.annotation.OnReadError,org.junit.FixMethodOrder,org.springframework.batch.core.annotation.OnWriteError,org.springframework.batch.core.annotation.AfterStep,org.springframework.batch.core.annotation.AfterChunkError,org.junit.BeforeClass,org.springframework.batch.core.configuration.annotation.JobScope,org.mockito.Mock,org.junit.runner.RunWith,org.junit.runners.Parameterized.Parameters,org.springframework.context.annotation.Scope,org.springframework.beans.factory.annotation.Value,javax.inject.Inject,org.junit.runners.Suite.SuiteClasses,org.springframework.batch.core.annotation.BeforeStep,org.springframework.batch.core.annotation.BeforeJob,org.springframework.batch.core.annotation.AfterWrite,org.springframework.batch.core.annotation.BeforeWrite,org.springframework.beans.factory.annotation.Qualifier,org.junit.Before,org.springframework.core.annotation.Order,org.springframework.context.annotation.Import,org.junit.Test,org.springframework.batch.core.annotation.BeforeProcess,org.springframework.stereotype.Component,org.junit.Rule,org.springframework.batch.core.annotation.AfterProcess,org.junit.Ignore,org.springframework.test.context.ContextConfiguration,org.springframework.context.annotation.Bean,org.springframework.batch.core.annotation.AfterRead,org.springframework.transaction.annotation.Transactional
/opt/bamboo-home/xml-data/build-dir/BATCH-IO-JOB1/spring-batch-core/src/test/java/org/springframework/batch/core/repository/dao/XStreamExecutionContextStringSerializerTests.java:31: warning: [deprecation] XStreamExecutionContextStringSerializer in org.springframework.batch.core.repository.dao has been deprecated
                XStreamExecutionContextStringSerializer serializerDeserializer = new XStreamExecutionContextStringSerializer();
                ^
/opt/bamboo-home/xml-data/build-dir/BATCH-IO-JOB1/spring-batch-core/src/test/java/org/springframework/batch/core/repository/dao/XStreamExecutionContextStringSerializerTests.java:31: warning: [deprecation] XStreamExecutionContextStringSerializer in org.springframework.batch.core.repository.dao has been deprecated
                XStreamExecutionContextStringSerializer serializerDeserializer = new XStreamExecutionContextStringSerializer();
                                                                                     ^
3 warnings
Picked up JAVA_TOOL_OPTIONS: -XX:MaxPermSize=2048m -Xmx2048m
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=2048m; support was removed in 8.0
/opt/bamboo-home/xml-data/build-dir/BATCH-IO-JOB1/spring-batch-infrastructure/src/test/java/org/springframework/batch/item/data/MongoItemReaderTests.java:38: warning: [deprecation] Matchers in org.mockito has been deprecated
import static org.mockito.Matchers.eq;
                         ^
/opt/users/bamboo/.gradle/caches/modules-2/files-2.1/org.springframework/spring-core/5.0.0.RELEASE/3a9bb910e8943b5ef59b193a1621daba46456ca9/spring-core-5.0.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
warning: No processor claimed any of these annotations: org.springframework.test.annotation.DirtiesContext,org.junit.BeforeClass,org.mockito.Mock,org.junit.runner.RunWith,org.springframework.beans.factory.annotation.Autowired,org.springframework.context.annotation.Scope,javax.persistence.Table,org.junit.After,org.springframework.lang.Nullable,org.junit.Before,javax.persistence.Id,javax.persistence.Entity,org.springframework.batch.support.AnnotationMethodResolverTests.TestAnnotation,org.junit.AfterClass,org.springframework.test.context.transaction.AfterTransaction,org.junit.Test,javax.xml.bind.annotation.XmlRootElement,org.springframework.context.annotation.Configuration,org.junit.Ignore,org.springframework.test.context.ContextConfiguration,org.springframework.context.annotation.Bean,org.springframework.transaction.annotation.Transactional
/opt/bamboo-home/xml-data/build-dir/BATCH-IO-JOB1/spring-batch-infrastructure/src/test/java/org/springframework/batch/item/data/MongoItemReaderTests.java:38: warning: [deprecation] Matchers in org.mockito has been deprecated
import static org.mockito.Matchers.eq;
                         ^
/opt/users/bamboo/.gradle/caches/modules-2/files-2.1/org.springframework/spring-core/5.0.0.RELEASE/3a9bb910e8943b5ef59b193a1621daba46456ca9/spring-core-5.0.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/bamboo-home/xml-data/build-dir/BATCH-IO-JOB1/spring-batch-infrastructure/src/test/java/org/springframework/batch/item/data/MongoItemReaderTests.java:38: warning: [deprecation] Matchers in org.mockito has been deprecated
import static org.mockito.Matchers.eq;
                         ^
/opt/users/bamboo/.gradle/caches/modules-2/files-2.1/org.springframework/spring-core/5.0.0.RELEASE/3a9bb910e8943b5ef59b193a1621daba46456ca9/spring-core-5.0.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/bamboo-home/xml-data/build-dir/BATCH-IO-JOB1/spring-batch-infrastructure/src/test/java/org/springframework/batch/item/xml/StaxTestUtils.java:31: warning: [rawtypes] found raw type: Class
            Method m = r.getClass().getDeclaredMethod("getXMLEventWriter", new Class[]{});
                                                                               ^
  missing type arguments for generic class Class<T>
  where T is a type-variable:
    T extends Object declared in class Class
/opt/bamboo-home/xml-data/build-dir/BATCH-IO-JOB1/spring-batch-infrastructure/src/test/java/org/springframework/batch/item/xml/StaxTestUtils.java:40: warning: [rawtypes] found raw type: Class
            Method m = s.getClass().getDeclaredMethod("getXMLEventReader", new Class[]{});
                                                                               ^
  missing type arguments for generic class Class<T>
  where T is a type-variable:
    T extends Object declared in class Class
12 warnings
Picked up JAVA_TOOL_OPTIONS: -XX:MaxPermSize=2048m -Xmx2048m
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=2048m; support was removed in 8.0
warning: No processor claimed any of these annotations: org.springframework.integration.annotation.ServiceActivator,org.springframework.integration.annotation.Payloads,org.springframework.messaging.handler.annotation.Header,org.springframework.integration.support.management.IntegrationManagedResource,org.springframework.integration.annotation.MessageEndpoint,org.springframework.integration.annotation.Aggregator
1 warning
warning: No processor claimed any of these annotations: org.springframework.beans.factory.annotation.Autowired
1 warning
warning: No processor claimed any of these annotations: org.springframework.test.annotation.DirtiesContext,org.springframework.messaging.handler.annotation.Header,org.junit.BeforeClass,org.springframework.integration.annotation.MessageEndpoint,org.junit.runner.RunWith,org.springframework.beans.factory.annotation.Autowired,org.junit.Test,org.springframework.integration.annotation.Splitter,org.springframework.integration.annotation.ServiceActivator,org.springframework.context.annotation.Configuration,org.springframework.test.context.TestExecutionListeners,org.junit.runners.Suite.SuiteClasses,org.springframework.stereotype.Component,org.junit.Rule,org.springframework.batch.core.configuration.annotation.EnableBatchProcessing,org.junit.Ignore,org.springframework.test.context.ContextConfiguration,org.junit.After,org.springframework.beans.factory.annotation.Qualifier,org.junit.Before
1 warning
Picked up JAVA_TOOL_OPTIONS: -XX:MaxPermSize=2048m -Xmx2048m
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=2048m; support was removed in 8.0