Skip to content

Instantly share code, notes, and snippets.

@pluttrell
Created January 28, 2018 06:32
Show Gist options
  • Save pluttrell/4f263ace8053eb3038fd96e4e436aa67 to your computer and use it in GitHub Desktop.
Save pluttrell/4f263ace8053eb3038fd96e4e436aa67 to your computer and use it in GitHub Desktop.
Run output for pluttrell/spring-data-dynamodb-issue-118
╰─$ git clone git@github.com:pluttrell/spring-data-dynamodb-issue-118.git
Cloning into 'spring-data-dynamodb-issue-118'...
remote: Counting objects: 40, done.
remote: Compressing objects: 100% (30/30), done.
remote: Total 40 (delta 6), reused 34 (delta 0), pack-reused 0
Receiving objects: 100% (40/40), 56.57 KiB | 416.00 KiB/s, done.
Resolving deltas: 100% (6/6), done.
╭─pluttrell@PetersMBP ~/dev/repos/github/pluttrell
╰─$ cd spring-data-dynamodb-issue-118
╭─pluttrell@PetersMBP ~/dev/repos/github/pluttrell/spring-data-dynamodb-issue-118 ‹master›
╰─$ git checkout springboot-1.5.9
Branch 'springboot-1.5.9' set up to track remote branch 'springboot-1.5.9' from 'origin'.
Switched to a new branch 'springboot-1.5.9'
╭─pluttrell@PetersMBP ~/dev/repos/github/pluttrell/spring-data-dynamodb-issue-118 ‹springboot-1.5.9›
╰─$ ./gradlew clean bootRun
> Task :bootRun
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v1.5.9.RELEASE)
2018-01-27 22:15:12.612 INFO 58486 --- [ main] example.ExampleApplication : Starting ExampleApplication on PetersMBP.local with PID 58486 (/Users/pluttrell/dev/repos/github/pluttrell/spring-data-dynamodb-issue-118/build/classes/java/main started by pluttrell in /Users/pluttrell/dev/repos/github/pluttrell/spring-data-dynamodb-issue-118)
2018-01-27 22:15:12.615 INFO 58486 --- [ main] example.ExampleApplication : No active profile set, falling back to default profiles: default
2018-01-27 22:15:12.658 INFO 58486 --- [ main] s.c.a.AnnotationConfigApplicationContext : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@4c1d9d4b: startup date [Sat Jan 27 22:15:12 PST 2018]; root of context hierarchy
2018-01-27 22:15:13.656 WARN 58486 --- [ main] o.h.v.m.ParameterMessageInterpolator : HV000184: ParameterMessageInterpolator has been chosen, EL interpolation will not be supported
2018-01-27 22:15:13.727 WARN 58486 --- [ main] o.h.v.m.ParameterMessageInterpolator : HV000184: ParameterMessageInterpolator has been chosen, EL interpolation will not be supported
2018-01-27 22:15:13.766 INFO 58486 --- [ main] o.s.j.e.a.AnnotationMBeanExporter : Registering beans for JMX exposure on startup
2018-01-27 22:15:14.228 INFO 58486 --- [ main] .c.CustomerDocumentRepositoryInitializer : Table 'CustomerDocuments' found.
2018-01-27 22:15:14.297 INFO 58486 --- [ main] example.ExampleRunner : Stored CustomerDocument(customerDocumentId=CustomerDocumentId(customerId=1, documentType=terms, version=0.0.1), s3Location=1/readme/0.0.1/doc.md)
2018-01-27 22:15:14.298 INFO 58486 --- [ main] example.ExampleRunner : All Customer Documents matching hashkey '1|terms':
2018-01-27 22:15:14.351 INFO 58486 --- [ main] example.ExampleRunner : CustomerDocument(customerDocumentId=CustomerDocumentId(customerId=1, documentType=terms, version=0.0.1), s3Location=1/readme/0.0.1/doc.md)
2018-01-27 22:15:14.353 INFO 58486 --- [ main] example.ExampleApplication : Started ExampleApplication in 2.013 seconds (JVM running for 2.287)
2018-01-27 22:15:14.353 INFO 58486 --- [ Thread-2] s.c.a.AnnotationConfigApplicationContext : Closing org.springframework.context.annotation.AnnotationConfigApplicationContext@4c1d9d4b: startup date [Sat Jan 27 22:15:12 PST 2018]; root of context hierarchy
2018-01-27 22:15:14.354 INFO 58486 --- [ Thread-2] o.s.j.e.a.AnnotationMBeanExporter : Unregistering JMX-exposed beans on shutdown
BUILD SUCCESSFUL in 5s
5 actionable tasks: 4 executed, 1 up-to-date
╭─pluttrell@PetersMBP ~/dev/repos/github/pluttrell/spring-data-dynamodb-issue-118 ‹springboot-1.5.9›
╰─$ git checkout springboot-2.0.0
Branch 'springboot-2.0.0' set up to track remote branch 'springboot-2.0.0' from 'origin'.
Switched to a new branch 'springboot-2.0.0'
╭─pluttrell@PetersMBP ~/dev/repos/github/pluttrell/spring-data-dynamodb-issue-118 ‹springboot-2.0.0›
╰─$ ./gradlew clean bootRun
> Task :bootRun
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v2.0.0.M7)
2018-01-27 22:15:52.612 INFO 58529 --- [ main] example.ExampleApplication : Starting ExampleApplication on PetersMBP.local with PID 58529 (/Users/pluttrell/dev/repos/github/pluttrell/spring-data-dynamodb-issue-118/build/classes/java/main started by pluttrell in /Users/pluttrell/dev/repos/github/pluttrell/spring-data-dynamodb-issue-118)
2018-01-27 22:15:52.615 INFO 58529 --- [ main] example.ExampleApplication : No active profile set, falling back to default profiles: default
2018-01-27 22:15:52.660 INFO 58529 --- [ main] s.c.a.AnnotationConfigApplicationContext : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@411f53a0: startup date [Sat Jan 27 22:15:52 PST 2018]; root of context hierarchy
2018-01-27 22:15:53.879 INFO 58529 --- [ main] o.s.j.e.a.AnnotationMBeanExporter : Registering beans for JMX exposure on startup
2018-01-27 22:15:53.888 INFO 58529 --- [ main] example.ExampleApplication : Started ExampleApplication in 1.697 seconds (JVM running for 1.949)
2018-01-27 22:15:54.342 INFO 58529 --- [ main] .c.CustomerDocumentRepositoryInitializer : Table 'CustomerDocuments' found.
2018-01-27 22:15:54.409 INFO 58529 --- [ main] example.ExampleRunner : Stored CustomerDocument(customerDocumentId=CustomerDocumentId(customerId=1, documentType=terms, version=0.0.1), s3Location=1/readme/0.0.1/doc.md)
2018-01-27 22:15:54.410 INFO 58529 --- [ main] example.ExampleRunner : All Customer Documents matching hashkey '1|terms':
2018-01-27 22:15:54.424 ERROR 58529 --- [ main] example.ExampleRunner : Error occurred retrieving records based on '1|terms'.
com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBMappingException: CustomerDocument[customerDocumentKey]; no mapping for attribute by name
at com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBMapperTableModel.field(DynamoDBMapperTableModel.java:94) ~[aws-java-sdk-dynamodb-1.11.222.jar:na]
at org.socialsignin.spring.data.dynamodb.repository.query.AbstractDynamoDBQueryCriteria.getPropertyAttributeValue(AbstractDynamoDBQueryCriteria.java:501) ~[spring-data-dynamodb-5.0.1.jar:na]
at org.socialsignin.spring.data.dynamodb.repository.query.AbstractDynamoDBQueryCriteria.withHashKeyEquals(AbstractDynamoDBQueryCriteria.java:395) ~[spring-data-dynamodb-5.0.1.jar:na]
at org.socialsignin.spring.data.dynamodb.repository.query.DynamoDBEntityWithHashAndRangeKeyCriteria.withPropertyEquals(DynamoDBEntityWithHashAndRangeKeyCriteria.java:369) ~[spring-data-dynamodb-5.0.1.jar:na]
at org.socialsignin.spring.data.dynamodb.repository.query.AbstractDynamoDBQueryCreator.addCriteria(AbstractDynamoDBQueryCreator.java:129) ~[spring-data-dynamodb-5.0.1.jar:na]
at org.socialsignin.spring.data.dynamodb.repository.query.AbstractDynamoDBQueryCreator.create(AbstractDynamoDBQueryCreator.java:66) ~[spring-data-dynamodb-5.0.1.jar:na]
at org.socialsignin.spring.data.dynamodb.repository.query.AbstractDynamoDBQueryCreator.create(AbstractDynamoDBQueryCreator.java:40) ~[spring-data-dynamodb-5.0.1.jar:na]
at org.springframework.data.repository.query.parser.AbstractQueryCreator.createCriteria(AbstractQueryCreator.java:115) ~[spring-data-commons-2.0.2.RELEASE.jar:2.0.2.RELEASE]
at org.springframework.data.repository.query.parser.AbstractQueryCreator.createQuery(AbstractQueryCreator.java:94) ~[spring-data-commons-2.0.2.RELEASE.jar:2.0.2.RELEASE]
at org.springframework.data.repository.query.parser.AbstractQueryCreator.createQuery(AbstractQueryCreator.java:80) ~[spring-data-commons-2.0.2.RELEASE.jar:2.0.2.RELEASE]
at org.socialsignin.spring.data.dynamodb.repository.query.PartTreeDynamoDBQuery.doCreateQuery(PartTreeDynamoDBQuery.java:63) ~[spring-data-dynamodb-5.0.1.jar:na]
at org.socialsignin.spring.data.dynamodb.repository.query.AbstractDynamoDBQuery.doCreateQueryWithPermissions(AbstractDynamoDBQuery.java:76) ~[spring-data-dynamodb-5.0.1.jar:na]
at org.socialsignin.spring.data.dynamodb.repository.query.AbstractDynamoDBQuery$CollectionExecution.execute(AbstractDynamoDBQuery.java:98) ~[spring-data-dynamodb-5.0.1.jar:na]
at org.socialsignin.spring.data.dynamodb.repository.query.AbstractDynamoDBQuery.execute(AbstractDynamoDBQuery.java:294) ~[spring-data-dynamodb-5.0.1.jar:na]
at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:597) ~[spring-data-commons-2.0.2.RELEASE.jar:2.0.2.RELEASE]
at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:580) ~[spring-data-commons-2.0.2.RELEASE.jar:2.0.2.RELEASE]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185) ~[spring-aop-5.0.2.RELEASE.jar:5.0.2.RELEASE]
at org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:59) ~[spring-data-commons-2.0.2.RELEASE.jar:2.0.2.RELEASE]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185) ~[spring-aop-5.0.2.RELEASE.jar:5.0.2.RELEASE]
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) ~[spring-aop-5.0.2.RELEASE.jar:5.0.2.RELEASE]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185) ~[spring-aop-5.0.2.RELEASE.jar:5.0.2.RELEASE]
at org.springframework.data.repository.core.support.SurroundingTransactionDetectorMethodInterceptor.invoke(SurroundingTransactionDetectorMethodInterceptor.java:61) ~[spring-data-commons-2.0.2.RELEASE.jar:2.0.2.RELEASE]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185) ~[spring-aop-5.0.2.RELEASE.jar:5.0.2.RELEASE]
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) ~[spring-aop-5.0.2.RELEASE.jar:5.0.2.RELEASE]
at com.sun.proxy.$Proxy53.findByCustomerDocumentKey(Unknown Source) ~[na:na]
at example.customerdocuments.CustomerDocumentRepository.findByCustomerDocumentKey(CustomerDocumentRepository.java:12) ~[main/:na]
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627) ~[na:1.8.0_152]
at org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:65) ~[spring-data-commons-2.0.2.RELEASE.jar:2.0.2.RELEASE]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185) ~[spring-aop-5.0.2.RELEASE.jar:5.0.2.RELEASE]
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) ~[spring-aop-5.0.2.RELEASE.jar:5.0.2.RELEASE]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185) ~[spring-aop-5.0.2.RELEASE.jar:5.0.2.RELEASE]
at org.springframework.data.repository.core.support.SurroundingTransactionDetectorMethodInterceptor.invoke(SurroundingTransactionDetectorMethodInterceptor.java:61) ~[spring-data-commons-2.0.2.RELEASE.jar:2.0.2.RELEASE]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185) ~[spring-aop-5.0.2.RELEASE.jar:5.0.2.RELEASE]
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) ~[spring-aop-5.0.2.RELEASE.jar:5.0.2.RELEASE]
at com.sun.proxy.$Proxy53.findByCustomerDocumentKey(Unknown Source) ~[na:na]
at example.ExampleRunner.run(ExampleRunner.java:31) ~[main/:na]
at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:789) [spring-boot-2.0.0.M7.jar:2.0.0.M7]
at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:773) [spring-boot-2.0.0.M7.jar:2.0.0.M7]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:335) [spring-boot-2.0.0.M7.jar:2.0.0.M7]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1245) [spring-boot-2.0.0.M7.jar:2.0.0.M7]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1233) [spring-boot-2.0.0.M7.jar:2.0.0.M7]
at example.ExampleApplication.main(ExampleApplication.java:10) [main/:na]
BUILD SUCCESSFUL in 4s
4 actionable tasks: 4 executed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment