Untitled

mail@pastecode.io avatar
unknown
java
a month ago
12 kB
1
Indexable
Never
2024-01-16T13:26:30.560Z DEBUG 1 --- [or-http-epoll-1] o.s.s.w.s.u.m.OrServerWebExchangeMatcher : Trying to match using PathMatcherServerWebExchangeMatcher{pattern='/api/v1/certificate-registry/citizens/register/**', method=null}
2024-01-16T13:26:30.560Z DEBUG 1 --- [or-http-epoll-1] athPatternParserServerWebExchangeMatcher : Checking match of request : '/api/v1/certificate-registry/citizens/register'; against '/api/v1/certificate-registry/citizens/register/**'
2024-01-16T13:26:30.560Z DEBUG 1 --- [or-http-epoll-1] o.s.s.w.s.u.m.OrServerWebExchangeMatcher : matched
2024-01-16T13:26:30.561Z DEBUG 1 --- [     parallel-2] o.s.w.s.s.DefaultWebSessionManager       : Created new WebSession.
2024-01-16T13:26:30.561Z DEBUG 1 --- [     parallel-2] o.s.s.w.s.u.m.OrServerWebExchangeMatcher : Trying to match using PathMatcherServerWebExchangeMatcher{pattern='/logout', method=POST}
2024-01-16T13:26:30.561Z DEBUG 1 --- [     parallel-2] athPatternParserServerWebExchangeMatcher : Request 'POST /api/v1/certificate-registry/citizens/register' doesn't match 'POST /logout'
2024-01-16T13:26:30.561Z DEBUG 1 --- [     parallel-2] o.s.s.w.s.u.m.OrServerWebExchangeMatcher : No matches found
2024-01-16T13:26:30.562Z DEBUG 1 --- [     parallel-2] a.DelegatingReactiveAuthorizationManager : Checking authorization on '/api/v1/certificate-registry/citizens/register' using org.springframework.security.config.web.server.ServerHttpSecurity$AuthorizeExchangeSpec$Access$$Lambda$846/0x00007fb6ce5be368@214915b2
2024-01-16T13:26:30.562Z DEBUG 1 --- [     parallel-2] o.s.s.w.s.a.AuthorizationWebFilter       : Authorization successful
2024-01-16T13:26:30.562Z DEBUG 1 --- [     parallel-2] s.w.r.r.m.a.RequestMappingHandlerMapping : [62556cce-925] Mapped to bg.bulsi.mvr.ruei.gateway.api.v1.CitizenProfileApiController#createCitizenProfile(CitizenProfileRegistrationDTO, ServerWebExchange)
2024-01-16T13:26:30.563Z  INFO 1 --- [     parallel-2] b.b.m.c.r.p.RabbitControllerAdvice       : .addRoutingKey() [exchange={org.springframework.web.reactive.HandlerMapping.bestMatchingHandler=bg.bulsi.mvr.ruei.gateway.api.v1.CitizenProfileApiController#createCitizenProfile(CitizenProfileRegistrationDTO, ServerWebExchange), org.springframework.web.reactive.HandlerMapping.bestMatchingPattern=/api/v1/certificate-registry/citizens/register, org.springframework.web.reactive.HandlerMapping.pathWithinHandlerMapping=/api/v1/certificate-registry/citizens/register, org.springframework.web.reactive.HandlerMapping.uriTemplateVariables={}, org.springframework.web.server.ServerWebExchange.LOG_ID=62556cce-925, org.springframework.web.reactive.HandlerMapping.matrixVariables={}, org.springframework.web.reactive.HandlerMapping.producibleMediaTypes=[application/json;charset=UTF-8]}]
2024-01-16T13:26:30.563Z DEBUG 1 --- [     parallel-2] .r.m.a.RequestBodyMethodArgumentResolver : [62556cce-925] Content-Type:application/json
2024-01-16T13:26:30.564Z DEBUG 1 --- [     parallel-2] .r.m.a.RequestBodyMethodArgumentResolver : [62556cce-925] 0..1 [bg.bulsi.mvr.ruei.contract.dto.CitizenProfileRegistrationDTO]
2024-01-16T13:26:30.565Z DEBUG 1 --- [or-http-epoll-1] org.springframework.web.HttpLogging      : [62556cce-925] Decoded [CitizenProfileRegistrationDTO(firstName=Петър, secondName=Кадиев, lastName=Алексиев, email=petar.ale (truncated)...]
2024-01-16T13:26:30.567Z  INFO 1 --- [or-http-epoll-1] b.m.a.s.CitizenProfileApiDelegateService : .createCitizenProfile() [RequestID=62556cce-925, citizenRegistrationDTO=CitizenProfileRegistrationDTO(firstName=Петър, secondName=Кадиев, lastName=Алексиев, email=petar.aleksiev@mail.com, phoneNumber=0884555678)]
2024-01-16T13:26:30.773Z DEBUG 1 --- [or-http-epoll-1] o.s.w.r.r.m.a.ResponseBodyResultHandler  : [62556cce-925] Using 'application/json;charset=UTF-8' given [*/*] and supported [application/json;charset=UTF-8]
2024-01-16T13:26:30.773Z DEBUG 1 --- [or-http-epoll-1] o.s.w.r.r.m.a.ResponseBodyResultHandler  : [62556cce-925] 0..1 [java.lang.String]
2024-01-16T13:26:30.774Z DEBUG 1 --- [or-http-epoll-1] s.w.r.r.m.a.RequestMappingHandlerAdapter : [62556cce-925] Using @ExceptionHandler bg.bulsi.mvr.common.exception.BaseRestControllerAdvice#handleBaseException(Exception, ServerWebExchange)
2024-01-16T13:26:30.774Z ERROR 1 --- [or-http-epoll-1] b.b.m.c.e.BaseRestControllerAdvice       : .handleExceptionInternal() [RequestID=62556cce-925, Exception={}]

java.util.NoSuchElementException: Context does not contain key: user-context
        at reactor.util.context.Context3.get(Context3.java:108)
        Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException:
Error has been observed at the following site(s):
        *__checkpoint ⇢ Handler bg.bulsi.mvr.ruei.gateway.api.v1.CitizenProfileApiController#createCitizenProfile(CitizenProfileRegistrationDTO, ServerWebExchange) [DispatcherHandler]
Original Stack Trace:
                at reactor.util.context.Context3.get(Context3.java:108)
                at bg.bulsi.mvr.common.config.security.UserContextHolder.lambda$getFromReactiveContext$0(UserContextHolder.java:84)
                at reactor.core.publisher.MonoDeferContextual.subscribe(MonoDeferContextual.java:47)
                at reactor.core.publisher.InternalMonoOperator.subscribe(InternalMonoOperator.java:64)
                at reactor.core.publisher.MonoFlatMap$FlatMapMain.onNext(MonoFlatMap.java:165)
                at reactor.core.publisher.FluxOnErrorResume$ResumeSubscriber.onNext(FluxOnErrorResume.java:79)
                at reactor.core.publisher.FluxPeek$PeekSubscriber.onNext(FluxPeek.java:200)
                at reactor.core.publisher.FluxPeek$PeekSubscriber.onNext(FluxPeek.java:200)
                at reactor.core.publisher.MonoIgnoreThen$ThenIgnoreMain.complete(MonoIgnoreThen.java:292)
                at reactor.core.publisher.MonoIgnoreThen$ThenIgnoreMain.onNext(MonoIgnoreThen.java:187)
                at reactor.core.publisher.MonoFlatMap$FlatMapMain.onNext(MonoFlatMap.java:158)
                at reactor.core.publisher.MonoZip$ZipCoordinator.signal(MonoZip.java:293)
                at reactor.core.publisher.MonoZip$ZipInner.onNext(MonoZip.java:474)
                at reactor.core.publisher.MonoPeekTerminal$MonoTerminalPeekSubscriber.onNext(MonoPeekTerminal.java:180)
                at reactor.core.publisher.FluxDefaultIfEmpty$DefaultIfEmptySubscriber.onNext(FluxDefaultIfEmpty.java:122)
                at reactor.core.publisher.FluxPeek$PeekSubscriber.onNext(FluxPeek.java:200)
                at reactor.core.publisher.FluxOnErrorResume$ResumeSubscriber.onNext(FluxOnErrorResume.java:79)
                at reactor.core.publisher.MonoFlatMap$FlatMapMain.onNext(MonoFlatMap.java:158)
                at reactor.core.publisher.FluxContextWrite$ContextWriteSubscriber.onNext(FluxContextWrite.java:107)
                at reactor.core.publisher.FluxMapFuseable$MapFuseableConditionalSubscriber.onNext(FluxMapFuseable.java:299)
                at reactor.core.publisher.FluxFilterFuseable$FilterFuseableConditionalSubscriber.onNext(FluxFilterFuseable.java:337)
                at reactor.core.publisher.Operators$BaseFluxToMonoOperator.completePossiblyEmpty(Operators.java:2071)
                at reactor.core.publisher.MonoCollect$CollectSubscriber.onComplete(MonoCollect.java:145)
                at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:144)
                at reactor.core.publisher.FluxPeek$PeekSubscriber.onComplete(FluxPeek.java:260)
                at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:144)
                at reactor.netty.channel.FluxReceive.terminateReceiver(FluxReceive.java:481)
                at reactor.netty.channel.FluxReceive.drainReceiver(FluxReceive.java:273)
                at reactor.netty.channel.FluxReceive.request(FluxReceive.java:131)
                at reactor.core.publisher.FluxMap$MapSubscriber.request(FluxMap.java:164)
                at reactor.core.publisher.FluxPeek$PeekSubscriber.request(FluxPeek.java:138)
                at reactor.core.publisher.FluxMap$MapSubscriber.request(FluxMap.java:164)
                at reactor.core.publisher.Operators$BaseFluxToMonoOperator.request(Operators.java:2041)
                at reactor.core.publisher.FluxFilterFuseable$FilterFuseableConditionalSubscriber.request(FluxFilterFuseable.java:411)
                at reactor.core.publisher.FluxMapFuseable$MapFuseableConditionalSubscriber.request(FluxMapFuseable.java:360)
                at reactor.core.publisher.FluxContextWrite$ContextWriteSubscriber.request(FluxContextWrite.java:136)
                at reactor.core.publisher.MonoFlatMap$FlatMapMain.request(MonoFlatMap.java:194)
                at reactor.core.publisher.Operators$MultiSubscriptionSubscriber.set(Operators.java:2341)
                at reactor.core.publisher.FluxOnErrorResume$ResumeSubscriber.onSubscribe(FluxOnErrorResume.java:74)
                at reactor.core.publisher.MonoFlatMap$FlatMapMain.onSubscribe(MonoFlatMap.java:117)
                at reactor.core.publisher.FluxContextWrite$ContextWriteSubscriber.onSubscribe(FluxContextWrite.java:101)
                at reactor.core.publisher.FluxMapFuseable$MapFuseableConditionalSubscriber.onSubscribe(FluxMapFuseable.java:265)
                at reactor.core.publisher.FluxFilterFuseable$FilterFuseableConditionalSubscriber.onSubscribe(FluxFilterFuseable.java:305)
                at reactor.core.publisher.Operators$BaseFluxToMonoOperator.onSubscribe(Operators.java:2025)
                at reactor.core.publisher.FluxMap$MapSubscriber.onSubscribe(FluxMap.java:92)
                at reactor.core.publisher.FluxPeek$PeekSubscriber.onSubscribe(FluxPeek.java:171)
                at reactor.core.publisher.FluxMap$MapSubscriber.onSubscribe(FluxMap.java:92)
                at reactor.netty.channel.FluxReceive.startReceiver(FluxReceive.java:170)
                at reactor.netty.channel.FluxReceive.lambda$subscribe$2(FluxReceive.java:148)
                at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174)
                at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167)
                at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470)
                at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:403)
                at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
                at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
                at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
                at java.base/java.lang.Thread.run(Thread.java:840)

2024-01-16T13:26:30.775Z DEBUG 1 --- [or-http-epoll-1] .s.w.r.r.m.a.ResponseEntityResultHandler : [62556cce-925] Using 'application/problem+json' given [*/*] and supported [application/problem+json, text/event-stream]
2024-01-16T13:26:30.775Z DEBUG 1 --- [or-http-epoll-1] .s.w.r.r.m.a.ResponseEntityResultHandler : [62556cce-925] 0..1 [org.springframework.http.ProblemDetail]
2024-01-16T13:26:30.775Z DEBUG 1 --- [or-http-epoll-1] org.springframework.web.HttpLogging      : [62556cce-925] Encoding [ProblemDetail[type='about:blank', title='Internal Server Error', status=500, detail='An unexpected e (truncated)...]
2024-01-16T13:26:30.776Z DEBUG 1 --- [or-http-epoll-1] o.s.w.s.adapter.HttpWebHandlerAdapter    : [62556cce-925] Completed 500 INTERNAL_SERVER_ERROR
Leave a Comment