java.security.AccessControlException: loadClass method must be overridden by custom class-loader:net.sf.jasperreports.engine.util.JRClassLoader. This can simply delegate to super.loadClass(String). However, it must be defined for security introspection.

Oracle Community | oladslw | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Java Cloud Saas Extension/ Jasper Report Error

    Oracle Community | 2 years ago | oladslw
    java.security.AccessControlException: loadClass method must be overridden by custom class-loader:net.sf.jasperreports.engine.util.JRClassLoader. This can simply delegate to super.loadClass(String). However, it must be defined for security introspection.

    Root Cause Analysis

    1. java.security.AccessControlException

      loadClass method must be overridden by custom class-loader:net.sf.jasperreports.engine.util.JRClassLoader. This can simply delegate to super.loadClass(String). However, it must be defined for security introspection.

      at oracle.cloud.jcs.scanning.impl.extension.LoadingClassValidator.validateClassData()
    2. oracle.cloud.jcs
      SecurityManager_AYMXR76323pdlej.__deny_or_fwd__MJPRi__s1V5FvRc5lyta3R9hFnkc__A5c_POLICY_ID_311
      1. oracle.cloud.jcs.scanning.impl.extension.LoadingClassValidator.validateClassData(LoadingClassValidator.java:76)
      2. oracle.cloud.jcs.scanning.impl.extension.LoadingClassValidator.invoke0(LoadingClassValidator.java:267)
      3. oracle.cloud.jcs.scanning.impl.extension.LoadingClassValidator.invoke(LoadingClassValidator.java:190)
      4. oracle.cloud.jcs.security.SecurityManager_AYMXR76323pdlej.__deny_or_fwd__MJPRi__s1V5FvRc5lyta3R9hFnkc__A5c_POLICY_ID_311(SecurityManager_AYMXR76323pdlej.java:865)
      4 frames
    3. JasperReports
      JRClassLoader.loadClass
      1. net.sf.jasperreports.engine.util.JRClassLoader.loadClass(JRClassLoader.java:338)
      1 frame
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    5. oracle.cloud.jcs
      SecurityManager_AYMXR76323pdlej.__deny_or_fwd__oHsrYg6bU6FFNCImVv7MZ1toELI__A5c_REF_POLICY_ID_501
      1. oracle.cloud.jcs.scanning.impl.extension.CloudInvocationHandlerAdapter.invoke(CloudInvocationHandlerAdapter.java:87)
      2. oracle.cloud.jcs.security.SecurityManager_AYMXR76323pdlej.__deny_or_fwd__oHsrYg6bU6FFNCImVv7MZ1toELI__A5c_REF_POLICY_ID_501(SecurityManager_AYMXR76323pdlej.java:2885)
      2 frames
    6. JasperReports
      JasperFillManager.fillReport
      1. net.sf.jasperreports.engine.util.JRClassLoader.loadClassFromBytes(JRClassLoader.java:239)
      2. net.sf.jasperreports.engine.design.JRAbstractJavaCompiler.loadEvaluator(JRAbstractJavaCompiler.java:102)
      3. net.sf.jasperreports.engine.design.JRAbstractCompiler.loadEvaluator(JRAbstractCompiler.java:340)
      4. net.sf.jasperreports.engine.JasperCompileManager.getEvaluator(JasperCompileManager.java:265)
      5. net.sf.jasperreports.engine.fill.JRFillDataset.createCalculator(JRFillDataset.java:462)
      6. net.sf.jasperreports.engine.fill.JRBaseFiller.<init>(JRBaseFiller.java:384)
      7. net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:88)
      8. net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:103)
      9. net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:61)
      10. net.sf.jasperreports.engine.fill.JRFiller.createFiller(JRFiller.java:179)
      11. net.sf.jasperreports.engine.fill.JRFiller.fill(JRFiller.java:81)
      12. net.sf.jasperreports.engine.JasperFillManager.fill(JasperFillManager.java:446)
      13. net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:849)
      13 frames
    7. com.blueberryngc.endvi
      EndviCRMCommonUtil.actionAll
      1. com.blueberryngc.endvi.bts.crm.bts.view.bean.helper.EndviCRMHelperUtil.createAndUploadReport2(EndviCRMHelperUtil.java:1091)
      2. com.blueberryngc.endvi.bts.crm.bts.view.bean.helper.EndviCRMHelperUtil.generateDocument(EndviCRMHelperUtil.java:885)
      3. com.blueberryngc.endvi.bts.crm.bts.view.bean.helper.EndviCRMCommonUtil.createPDF(EndviCRMCommonUtil.java:1230)
      4. com.blueberryngc.endvi.bts.crm.bts.view.bean.helper.EndviCRMCommonUtil.actionAll(EndviCRMCommonUtil.java:1338)
      4 frames
    8. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    9. EL
      MethodExpressionImpl.invoke
      1. com.sun.el.parser.AstValue.invoke(AstValue.java:187)
      2. com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:297)
      2 frames
    10. oracle.adf.view
      UIXInclude$ContextualMethodExpressionWrapper.invoke
      1. oracle.adf.view.rich.component.fragment.UIXInclude$ContextualMethodExpressionWrapper.invoke(UIXInclude.java:673)
      1 frame
    11. com.blueberryngc.endvi
      EndviToolbar0001Component.handleActionAll
      1. com.blueberryngc.endvi.bts.util.EndviToolbar0001Component.handleActionAll(EndviToolbar0001Component.java:381)
      1 frame
    12. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    13. EL
      MethodExpressionImpl.invoke
      1. com.sun.el.parser.AstValue.invoke(AstValue.java:187)
      2. com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:297)
      2 frames
    14. org.apache.myfaces
      MethodExpressionMethodBinding.invoke
      1. org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
      1 frame
    15. Apache MyFaces Trinidad API
      UIXCommand.broadcast
      1. org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1433)
      2. org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
      2 frames
    16. oracle.adf.view
      UIXInclude.broadcast
      1. oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:103)
      2. oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
      3. oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
      4. oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
      5. oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:97)
      6. oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
      7. oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
      8. oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
      9. oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:103)
      10. oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
      11. oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
      12. oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
      13. oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:97)
      13 frames
    17. JavaEE 7
      UIViewRoot.processApplication
      1. javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
      2. javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
      2 frames
    18. oracle.adfinternal.view
      LifecycleImpl.execute
      1. oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:971)
      2. oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:439)
      3. oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:219)
      3 frames
    19. JavaEE 7
      FacesServlet.service
      1. javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
      1 frame
    20. Atmosphere weblogic
      FilterChainImpl.doFilter
      1. weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
      2. weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
      3. weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
      4. weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
      5. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
      5 frames
    21. oracle.adf.model
      ADFBindingFilter.doFilter
      1. oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:211)
      1 frame
    22. Atmosphere weblogic
      FilterChainImpl.doFilter
      1. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
      1 frame
    23. oracle.adfinternal.view
      RegistrationFilter.doFilter
      1. oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:128)
      1 frame
    24. org.apache.myfaces
      TrinidadFilterImpl$FilterListChain.doFilter
      1. org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
      1 frame
    25. oracle.adfinternal.view
      AdsFilter.doFilter
      1. oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
      1 frame
    26. org.apache.myfaces
      TrinidadFilterImpl.doFilter
      1. org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
      2. org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
      3. org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
      3 frames
    27. Apache MyFaces Trinidad API
      TrinidadFilter.doFilter
      1. org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
      1 frame
    28. Atmosphere weblogic
      FilterChainImpl.doFilter
      1. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
      1 frame
    29. oracle.adf.library
      LibraryFilter.doFilter
      1. oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)
      1 frame
    30. Atmosphere weblogic
      FilterChainImpl.doFilter
      1. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
      1 frame
    31. weblogic.servlet.security
      WebGateRedirectFilter.doFilter
      1. weblogic.servlet.security.internal.WebGateRedirectFilter.doFilter(WebGateRedirectFilter.java:177)
      1 frame
    32. Atmosphere weblogic
      FilterChainImpl.doFilter
      1. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
      1 frame
    33. oracle.security.jps
      JpsAbsFilter$1.run
      1. oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
      1 frame
    34. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    35. oracle.security.jps
      JpsFilter.doFilter
      1. oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)
      2. oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
      3. oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
      4. oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
      5. oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
      5 frames
    36. Atmosphere weblogic
      FilterChainImpl.doFilter
      1. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
      1 frame
    37. oracle.security.wls
      SSOSessionSynchronizationFilter.doFilter
      1. oracle.security.wls.filter.SSOSessionSynchronizationFilter.doFilter(SSOSessionSynchronizationFilter.java:292)
      1 frame
    38. Atmosphere weblogic
      FilterChainImpl.doFilter
      1. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
      1 frame
    39. oracle.dms.servlet
      DMSServletFilter.doFilter
      1. oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163)
      1 frame
    40. Atmosphere weblogic
      WebAppServletContext$ServletInvocationAction.run
      1. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
      2. weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
      3. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
      4. weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3748)
      5. weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3714)
      5 frames
    41. weblogic.security.acl
      AuthenticatedSubject.doAs
      1. weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      1 frame
    42. weblogic.security.service
      SecurityManager.runAs
      1. weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
      1 frame
    43. Atmosphere weblogic
      ServletRequestImpl.run
      1. weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2283)
      2. weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2182)
      3. weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1491)
      3 frames
    44. weblogic.work
      ExecuteThread.run
      1. weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
      2. weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
      2 frames