java.security.AccessControlException: Access not allowed on the non-visible fields/methods/constructors [private static native void java.lang.Object.registerNatives()] of java.lang.Object

Oracle Community | 3029441 | 2 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    JCS Saas - OPA - MyBatis AccessControlException

    Oracle Community | 2 years ago | 3029441
    java.security.AccessControlException: Access not allowed on the non-visible fields/methods/constructors [private static native void java.lang.Object.registerNatives()] of java.lang.Object

    Root Cause Analysis

    1. java.security.AccessControlException

      Access not allowed on the non-visible fields/methods/constructors [private static native void java.lang.Object.registerNatives()] of java.lang.Object

      at oracle.cloud.jcs.scanning.impl.extension.access.SetAccessibleInterceptorBase.validateOwner()
    2. oracle.cloud.jcs
      SecurityManager_BJSKR11332btwbz.__deny_or_fwd__NKlaUtGcIfZ6IA6TYvXEifExBd4__P0n_REF_POLICY_ID_508
      1. oracle.cloud.jcs.scanning.impl.extension.access.SetAccessibleInterceptorBase.validateOwner(SetAccessibleInterceptorBase.java:96)
      2. oracle.cloud.jcs.scanning.impl.extension.access.SetAccessibleInterceptor.intercept(SetAccessibleInterceptor.java:58)
      3. oracle.cloud.jcs.scanning.impl.extension.CloudInvocationHandlerAdapter.invoke(CloudInvocationHandlerAdapter.java:83)
      4. oracle.cloud.jcs.security.SecurityManager_BJSKR11332btwbz.__deny_or_fwd__NKlaUtGcIfZ6IA6TYvXEifExBd4__P0n_REF_POLICY_ID_508(SecurityManager_BJSKR11332btwbz.java:1698)
      4 frames
    3. MyBatis
      SqlSessionFactoryBuilder.build
      1. org.apache.ibatis.reflection.Reflector.addUniqueMethods(Reflector.java:309)
      2. org.apache.ibatis.reflection.Reflector.getClassMethods(Reflector.java:282)
      3. org.apache.ibatis.reflection.Reflector.addGetMethods(Reflector.java:98)
      4. org.apache.ibatis.reflection.Reflector.<init>(Reflector.java:65)
      5. org.apache.ibatis.reflection.Reflector.forClass(Reflector.java:466)
      6. org.apache.ibatis.reflection.MetaClass.<init>(MetaClass.java:37)
      7. org.apache.ibatis.reflection.MetaClass.forClass(MetaClass.java:41)
      8. org.apache.ibatis.builder.MapperBuilderAssistant.resolveResultJavaType(MapperBuilderAssistant.java:437)
      9. org.apache.ibatis.builder.MapperBuilderAssistant.buildResultMapping(MapperBuilderAssistant.java:385)
      10. org.apache.ibatis.builder.xml.XMLMapperBuilder.buildResultMappingFromContext(XMLMapperBuilder.java:375)
      11. org.apache.ibatis.builder.xml.XMLMapperBuilder.resultMapElement(XMLMapperBuilder.java:279)
      12. org.apache.ibatis.builder.xml.XMLMapperBuilder.resultMapElement(XMLMapperBuilder.java:251)
      13. org.apache.ibatis.builder.xml.XMLMapperBuilder.resultMapElements(XMLMapperBuilder.java:243)
      14. org.apache.ibatis.builder.xml.XMLMapperBuilder.configurationElement(XMLMapperBuilder.java:116)
      15. org.apache.ibatis.builder.xml.XMLMapperBuilder.parse(XMLMapperBuilder.java:92)
      16. org.apache.ibatis.builder.xml.XMLConfigBuilder.mapperElement(XMLConfigBuilder.java:322)
      17. org.apache.ibatis.builder.xml.XMLConfigBuilder.parseConfiguration(XMLConfigBuilder.java:107)
      18. org.apache.ibatis.builder.xml.XMLConfigBuilder.parse(XMLConfigBuilder.java:92)
      19. org.apache.ibatis.session.SqlSessionFactoryBuilder.build(SqlSessionFactoryBuilder.java:80)
      20. org.apache.ibatis.session.SqlSessionFactoryBuilder.build(SqlSessionFactoryBuilder.java:66)
      20 frames
    4. com.oracle.peristence
      ContactDAOImpl.getContactSeqId
      1. com.oracle.peristence.mybatis.ContactDAOImpl.getSessionFactory(ContactDAOImpl.java:120)
      2. com.oracle.peristence.mybatis.ContactDAOImpl.getContactSeqId(ContactDAOImpl.java:31)
      2 frames
    5. com.oracle.service
      SaveTool.manageSAveData
      1. com.oracle.service.util.SaveTool.manageSAveData(SaveTool.java:93)
      1 frame