Uploaded image for project: 'Apache Fineract'
  1. Apache Fineract
  2. FINERACT-1473

InaccessibleObjectException - Unable to make field private final byte java.time.LocalTime.hour accessible: module java.base does not "opens java.time" to unnamed module

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.6.0
    • 1.6.0
    • None
    • None

    Description

      https://lists.apache.org/list.html?dev@fineract.apache.org

      https://markmail.org/search/?q=list%3Aorg.apache.fineract.dev+order%3Adate-backward#query:list%3Aorg.apache.fineract.dev%20order%3Adate-backward+page:1+mid:bwpjyyogp5ws2wxm+state:results

      java.lang.reflect.InaccessibleObjectException: Unable to make field private final byte java.time.LocalTime.hour accessible: module java.base does not "opens java.time" to unnamed module @73d4cc9e
      at java.lang.reflect.AccessibleObject.checkCanSetAccessible (AccessibleObject.java:354)
      at java.lang.reflect.AccessibleObject.checkCanSetAccessible (AccessibleObject.java:297)
      at java.lang.reflect.Field.checkCanSetAccessible (Field.java:178)
      at java.lang.reflect.Field.setAccessible (Field.java:172)
      at com.google.gson.internal.reflect.UnsafeReflectionAccessor.makeAccessible (UnsafeReflectionAccessor.java:44)
      at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.getBoundFields (ReflectiveTypeAdapterFactory.java:159)
      at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.create (ReflectiveTypeAdapterFactory.java:102)
      at com.google.gson.Gson.getAdapter (Gson.java:489)
      at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.createBoundField (ReflectiveTypeAdapterFactory.java:117)
      at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.getBoundFields (ReflectiveTypeAdapterFactory.java:166)
      at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.create (ReflectiveTypeAdapterFactory.java:102)
      at com.google.gson.Gson.getAdapter (Gson.java:489)
      at com.google.gson.internal.bind.CollectionTypeAdapterFactory.create (CollectionTypeAdapterFactory.java:53)
      at com.google.gson.Gson.getAdapter (Gson.java:489)
      at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.createBoundField (ReflectiveTypeAdapterFactory.java:117)
      at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.getBoundFields (ReflectiveTypeAdapterFactory.java:166)
      at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.create (ReflectiveTypeAdapterFactory.java:102)
      at com.google.gson.Gson.getAdapter (Gson.java:489)
      at com.google.gson.internal.bind.CollectionTypeAdapterFactory.create (CollectionTypeAdapterFactory.java:53)
      at com.google.gson.Gson.getAdapter (Gson.java:489)
      at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.createBoundField (ReflectiveTypeAdapterFactory.java:117)
      at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.getBoundFields (ReflectiveTypeAdapterFactory.java:166)
      at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.create (ReflectiveTypeAdapterFactory.java:102)
      at com.google.gson.Gson.getAdapter (Gson.java:489)
      at com.google.gson.internal.bind.CollectionTypeAdapterFactory.create (CollectionTypeAdapterFactory.java:53)
      at com.google.gson.Gson.getAdapter (Gson.java:489)
      at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.createBoundField (ReflectiveTypeAdapterFactory.java:117)
      at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.getBoundFields (ReflectiveTypeAdapterFactory.java:166)
      at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.create (ReflectiveTypeAdapterFactory.java:102)
      at com.google.gson.Gson.getAdapter (Gson.java:489)
      at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.write (TypeAdapterRuntimeTypeWrapper.java:56)
      at com.google.gson.internal.bind.ArrayTypeAdapter.write (ArrayTypeAdapter.java:95)
      at com.google.gson.Gson.toJson (Gson.java:735)
      at com.google.gson.Gson.toJson (Gson.java:714)
      at com.google.gson.Gson.toJson (Gson.java:669)
      at com.google.gson.Gson.toJson (Gson.java:649)
      at org.apache.fineract.infrastructure.core.serialization.ExcludeNothingWithPrettyPrintingOffJsonSerializerGoogleGson.serialize (ExcludeNothingWithPrettyPrintingOffJsonSerializerGoogleGson.java:44)
      at org.apache.fineract.infrastructure.core.serialization.DefaultToApiJsonSerializer.serialize (DefaultToApiJsonSerializer.java:57)
      at org.apache.fineract.infrastructure.core.serialization.DefaultToApiJsonSerializer.serializeWithSettings (DefaultToApiJsonSerializer.java:119)
      at org.apache.fineract.infrastructure.core.serialization.DefaultToApiJsonSerializer.serialize (DefaultToApiJsonSerializer.java:76)
      at org.apache.fineract.useradministration.api.UsersApiResource.retrieveAll (UsersApiResource.java:124)
      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
      at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke (Method.java:568)
      at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0 (ResourceMethodInvocationHandlerFactory.java:52)
      at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run (AbstractJavaResourceMethodDispatcher.java:124)
      at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke (AbstractJavaResourceMethodDispatcher.java:167)
      at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch (JavaResourceMethodDispatcherProvider.java:219)
      at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch (AbstractJavaResourceMethodDispatcher.java:79)
      at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke (ResourceMethodInvoker.java:475)
      at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply (ResourceMethodInvoker.java:397)
      at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply (ResourceMethodInvoker.java:81)
      at org.glassfish.jersey.server.ServerRuntime$1.run (ServerRuntime.java:255)
      at org.glassfish.jersey.internal.Errors$1.call (Errors.java:248)
      at org.glassfish.jersey.internal.Errors$1.call (Errors.java:244)
      at org.glassfish.jersey.internal.Errors.process (Errors.java:292)
      at org.glassfish.jersey.internal.Errors.process (Errors.java:274)
      at org.glassfish.jersey.internal.Errors.process (Errors.java:244)
      at org.glassfish.jersey.process.internal.RequestScope.runInScope (RequestScope.java:265)
      at org.glassfish.jersey.server.ServerRuntime.process (ServerRuntime.java:234)
      at org.glassfish.jersey.server.ApplicationHandler.handle (ApplicationHandler.java:684)
      at org.glassfish.jersey.servlet.WebComponent.serviceImpl (WebComponent.java:394)
      at org.glassfish.jersey.servlet.WebComponent.service (WebComponent.java:346)
      at org.glassfish.jersey.servlet.ServletContainer.service (ServletContainer.java:366)
      at org.glassfish.jersey.servlet.ServletContainer.service (ServletContainer.java:319)
      at org.glassfish.jersey.servlet.ServletContainer.service (ServletContainer.java:205)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:227)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:162)
      at org.apache.tomcat.websocket.server.WsFilter.doFilter (WsFilter.java:53)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:189)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:162)
      at org.springframework.web.filter.RequestContextFilter.doFilterInternal (RequestContextFilter.java:100)
      at org.springframework.web.filter.OncePerRequestFilter.doFilter (OncePerRequestFilter.java:119)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:189)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:162)
      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter (FilterChainProxy.java:327)
      at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke (FilterSecurityInterceptor.java:115)
      at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter (FilterSecurityInterceptor.java:81)
      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter (FilterChainProxy.java:336)
      at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter (ExceptionTranslationFilter.java:122)
      at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter (ExceptionTranslationFilter.java:116)
      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter (FilterChainProxy.java:336)
      at org.springframework.security.web.session.SessionManagementFilter.doFilter (SessionManagementFilter.java:126)
      at org.springframework.security.web.session.SessionManagementFilter.doFilter (SessionManagementFilter.java:81)
      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter (FilterChainProxy.java:336)
      at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter (AnonymousAuthenticationFilter.java:109)
      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter (FilterChainProxy.java:336)
      at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter (SecurityContextHolderAwareRequestFilter.java:149)
      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter (FilterChainProxy.java:336)
      at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter (RequestCacheAwareFilter.java:63)
      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter (FilterChainProxy.java:336)
      at org.apache.fineract.infrastructure.security.filter.InsecureTwoFactorAuthenticationFilter.doFilter (InsecureTwoFactorAuthenticationFilter.java:80)
      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter (FilterChainProxy.java:336)
      at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilterInternal (BasicAuthenticationFilter.java:181)
      at org.springframework.web.filter.OncePerRequestFilter.doFilter (OncePerRequestFilter.java:119)
      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter (FilterChainProxy.java:336)
      at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter (LogoutFilter.java:103)
      at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter (LogoutFilter.java:89)
      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter (FilterChainProxy.java:336)
      at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter (HeaderWriterFilter.java:90)
      at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal (HeaderWriterFilter.java:75)
      at org.springframework.web.filter.OncePerRequestFilter.doFilter (OncePerRequestFilter.java:119)
      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter (FilterChainProxy.java:336)
      at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilterInternal (BasicAuthenticationFilter.java:181)
      at org.apache.fineract.infrastructure.security.filter.TenantAwareBasicAuthenticationFilter.doFilterInternal (TenantAwareBasicAuthenticationFilter.java:144)
      at org.springframework.web.filter.OncePerRequestFilter.doFilter (OncePerRequestFilter.java:119)
      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter (FilterChainProxy.java:336)
      at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter (SecurityContextPersistenceFilter.java:110)
      at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter (SecurityContextPersistenceFilter.java:80)
      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter (FilterChainProxy.java:336)
      at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal (WebAsyncManagerIntegrationFilter.java:55)
      at org.springframework.web.filter.OncePerRequestFilter.doFilter (OncePerRequestFilter.java:119)
      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter (FilterChainProxy.java:336)
      at org.springframework.security.web.access.channel.ChannelProcessingFilter.doFilter (ChannelProcessingFilter.java:133)
      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter (FilterChainProxy.java:336)
      at org.springframework.security.web.FilterChainProxy.doFilterInternal (FilterChainProxy.java:211)
      at org.springframework.security.web.FilterChainProxy.doFilter (FilterChainProxy.java:183)
      at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate (DelegatingFilterProxy.java:358)
      at org.springframework.web.filter.DelegatingFilterProxy.doFilter (DelegatingFilterProxy.java:271)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:189)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:162)
      at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.doFilterInternal (WebMvcMetricsFilter.java:96)
      at org.springframework.web.filter.OncePerRequestFilter.doFilter (OncePerRequestFilter.java:119)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:189)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:162)
      at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal (CharacterEncodingFilter.java:201)
      at org.springframework.web.filter.OncePerRequestFilter.doFilter (OncePerRequestFilter.java:119)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:189)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:162)
      at org.springframework.web.filter.ForwardedHeaderFilter.doFilterInternal (ForwardedHeaderFilter.java:156)
      at org.springframework.web.filter.OncePerRequestFilter.doFilter (OncePerRequestFilter.java:119)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:189)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:162)
      at org.apache.catalina.core.StandardWrapperValve.invoke (StandardWrapperValve.java:197)
      at org.apache.catalina.core.StandardContextValve.invoke (StandardContextValve.java:97)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke (AuthenticatorBase.java:540)
      at org.apache.catalina.core.StandardHostValve.invoke (StandardHostValve.java:135)
      at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:92)
      at org.apache.catalina.core.StandardEngineValve.invoke (StandardEngineValve.java:78)
      at org.apache.catalina.connector.CoyoteAdapter.service (CoyoteAdapter.java:357)
      at org.apache.coyote.http11.Http11Processor.service (Http11Processor.java:382)
      at org.apache.coyote.AbstractProcessorLight.process (AbstractProcessorLight.java:65)
      at org.apache.coyote.AbstractProtocol$ConnectionHandler.process (AbstractProtocol.java:895)
      at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun (NioEndpoint.java:1722)
      at org.apache.tomcat.util.net.SocketProcessorBase.run (SocketProcessorBase.java:49)
      at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1191)
      at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:659)
      at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run (TaskThread.java:61)
      at java.lang.Thread.run (Thread.java:833)

      Attachments

        Issue Links

          Activity

            People

              vorburger Michael Vorburger
              vorburger Michael Vorburger
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: