SHARE
TWEET

Untitled

a guest Jun 26th, 2019 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. at org.springframework.util.Assert.instanceCheckFailed(Assert.java:655)
  2.   at org.springframework.util.Assert.isInstanceOf(Assert.java:574)
  3.   at org.springframework.data.mapping.model.BasicPersistentEntity.verifyBeanType(BasicPersistentEntity.java:551)
  4.   at org.springframework.data.mapping.model.BasicPersistentEntity.getPropertyAccessor(BasicPersistentEntity.java:453)
  5.   at org.springframework.data.mapping.PersistentPropertyAccessor.setProperty(PersistentPropertyAccessor.java:76)
  6.   at org.springframework.data.auditing.MappingAuditableBeanWrapperFactory$MappingMetadataAuditableBeanWrapper.lambda$setDateProperty$2(MappingAuditableBeanWrapperFactory.java:243)
  7.   at org.springframework.data.auditing.MappingAuditableBeanWrapperFactory$MappingMetadataAuditableBeanWrapper$$Lambda$1129.335811674.accept(Unknown Source:-1)
  8.   at java.lang.Iterable.forEach(Iterable.java:75)
  9.   at org.springframework.data.auditing.MappingAuditableBeanWrapperFactory$MappingMetadataAuditableBeanWrapper.setDateProperty(MappingAuditableBeanWrapperFactory.java:243)
  10.   at org.springframework.data.auditing.MappingAuditableBeanWrapperFactory$MappingMetadataAuditableBeanWrapper.setLastModifiedDate(MappingAuditableBeanWrapperFactory.java:220)
  11.   at org.springframework.data.auditing.AuditingHandler.lambda$touchDate$11(AuditingHandler.java:220)
  12.   at org.springframework.data.auditing.AuditingHandler$$Lambda$1128.164899054.accept(Unknown Source:-1)
  13.   at java.util.Optional.ifPresent(Optional.java:159)
  14.   at org.springframework.data.auditing.AuditingHandler.touchDate(AuditingHandler.java:220)
  15.   at org.springframework.data.auditing.AuditingHandler.lambda$touch$0(AuditingHandler.java:166)
  16.   at org.springframework.data.auditing.AuditingHandler$$Lambda$1122.754120807.apply(Unknown Source:-1)
  17.   at java.util.Optional.map(Optional.java:215)
  18.   at org.springframework.data.auditing.AuditingHandler.touch(AuditingHandler.java:163)
  19.   at org.springframework.data.auditing.AuditingHandler.markModified(AuditingHandler.java:143)
  20.   at org.springframework.data.auditing.IsNewAwareAuditingHandler.markAudited(IsNewAwareAuditingHandler.java:83)
  21.   at org.springframework.data.mongodb.core.mapping.event.AuditingEventListener.lambda$onApplicationEvent$0(AuditingEventListener.java:54)
  22.   at org.springframework.data.mongodb.core.mapping.event.AuditingEventListener$$Lambda$1094.1600079218.apply(Unknown Source:-1)
  23.   at org.springframework.data.mongodb.core.mapping.event.MongoMappingEvent.mapSource(MongoMappingEvent.java:90)
  24.   at org.springframework.data.mongodb.core.mapping.event.AuditingEventListener.onApplicationEvent(AuditingEventListener.java:54)
  25.   at org.springframework.data.mongodb.core.mapping.event.AuditingEventListener.onApplicationEvent(AuditingEventListener.java:32)
  26.   at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172)
  27.   at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165)
  28.   at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139)
  29.   at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:398)
  30.   at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:355)
  31.   at org.springframework.data.mongodb.core.ReactiveMongoTemplate.maybeEmitEvent(ReactiveMongoTemplate.java:2407)
  32.   at org.springframework.data.mongodb.core.ReactiveMongoTemplate.lambda$doSave$35(ReactiveMongoTemplate.java:1428)
  33.   at org.springframework.data.mongodb.core.ReactiveMongoTemplate$$Lambda$1093.1542796792.doInCollection(Unknown Source:-1)
  34.   at org.springframework.data.mongodb.core.ReactiveMongoTemplate.lambda$createMono$8(ReactiveMongoTemplate.java:599)
  35.   at org.springframework.data.mongodb.core.ReactiveMongoTemplate$$Lambda$989.249044352.apply(Unknown Source:-1)
  36.      
  37. Object parent = parentPath.isEmpty() ? getBean() : getProperty(parentPath);//1
  38.  
  39.         if (parent == null) {
  40.  
  41.             String nullIntermediateMessage = "Cannot lookup property %s on null intermediate! Original path was: %s on %s.";
  42.  
  43.             throw new MappingException(String.format(nullIntermediateMessage, parentPath.getLeafProperty(), path.toDotPath(),
  44.                     getBean().getClass().getName()));
  45.         }
  46.  
  47.         PersistentPropertyAccessor<?> accessor = parent == getBean() //
  48.                 ? this //
  49.                 : leafProperty.getOwner().getPropertyAccessor(parent);//2
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top