Eccezione in https://smart-cart-acenture.herokuapp.com/api/categories
Closed this issue · 0 comments
{
"cause": null,
"stackTrace": [
{
"methodName": "build",
"fileName": "ProblemBuilder.java",
"lineNumber": 83,
"className": "org.zalando.problem.ProblemBuilder",
"nativeMethod": false
},
{
"methodName": "process",
"fileName": "ExceptionTranslator.java",
"lineNumber": 74,
"className": "it.unisa.scanapp.web.rest.errors.ExceptionTranslator",
"nativeMethod": false
},
{
"methodName": "create",
"fileName": "AdviceTrait.java",
"lineNumber": 131,
"className": "org.zalando.problem.spring.web.advice.AdviceTrait",
"nativeMethod": false
},
{
"methodName": "create",
"fileName": "AdviceTrait.java",
"lineNumber": 115,
"className": "org.zalando.problem.spring.web.advice.AdviceTrait",
"nativeMethod": false
},
{
"methodName": "create",
"fileName": "AdviceTrait.java",
"lineNumber": 81,
"className": "org.zalando.problem.spring.web.advice.AdviceTrait",
"nativeMethod": false
},
{
"methodName": "handleThrowable",
"fileName": "ThrowableAdviceTrait.java",
"lineNumber": 25,
"className": "org.zalando.problem.spring.web.advice.general.ThrowableAdviceTrait",
"nativeMethod": false
},
{
"methodName": "invoke0",
"fileName": "NativeMethodAccessorImpl.java",
"lineNumber": -2,
"className": "sun.reflect.NativeMethodAccessorImpl",
"nativeMethod": true
},
{
"methodName": "invoke",
"fileName": "NativeMethodAccessorImpl.java",
"lineNumber": 62,
"className": "sun.reflect.NativeMethodAccessorImpl",
"nativeMethod": false
},
{
"methodName": "invoke",
"fileName": "DelegatingMethodAccessorImpl.java",
"lineNumber": 43,
"className": "sun.reflect.DelegatingMethodAccessorImpl",
"nativeMethod": false
},
{
"methodName": "invoke",
"fileName": "Method.java",
"lineNumber": 498,
"className": "java.lang.reflect.Method",
"nativeMethod": false
},
{
"methodName": "doInvoke",
"fileName": "InvocableHandlerMethod.java",
"lineNumber": 190,
"className": "org.springframework.web.method.support.InvocableHandlerMethod",
"nativeMethod": false
},
{
"methodName": "invokeForRequest",
"fileName": "InvocableHandlerMethod.java",
"lineNumber": 138,
"className": "org.springframework.web.method.support.InvocableHandlerMethod",
"nativeMethod": false
},
{
"methodName": "invokeAndHandle",
"fileName": "ServletInvocableHandlerMethod.java",
"lineNumber": 105,
"className": "org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod",
"nativeMethod": false
},
{
"methodName": "doResolveHandlerMethodException",
"fileName": "ExceptionHandlerExceptionResolver.java",
"lineNumber": 409,
"className": "org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver",
"nativeMethod": false
},
{
"methodName": "doResolveException",
"fileName": "AbstractHandlerMethodExceptionResolver.java",
"lineNumber": 61,
"className": "org.springframework.web.servlet.handler.AbstractHandlerMethodExceptionResolver",
"nativeMethod": false
},
{
"methodName": "resolveException",
"fileName": "AbstractHandlerExceptionResolver.java",
"lineNumber": 141,
"className": "org.springframework.web.servlet.handler.AbstractHandlerExceptionResolver",
"nativeMethod": false
},
{
"methodName": "resolveException",
"fileName": "HandlerExceptionResolverComposite.java",
"lineNumber": 80,
"className": "org.springframework.web.servlet.handler.HandlerExceptionResolverComposite",
"nativeMethod": false
},
{
"methodName": "processHandlerException",
"fileName": "DispatcherServlet.java",
"lineNumber": 1299,
"className": "org.springframework.web.servlet.DispatcherServlet",
"nativeMethod": false
},
{
"methodName": "processDispatchResult",
"fileName": "DispatcherServlet.java",
"lineNumber": 1111,
"className": "org.springframework.web.servlet.DispatcherServlet",
"nativeMethod": false
},
{
"methodName": "doDispatch",
"fileName": "DispatcherServlet.java",
"lineNumber": 1057,
"className": "org.springframework.web.servlet.DispatcherServlet",
"nativeMethod": false
},
{
"methodName": "doService",
"fileName": "DispatcherServlet.java",
"lineNumber": 943,
"className": "org.springframework.web.servlet.DispatcherServlet",
"nativeMethod": false
},
{
"methodName": "processRequest",
"fileName": "FrameworkServlet.java",
"lineNumber": 1006,
"className": "org.springframework.web.servlet.FrameworkServlet",
"nativeMethod": false
},
{
"methodName": "doGet",
"fileName": "FrameworkServlet.java",
"lineNumber": 898,
"className": "org.springframework.web.servlet.FrameworkServlet",
"nativeMethod": false
},
{
"methodName": "service",
"fileName": "HttpServlet.java",
"lineNumber": 645,
"className": "javax.servlet.http.HttpServlet",
"nativeMethod": false
},
{
"methodName": "service",
"fileName": "FrameworkServlet.java",
"lineNumber": 883,
"className": "org.springframework.web.servlet.FrameworkServlet",
"nativeMethod": false
},
{
"methodName": "service",
"fileName": "HttpServlet.java",
"lineNumber": 750,
"className": "javax.servlet.http.HttpServlet",
"nativeMethod": false
},
{
"methodName": "handleRequest",
"fileName": "ServletHandler.java",
"lineNumber": 74,
"className": "io.undertow.servlet.handlers.ServletHandler",
"nativeMethod": false
},
{
"methodName": "doFilter",
"fileName": "FilterHandler.java",
"lineNumber": 129,
"className": "io.undertow.servlet.handlers.FilterHandler$FilterChainImpl",
"nativeMethod": false
},
{
"methodName": "doFilter",
"fileName": "OncePerRequestFilter.java",
"lineNumber": 113,
"className": "org.springframework.web.filter.OncePerRequestFilter",
"nativeMethod": false
},
{
"methodName": "doFilter",
"fileName": "ManagedFilter.java",
"lineNumber": 61,
"className": "io.undertow.servlet.core.ManagedFilter",
"nativeMethod": false
},
{
"methodName": "doFilter",
"fileName": "FilterHandler.java",
"lineNumber": 131,
"className": "io.undertow.servlet.handlers.FilterHandler$FilterChainImpl",
"nativeMethod": false
},
{
"methodName": "doFilterInternal",
"fileName": "HttpTraceFilter.java",
"lineNumber": 88,
"className": "org.springframework.boot.actuate.web.trace.servlet.HttpTraceFilter",
"nativeMethod": false
},
{
"methodName": "doFilter",
"fileName": "OncePerRequestFilter.java",
"lineNumber": 119,
"className": "org.springframework.web.filter.OncePerRequestFilter",
"nativeMethod": false
},
{
"methodName": "doFilter",
"fileName": "ManagedFilter.java",
"lineNumber": 61,
"className": "io.undertow.servlet.core.ManagedFilter",
"nativeMethod": false
},
{
"methodName": "doFilter",
"fileName": "FilterHandler.java",
"lineNumber": 131,
"className": "io.undertow.servlet.handlers.FilterHandler$FilterChainImpl",
"nativeMethod": false
},
{
"methodName": "doFilter",
"fileName": "FilterChainProxy.java",
"lineNumber": 320,
"className": "org.springframework.security.web.FilterChainProxy$VirtualFilterChain",
"nativeMethod": false
},
{
"methodName": "invoke",
"fileName": "FilterSecurityInterceptor.java",
"lineNumber": 127,
"className": "org.springframework.security.web.access.intercept.FilterSecurityInterceptor",
"nativeMethod": false
},
{
"methodName": "doFilter",
"fileName": "FilterSecurityInterceptor.java",
"lineNumber": 91,
"className": "org.springframework.security.web.access.intercept.FilterSecurityInterceptor",
"nativeMethod": false
},
{
"methodName": "doFilter",
"fileName": "FilterChainProxy.java",
"lineNumber": 334,
"className": "org.springframework.security.web.FilterChainProxy$VirtualFilterChain",
"nativeMethod": false
},
{
"methodName": "doFilter",
"fileName": "ExceptionTranslationFilter.java",
"lineNumber": 119,
"className": "org.springframework.security.web.access.ExceptionTranslationFilter",
"nativeMethod": false
},
{
"methodName": "doFilter",
"fileName": "FilterChainProxy.java",
"lineNumber": 334,
"className": "org.springframework.security.web.FilterChainProxy$VirtualFilterChain",
"nativeMethod": false
},
{
"methodName": "doFilter",
"fileName": "SessionManagementFilter.java",
"lineNumber": 137,
"className": "org.springframework.security.web.session.SessionManagementFilter",
"nativeMethod": false
},
{
"methodName": "doFilter",
"fileName": "FilterChainProxy.java",
"lineNumber": 334,
"className": "org.springframework.security.web.FilterChainProxy$VirtualFilterChain",
"nativeMethod": false
},
{
"methodName": "doFilter",
"fileName": "AnonymousAuthenticationFilter.java",
"lineNumber": 111,
"className": "org.springframework.security.web.authentication.AnonymousAuthenticationFilter",
"nativeMethod": false
},
{
"methodName": "doFilter",
"fileName": "FilterChainProxy.java",
"lineNumber": 334,
"className": "org.springframework.security.web.FilterChainProxy$VirtualFilterChain",
"nativeMethod": false
},
{
"methodName": "doFilter",
"fileName": "SecurityContextHolderAwareRequestFilter.java",
"lineNumber": 170,
"className": "org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter",
"nativeMethod": false
},
{
"methodName": "doFilter",
"fileName": "FilterChainProxy.java",
"lineNumber": 334,
"className": "org.springframework.security.web.FilterChainProxy$VirtualFilterChain",
"nativeMethod": false
},
{
"methodName": "doFilter",
"fileName": "RequestCacheAwareFilter.java",
"lineNumber": 63,
"className": "org.springframework.security.web.savedrequest.RequestCacheAwareFilter",
"nativeMethod": false
},
{
"methodName": "doFilter",
"fileName": "FilterChainProxy.java",
"lineNumber": 334,
"className": "org.springframework.security.web.FilterChainProxy$VirtualFilterChain",
"nativeMethod": false
},
{
"methodName": "doFilterInternal",
"fileName": "BasicAuthenticationFilter.java",
"lineNumber": 158,
"className": "org.springframework.security.web.authentication.www.BasicAuthenticationFilter",
"nativeMethod": false
},
{
"methodName": "doFilter",
"fileName": "OncePerRequestFilter.java",
"lineNumber": 119,
"className": "org.springframework.web.filter.OncePerRequestFilter",
"nativeMethod": false
},
{
"methodName": "doFilter",
"fileName": "FilterChainProxy.java",
"lineNumber": 334,
"className": "org.springframework.security.web.FilterChainProxy$VirtualFilterChain",
"nativeMethod": false
},
{
"methodName": "doFilter",
"fileName": "JWTFilter.java",
"lineNumber": 38,
"className": "it.unisa.scanapp.security.jwt.JWTFilter",
"nativeMethod": false
},
{
"methodName": "doFilter",
"fileName": "FilterChainProxy.java",
"lineNumber": 334,
"className": "org.springframework.security.web.FilterChainProxy$VirtualFilterChain",
"nativeMethod": false
},
{
"methodName": "doFilterInternal",
"fileName": "CorsFilter.java",
"lineNumber": 97,
"className": "org.springframework.web.filter.CorsFilter",
"nativeMethod": false
},
{
"methodName": "doFilter",
"fileName": "OncePerRequestFilter.java",
"lineNumber": 119,
"className": "org.springframework.web.filter.OncePerRequestFilter",
"nativeMethod": false
},
{
"methodName": "doFilter",
"fileName": "FilterChainProxy.java",
"lineNumber": 334,
"className": "org.springframework.security.web.FilterChainProxy$VirtualFilterChain",
"nativeMethod": false
},
{
"methodName": "doFilter",
"fileName": "LogoutFilter.java",
"lineNumber": 116,
"className": "org.springframework.security.web.authentication.logout.LogoutFilter",
"nativeMethod": false
},
{
"methodName": "doFilter",
"fileName": "FilterChainProxy.java",
"lineNumber": 334,
"className": "org.springframework.security.web.FilterChainProxy$VirtualFilterChain",
"nativeMethod": false
},
{
"methodName": "doFilterInternal",
"fileName": "HeaderWriterFilter.java",
"lineNumber": 74,
"className": "org.springframework.security.web.header.HeaderWriterFilter",
"nativeMethod": false
},
{
"methodName": "doFilter",
"fileName": "OncePerRequestFilter.java",
"lineNumber": 119,
"className": "org.springframework.web.filter.OncePerRequestFilter",
"nativeMethod": false
},
{
"methodName": "doFilter",
"fileName": "FilterChainProxy.java",
"lineNumber": 334,
"className": "org.springframework.security.web.FilterChainProxy$VirtualFilterChain",
"nativeMethod": false
},
{
"methodName": "doFilter",
"fileName": "SecurityContextPersistenceFilter.java",
"lineNumber": 105,
"className": "org.springframework.security.web.context.SecurityContextPersistenceFilter",
"nativeMethod": false
},
{
"methodName": "doFilter",
"fileName": "FilterChainProxy.java",
"lineNumber": 334,
"className": "org.springframework.security.web.FilterChainProxy$VirtualFilterChain",
"nativeMethod": false
},
{
"methodName": "doFilterInternal",
"fileName": "WebAsyncManagerIntegrationFilter.java",
"lineNumber": 56,
"className": "org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter",
"nativeMethod": false
},
{
"methodName": "doFilter",
"fileName": "OncePerRequestFilter.java",
"lineNumber": 119,
"className": "org.springframework.web.filter.OncePerRequestFilter",
"nativeMethod": false
},
{
"methodName": "doFilter",
"fileName": "FilterChainProxy.java",
"lineNumber": 334,
"className": "org.springframework.security.web.FilterChainProxy$VirtualFilterChain",
"nativeMethod": false
},
{
"methodName": "doFilterInternal",
"fileName": "FilterChainProxy.java",
"lineNumber": 215,
"className": "org.springframework.security.web.FilterChainProxy",
"nativeMethod": false
},
{
"methodName": "doFilter",
"fileName": "FilterChainProxy.java",
"lineNumber": 178,
"className": "org.springframework.security.web.FilterChainProxy",
"nativeMethod": false
},
{
"methodName": "invokeDelegate",
"fileName": "DelegatingFilterProxy.java",
"lineNumber": 358,
"className": "org.springframework.web.filter.DelegatingFilterProxy",
"nativeMethod": false
},
{
"methodName": "doFilter",
"fileName": "DelegatingFilterProxy.java",
"lineNumber": 271,
"className": "org.springframework.web.filter.DelegatingFilterProxy",
"nativeMethod": false
},
{
"methodName": "doFilter",
"fileName": "ManagedFilter.java",
"lineNumber": 61,
"className": "io.undertow.servlet.core.ManagedFilter",
"nativeMethod": false
},
{
"methodName": "doFilter",
"fileName": "FilterHandler.java",
"lineNumber": 131,
"className": "io.undertow.servlet.handlers.FilterHandler$FilterChainImpl",
"nativeMethod": false
},
{
"methodName": "filterAndRecordMetrics",
"fileName": "WebMvcMetricsFilter.java",
"lineNumber": 114,
"className": "org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter",
"nativeMethod": false
},
{
"methodName": "doFilterInternal",
"fileName": "WebMvcMetricsFilter.java",
"lineNumber": 104,
"className": "org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter",
"nativeMethod": false
},
{
"methodName": "doFilter",
"fileName": "OncePerRequestFilter.java",
"lineNumber": 119,
"className": "org.springframework.web.filter.OncePerRequestFilter",
"nativeMethod": false
},
{
"methodName": "doFilter",
"fileName": "ManagedFilter.java",
"lineNumber": 61,
"className": "io.undertow.servlet.core.ManagedFilter",
"nativeMethod": false
},
{
"methodName": "doFilter",
"fileName": "FilterHandler.java",
"lineNumber": 131,
"className": "io.undertow.servlet.handlers.FilterHandler$FilterChainImpl",
"nativeMethod": false
},
{
"methodName": "doFilterInternal",
"fileName": "CharacterEncodingFilter.java",
"lineNumber": 201,
"className": "org.springframework.web.filter.CharacterEncodingFilter",
"nativeMethod": false
},
{
"methodName": "doFilter",
"fileName": "OncePerRequestFilter.java",
"lineNumber": 119,
"className": "org.springframework.web.filter.OncePerRequestFilter",
"nativeMethod": false
},
{
"methodName": "doFilter",
"fileName": "ManagedFilter.java",
"lineNumber": 61,
"className": "io.undertow.servlet.core.ManagedFilter",
"nativeMethod": false
},
{
"methodName": "doFilter",
"fileName": "FilterHandler.java",
"lineNumber": 131,
"className": "io.undertow.servlet.handlers.FilterHandler$FilterChainImpl",
"nativeMethod": false
},
{
"methodName": "handleRequest",
"fileName": "FilterHandler.java",
"lineNumber": 84,
"className": "io.undertow.servlet.handlers.FilterHandler",
"nativeMethod": false
},
{
"methodName": "handleRequest",
"fileName": "ServletSecurityRoleHandler.java",
"lineNumber": 62,
"className": "io.undertow.servlet.handlers.security.ServletSecurityRoleHandler",
"nativeMethod": false
},
{
"methodName": "handleRequest",
"fileName": "ServletChain.java",
"lineNumber": 68,
"className": "io.undertow.servlet.handlers.ServletChain$1",
"nativeMethod": false
},
{
"methodName": "handleRequest",
"fileName": "ServletDispatchingHandler.java",
"lineNumber": 36,
"className": "io.undertow.servlet.handlers.ServletDispatchingHandler",
"nativeMethod": false
},
{
"methodName": "handleRequest",
"fileName": "RedirectDirHandler.java",
"lineNumber": 68,
"className": "io.undertow.servlet.handlers.RedirectDirHandler",
"nativeMethod": false
},
{
"methodName": "handleRequest",
"fileName": "SSLInformationAssociationHandler.java",
"lineNumber": 132,
"className": "io.undertow.servlet.handlers.security.SSLInformationAssociationHandler",
"nativeMethod": false
},
{
"methodName": "handleRequest",
"fileName": "ServletAuthenticationCallHandler.java",
"lineNumber": 57,
"className": "io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler",
"nativeMethod": false
},
{
"methodName": "handleRequest",
"fileName": "PredicateHandler.java",
"lineNumber": 43,
"className": "io.undertow.server.handlers.PredicateHandler",
"nativeMethod": false
},
{
"methodName": "handleRequest",
"fileName": "AbstractConfidentialityHandler.java",
"lineNumber": 46,
"className": "io.undertow.security.handlers.AbstractConfidentialityHandler",
"nativeMethod": false
},
{
"methodName": "handleRequest",
"fileName": "ServletConfidentialityConstraintHandler.java",
"lineNumber": 64,
"className": "io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler",
"nativeMethod": false
},
{
"methodName": "handleRequest",
"fileName": "AuthenticationMechanismsHandler.java",
"lineNumber": 60,
"className": "io.undertow.security.handlers.AuthenticationMechanismsHandler",
"nativeMethod": false
},
{
"methodName": "handleRequest",
"fileName": "CachedAuthenticatedSessionHandler.java",
"lineNumber": 77,
"className": "io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler",
"nativeMethod": false
},
{
"methodName": "handleRequest",
"fileName": "AbstractSecurityContextAssociationHandler.java",
"lineNumber": 43,
"className": "io.undertow.security.handlers.AbstractSecurityContextAssociationHandler",
"nativeMethod": false
},
{
"methodName": "handleRequest",
"fileName": "PredicateHandler.java",
"lineNumber": 43,
"className": "io.undertow.server.handlers.PredicateHandler",
"nativeMethod": false
},
{
"methodName": "handleRequest",
"fileName": "PredicateHandler.java",
"lineNumber": 43,
"className": "io.undertow.server.handlers.PredicateHandler",
"nativeMethod": false
},
{
"methodName": "handleFirstRequest",
"fileName": "ServletInitialHandler.java",
"lineNumber": 269,
"className": "io.undertow.servlet.handlers.ServletInitialHandler",
"nativeMethod": false
},
{
"methodName": "access$100",
"fileName": "ServletInitialHandler.java",
"lineNumber": 78,
"className": "io.undertow.servlet.handlers.ServletInitialHandler",
"nativeMethod": false
},
{
"methodName": "call",
"fileName": "ServletInitialHandler.java",
"lineNumber": 133,
"className": "io.undertow.servlet.handlers.ServletInitialHandler$2",
"nativeMethod": false
},
{
"methodName": "call",
"fileName": "ServletInitialHandler.java",
"lineNumber": 130,
"className": "io.undertow.servlet.handlers.ServletInitialHandler$2",
"nativeMethod": false
},
{
"methodName": "call",
"fileName": "ServletRequestContextThreadSetupAction.java",
"lineNumber": 48,
"className": "io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1",
"nativeMethod": false
},
{
"methodName": "call",
"fileName": "ContextClassLoaderSetupAction.java",
"lineNumber": 43,
"className": "io.undertow.servlet.core.ContextClassLoaderSetupAction$1",
"nativeMethod": false
},
{
"methodName": "dispatchRequest",
"fileName": "ServletInitialHandler.java",
"lineNumber": 249,
"className": "io.undertow.servlet.handlers.ServletInitialHandler",
"nativeMethod": false
},
{
"methodName": "access$000",
"fileName": "ServletInitialHandler.java",
"lineNumber": 78,
"className": "io.undertow.servlet.handlers.ServletInitialHandler",
"nativeMethod": false
},
{
"methodName": "handleRequest",
"fileName": "ServletInitialHandler.java",
"lineNumber": 99,
"className": "io.undertow.servlet.handlers.ServletInitialHandler$1",
"nativeMethod": false
},
{
"methodName": "executeRootHandler",
"fileName": "Connectors.java",
"lineNumber": 376,
"className": "io.undertow.server.Connectors",
"nativeMethod": false
},
{
"methodName": "run",
"fileName": "HttpServerExchange.java",
"lineNumber": 830,
"className": "io.undertow.server.HttpServerExchange$1",
"nativeMethod": false
},
{
"methodName": "runWorker",
"fileName": "ThreadPoolExecutor.java",
"lineNumber": 1149,
"className": "java.util.concurrent.ThreadPoolExecutor",
"nativeMethod": false
},
{
"methodName": "run",
"fileName": "ThreadPoolExecutor.java",
"lineNumber": 624,
"className": "java.util.concurrent.ThreadPoolExecutor$Worker",
"nativeMethod": false
},
{
"methodName": "run",
"fileName": "Thread.java",
"lineNumber": 748,
"className": "java.lang.Thread",
"nativeMethod": false
}
],
"type": "https://www.jhipster.tech/problem/problem-with-message",
"title": "Internal Server Error",
"status": "INTERNAL_SERVER_ERROR",
"detail": "Could not write JSON: failed to lazily initialize a collection of role: it.unisa.scanapp.domain.Category.products, could not initialize proxy - no Session; nested exception is com.fasterxml.jackson.databind.JsonMappingException: failed to lazily initialize a collection of role: it.unisa.scanapp.domain.Category.products, could not initialize proxy - no Session (through reference chain: java.util.ArrayList[0]->it.unisa.scanapp.domain.Category["products"])",
"instance": null,
"parameters": {
"path": "/api/categories",
"message": "error.http.500"
},
"message": "Internal Server Error: Could not write JSON: failed to lazily initialize a collection of role: it.unisa.scanapp.domain.Category.products, could not initialize proxy - no Session; nested exception is com.fasterxml.jackson.databind.JsonMappingException: failed to lazily initialize a collection of role: it.unisa.scanapp.domain.Category.products, could not initialize proxy - no Session (through reference chain: java.util.ArrayList[0]->it.unisa.scanapp.domain.Category["products"])",
"localizedMessage": "Internal Server Error: Could not write JSON: failed to lazily initialize a collection of role: it.unisa.scanapp.domain.Category.products, could not initialize proxy - no Session; nested exception is com.fasterxml.jackson.databind.JsonMappingException: failed to lazily initialize a collection of role: it.unisa.scanapp.domain.Category.products, could not initialize proxy - no Session (through reference chain: java.util.ArrayList[0]->it.unisa.scanapp.domain.Category["products"])",
"suppressed": []
}