See <https://builds.apache.org/job/olingo-odata2/1110/changes>

Changes:

[chandan.v.a] Fix NPE and Resource leaks.

------------------------------------------
[...truncated 2242 lines...]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ 
olingo-odata2-jpa-processor-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ 
olingo-odata2-jpa-processor-core ---
[INFO] Compiling 46 source files to 
<https://builds.apache.org/job/olingo-odata2/ws/odata2-jpa-processor/jpa-core/target/classes>
[INFO] 
[INFO] --- maven-bundle-plugin:2.3.7:manifest (bundle-manifest) @ 
olingo-odata2-jpa-processor-core ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ 
olingo-odata2-jpa-processor-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ 
olingo-odata2-jpa-processor-core ---
[INFO] Compiling 77 source files to 
<https://builds.apache.org/job/olingo-odata2/ws/odata2-jpa-processor/jpa-core/target/test-classes>
[INFO] 
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ 
olingo-odata2-jpa-processor-core ---
[INFO] Surefire report directory: 
<https://builds.apache.org/job/olingo-odata2/ws/odata2-jpa-processor/jpa-core/target/surefire-reports>

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.olingo.odata2.jpa.processor.core.ODataJPAResponseBuilderTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.225 sec
Running 
org.apache.olingo.odata2.jpa.processor.core.ODataFilterExpressionParserTest
Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.091 sec
Running 
org.apache.olingo.odata2.jpa.processor.core.ODataSelectExpressionParserTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec
Running org.apache.olingo.odata2.jpa.processor.core.ODataEntityParserTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.147 sec
Running 
org.apache.olingo.odata2.jpa.processor.core.callback.JPATombstoneCallBackTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running org.apache.olingo.odata2.jpa.processor.core.ODataJPAContextImplTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running 
org.apache.olingo.odata2.jpa.processor.core.access.data.JPAEntityParserForStaticMethodTest
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.017 sec
Running 
org.apache.olingo.odata2.jpa.processor.core.access.data.JPAExpandCallBackTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.122 sec
Running 
org.apache.olingo.odata2.jpa.processor.core.access.data.JPAProcessorImplTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.036 sec
Running 
org.apache.olingo.odata2.jpa.processor.core.access.data.JPAEntityParserTest
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec
Running 
org.apache.olingo.odata2.jpa.processor.core.access.data.JPAPageBuilderDeltaTest
Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
Running org.apache.olingo.odata2.jpa.processor.core.access.data.JPALinkTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.024 sec
Running 
org.apache.olingo.odata2.jpa.processor.core.access.data.JPAFunctionContextTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running 
org.apache.olingo.odata2.jpa.processor.core.access.data.JPAPageBuilderTest
Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
Running org.apache.olingo.odata2.jpa.processor.core.access.data.JPAEntityTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.067 sec
Running 
org.apache.olingo.odata2.jpa.processor.core.access.model.JPATypeConvertorTest
Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec
Running 
org.apache.olingo.odata2.jpa.processor.core.access.model.JPAEdmMappingModelServiceTest
Tests run: 22, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.124 sec <<< 
FAILURE!
testLoadMappingModelNegative(org.apache.olingo.odata2.jpa.processor.core.access.model.JPAEdmMappingModelServiceTest)
  Time elapsed: 0.014 sec  <<< ERROR!
java.lang.NullPointerException
        at 
org.apache.olingo.odata2.jpa.processor.core.access.model.JPAEdmMappingModelService.loadMappingModel(JPAEdmMappingModelService.java:86)
        at 
org.apache.olingo.odata2.jpa.processor.core.access.model.JPAEdmMappingModelServiceTest.testLoadMappingModelNegative(JPAEdmMappingModelServiceTest.java:82)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
        at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
        at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
        at 
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
        at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
        at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:69)
        at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:48)
        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
        at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:292)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at 
org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
        at 
org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
        at 
org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
        at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
        at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)

Running 
org.apache.olingo.odata2.jpa.processor.core.access.model.JPAEdmNameBuilderTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec
Running org.apache.olingo.odata2.jpa.processor.core.jpql.JPQLJoinContextTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running 
org.apache.olingo.odata2.jpa.processor.core.jpql.JPQLJoinStatementBuilderTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running 
org.apache.olingo.odata2.jpa.processor.core.jpql.JPQLSelectSingleStatementBuilderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.apache.olingo.odata2.jpa.processor.core.jpql.JPQLBuilderFactoryTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec
Running 
org.apache.olingo.odata2.jpa.processor.core.jpql.JPQLSelectStatementBuilderTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running 
org.apache.olingo.odata2.jpa.processor.core.jpql.JPQLSelectContextImplTest
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.022 sec
Running 
org.apache.olingo.odata2.jpa.processor.core.jpql.JPQLJoinSelectSingleStatementBuilderTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running 
org.apache.olingo.odata2.jpa.processor.core.jpql.JPQLSelectSingleContextImplTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running 
org.apache.olingo.odata2.jpa.processor.core.jpql.JPQLJoinSelectSingleContextTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running org.apache.olingo.odata2.jpa.processor.core.ODataJPAProcessorDefaultTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.026 sec
Running org.apache.olingo.odata2.jpa.processor.core.model.JPAEdmKeyTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running org.apache.olingo.odata2.jpa.processor.core.model.JPAEdmEntitySetTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec
Running 
org.apache.olingo.odata2.jpa.processor.core.model.JPAEdmReferentialConstraintTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running 
org.apache.olingo.odata2.jpa.processor.core.model.JPAEdmNavigationPropertyTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.apache.olingo.odata2.jpa.processor.core.model.JPAEdmAssociationTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec
Running 
org.apache.olingo.odata2.jpa.processor.core.model.JPAEdmFunctionImportTest
Tests run: 21, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.027 sec
Running org.apache.olingo.odata2.jpa.processor.core.model.JPAEdmEntityTypeTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running org.apache.olingo.odata2.jpa.processor.core.model.JPAEdmPropertyTest
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 sec
Running 
org.apache.olingo.odata2.jpa.processor.core.model.JPAEdmAssociationEndTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running org.apache.olingo.odata2.jpa.processor.core.model.JPAEdmModelTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
Running org.apache.olingo.odata2.jpa.processor.core.model.JPAEdmBaseViewImplTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running 
org.apache.olingo.odata2.jpa.processor.core.model.JPAEdmEntityContainerTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running org.apache.olingo.odata2.jpa.processor.core.model.JPAEdmComplexTypeTest
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running 
org.apache.olingo.odata2.jpa.processor.core.model.JPAEdmReferentialConstraintRoleTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.apache.olingo.odata2.jpa.processor.core.model.JPAEdmSchemaTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running 
org.apache.olingo.odata2.jpa.processor.core.model.JPAEdmAssociationSetTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running 
org.apache.olingo.odata2.jpa.processor.core.edm.ODataJPAEdmProviderNegativeTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.apache.olingo.odata2.jpa.processor.core.edm.ODataJPAEdmProviderTest
java.lang.NullPointerException
        at 
org.apache.olingo.odata2.jpa.processor.core.access.model.JPAEdmMappingModelService.loadMappingModel(JPAEdmMappingModelService.java:86)
        at 
org.apache.olingo.odata2.jpa.processor.core.model.JPAEdmBaseViewImpl.<init>(JPAEdmBaseViewImpl.java:54)
        at 
org.apache.olingo.odata2.jpa.processor.core.model.JPAEdmModel.<init>(JPAEdmModel.java:39)
        at 
org.apache.olingo.odata2.jpa.processor.core.factory.ODataJPAFactoryImpl$JPAAccessFactoryImpl.getJPAEdmModelView(ODataJPAFactoryImpl.java:219)
        at 
org.apache.olingo.odata2.jpa.processor.core.edm.ODataJPAEdmProvider.<init>(ODataJPAEdmProvider.java:73)
        at 
org.apache.olingo.odata2.jpa.processor.core.edm.ODataJPAEdmProviderTest.testConstructor(ODataJPAEdmProviderTest.java:83)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
        at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
        at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
        at 
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
        at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
        at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:69)
        at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:48)
        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
        at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:292)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at 
org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
        at 
org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
        at 
org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
        at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
        at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.018 sec

Results :

Tests in error: 
  
testLoadMappingModelNegative(org.apache.olingo.odata2.jpa.processor.core.access.model.JPAEdmMappingModelServiceTest)

Tests run: 357, Failures: 0, Errors: 1, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] olingo-odata2-parent .............................. SUCCESS [6.513s]
[INFO] olingo-odata2-lib ................................. SUCCESS [0.983s]
[INFO] olingo-odata2-api ................................. SUCCESS [9.266s]
[INFO] olingo-odata2-api-annotation ...................... SUCCESS [2.248s]
[INFO] olingo-odata2-testutil ............................ SUCCESS [3.216s]
[INFO] olingo-odata2-core ................................ SUCCESS [37.486s]
[INFO] olingo-odata2-ref ................................. SUCCESS [7.852s]
[INFO] olingo-odata2-fit ................................. SUCCESS [1:21.260s]
[INFO] olingo-odata2-ref-web ............................. SUCCESS [1.482s]
[INFO] olingo-odata2-jpa-processor ....................... SUCCESS [1.507s]
[INFO] olingo-odata2-jpa-processor-api ................... SUCCESS [5.021s]
[INFO] olingo-odata2-jpa-processor-core .................. FAILURE [7.183s]
[INFO] olingo-odata2-jpa-processor-ref ................... SKIPPED
[INFO] olingo-odata2-jpa-processor-ref-web ............... SKIPPED
[INFO] olingo-odata2-annotation-processor ................ SKIPPED
[INFO] olingo-odata2-annotation-processor-api ............ SKIPPED
[INFO] olingo-odata2-annotation-processor-core ........... SKIPPED
[INFO] olingo-odata2-annotation-processor-ref ............ SKIPPED
[INFO] olingo-odata2-annotation-processor-ref-web ........ SKIPPED
[INFO] olingo-odata2-dist ................................ SKIPPED
[INFO] olingo-odata2-dist-lib ............................ SKIPPED
[INFO] olingo-odata2-dist-jpa ............................ SKIPPED
[INFO] olingo-odata2-dist-janos .......................... SKIPPED
[INFO] olingo-odata2-dist-ref ............................ SKIPPED
[INFO] olingo-odata2-dist-javadoc ........................ SKIPPED
[INFO] olingo-odata2-sample .............................. SKIPPED
[INFO] olingo-odata2-sample-cars-service-archetype ....... SKIPPED
[INFO] olingo-odata2-sample-cars-annotation-archetype .... SKIPPED
[INFO] olingo-odata2-sample-cars-jpa-archetype ........... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2:45.353s
[INFO] Finished at: Tue May 19 09:41:57 UTC 2015
[INFO] Final Memory: 64M/399M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on 
project olingo-odata2-jpa-processor-core: There are test failures.
[ERROR] 
[ERROR] Please refer to 
<https://builds.apache.org/job/olingo-odata2/ws/odata2-jpa-processor/jpa-core/target/surefire-reports>
 for the individual test results.
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :olingo-odata2-jpa-processor-core
Build step 'Invoke top-level Maven targets' marked build as failure

Reply via email to