Hi,
We are working on extending the Laertes WebAPI to do calls into the Linked Data graph for supporting the drill down use case and ran into the following issue while compiling:
2015-07-25 09:14:37.151 INFO main org.springframework.test.context.transaction.TransactionContext - - Rolled back transaction for test context [DefaultTestContext@749baa0c testClass = StudyInfoTest, testInstance = org.ohdsi.webapi.test.feasibility.StudyInfoTest@1b3bec6c, testMethod = testStudyCRUD@StudyInfoTest, testException = java.lang.NullPointerException, mergedContextConfiguration = [MergedContextConfiguration@53f7a906 testClass = StudyInfoTest, locations = '{}', classes = '{class org.ohdsi.webapi.WebApi}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{}', contextLoader = 'org.springframework.boot.test.SpringApplicationContextLoader', parent = [null]]].
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 8.156 sec <<< FAILURE!
Not sure how to address this but we were able to work around it temporarily by adding this to the pom.xml:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.18.1</version>
<configuration>
<skipTests>true</skipTests>
</configuration>
</plugin>
</plugins>
This problem happens when running Maven from both the command line and from within Eclipse. Would anyone have a suggestion?
thanks!
-Rich