java.lang.AbstractMethodError: java.lang.System$2.getRawClassAnnotations(Ljava/lang/Class;)[B

JDK Bug System | Shadow Bug | 7 months 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

    After updating java from version 6u65 to 6u113, the Weblogic Admin Server fails on startup. weblogic.security.SecurityInitializationException: The loading of OPSS java security policy provider failed due to exception, see the exception stack trace or the server log file for root cause. If still see no obvious cause, enable the debug flag -Djava.security.debug=jpspolicy to get more information. Error message: java.lang.System$2.getRawClassAnnotations(Ljava/lang/Class;)[B at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadOPSSPolicy(CommonSecurityServiceManagerDelegateImpl.java:1402) at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1022) at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:888) at weblogic.security.SecurityService.start(SecurityService.java:141) at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:263) at weblogic.work.ExecuteThread.run(ExecuteThread.java:221) Caused By: java.lang.AbstractMethodError: java.lang.System$2.getRawClassAnnotations(Ljava/lang/Class;)[B at sun.reflect.annotation.AnnotationType.<init>(AnnotationType.java:118) at sun.reflect.annotation.AnnotationType.getInstance(AnnotationType.java:65) at sun.reflect.annotation.AnnotationParser.parseAnnotation2(AnnotationParser.java:241) at sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:95) at sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:50) at java.lang.Class.initAnnotationsIfNecessary(Class.java:3184) at java.lang.Class.getAnnotation(Class.java:3132) at com.sun.xml.bind.v2.model.annotation.RuntimeInlineAnnotationReader.getClassAnnotation(RuntimeInlineAnnotationReader.java:106) at com.sun.xml.bind.v2.model.annotation.RuntimeInlineAnnotationReader.getClassAnnotation(RuntimeInlineAnnotationReader.java:57) at com.sun.xml.bind.v2.model.impl.ModelBuilder.getTypeInfo(ModelBuilder.java:329) at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:474) at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:310) at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:146) at com.sun.xml.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(JAXBContextImpl.java:1169) at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:147) at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:238) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:128) at javax.xml.bind.ContextFinder.find(ContextFinder.java:277) at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:372) at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:337) at oracle.security.jps.internal.keystore.config.FarmKeyStoreConfig.load(FarmKeyStoreConfig.java:48) at oracle.security.jps.internal.keystore.file.FileKeyStoreManager.openKeyStore(FileKeyStoreManager.java:352) at oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.doInit(FileKeyStoreServiceImpl.java:104) at oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.<init>(FileKeyStoreServiceImpl.java:76) at oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.<init>(FileKeyStoreServiceImpl.java:66) at oracle.security.jps.internal.keystore.KeyStoreProvider.getInstance(KeyStoreProvider.java:157) at oracle.security.jps.internal.keystore.KeyStoreProvider.getInstance(KeyStoreProvider.java:64) at oracle.security.jps.internal.core.runtime.ContextFactoryImpl.findServiceInstance(ContextFactoryImpl.java:139) at oracle.security.jps.internal.core.runtime.ContextFactoryImpl.getContext(ContextFactoryImpl.java:170) at oracle.security.jps.internal.core.runtime.ContextFactoryImpl.getContext(ContextFactoryImpl.java:191) at oracle.security.jps.internal.core.runtime.JpsContextFactoryImpl.getContext(JpsContextFactoryImpl.java:132) at oracle.security.jps.internal.core.runtime.JpsContextFactoryImpl.getContext(JpsContextFactoryImpl.java:127) at oracle.security.jps.internal.policystore.PolicyUtil$2.run(PolicyUtil.java:2827) at oracle.security.jps.internal.policystore.PolicyUtil$2.run(PolicyUtil.java:2821) at java.security.AccessController.doPrivileged(Native Method) at oracle.security.jps.internal.policystore.PolicyUtil.getDefaultPDPService(PolicyUtil.java:2821) at oracle.security.jps.internal.policystore.PolicyUtil.getPDPService(PolicyUtil.java:3097) at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:164) at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(JavaPolicyProvider.java:369) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at java.lang.Class.newInstance0(Class.java:361) at java.lang.Class.newInstance(Class.java:314) at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadOPSSPolicy(CommonSecurityServiceManagerDelegateImpl.java:1343) at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1022) at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:888) at weblogic.security.SecurityService.start(SecurityService.java:141) at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:263) at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

    JDK Bug System | 7 months ago | Shadow Bug
    java.lang.AbstractMethodError: java.lang.System$2.getRawClassAnnotations(Ljava/lang/Class;)[B

    Root Cause Analysis

    1. java.lang.AbstractMethodError

      java.lang.System$2.getRawClassAnnotations(Ljava/lang/Class;)[B

      at sun.reflect.annotation.AnnotationType.<init>()
    2. Java RT
      Class.getAnnotation
      1. sun.reflect.annotation.AnnotationType.<init>(AnnotationType.java:118)
      2. sun.reflect.annotation.AnnotationType.getInstance(AnnotationType.java:65)
      3. sun.reflect.annotation.AnnotationParser.parseAnnotation2(AnnotationParser.java:241)
      4. sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:95)
      5. sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:50)
      6. java.lang.Class.initAnnotationsIfNecessary(Class.java:3184)
      7. java.lang.Class.getAnnotation(Class.java:3132)
      7 frames
    3. Old JAXB Runtime
      ContextFactory.createContext
      1. com.sun.xml.bind.v2.model.annotation.RuntimeInlineAnnotationReader.getClassAnnotation(RuntimeInlineAnnotationReader.java:106)
      2. com.sun.xml.bind.v2.model.annotation.RuntimeInlineAnnotationReader.getClassAnnotation(RuntimeInlineAnnotationReader.java:57)
      3. com.sun.xml.bind.v2.model.impl.ModelBuilder.getTypeInfo(ModelBuilder.java:329)
      4. com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:474)
      5. com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:310)
      6. com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:146)
      7. com.sun.xml.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(JAXBContextImpl.java:1169)
      8. com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:147)
      9. com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:238)
      9 frames
    4. Java RT
      JAXBContext.newInstance
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      5. javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:128)
      6. javax.xml.bind.ContextFinder.find(ContextFinder.java:277)
      7. javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:372)
      8. javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:337)
      8 frames
    5. oracle.security.jps
      PolicyUtil$2.run
      1. oracle.security.jps.internal.keystore.config.FarmKeyStoreConfig.load(FarmKeyStoreConfig.java:48)
      2. oracle.security.jps.internal.keystore.file.FileKeyStoreManager.openKeyStore(FileKeyStoreManager.java:352)
      3. oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.doInit(FileKeyStoreServiceImpl.java:104)
      4. oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.<init>(FileKeyStoreServiceImpl.java:76)
      5. oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.<init>(FileKeyStoreServiceImpl.java:66)
      6. oracle.security.jps.internal.keystore.KeyStoreProvider.getInstance(KeyStoreProvider.java:157)
      7. oracle.security.jps.internal.keystore.KeyStoreProvider.getInstance(KeyStoreProvider.java:64)
      8. oracle.security.jps.internal.core.runtime.ContextFactoryImpl.findServiceInstance(ContextFactoryImpl.java:139)
      9. oracle.security.jps.internal.core.runtime.ContextFactoryImpl.getContext(ContextFactoryImpl.java:170)
      10. oracle.security.jps.internal.core.runtime.ContextFactoryImpl.getContext(ContextFactoryImpl.java:191)
      11. oracle.security.jps.internal.core.runtime.JpsContextFactoryImpl.getContext(JpsContextFactoryImpl.java:132)
      12. oracle.security.jps.internal.core.runtime.JpsContextFactoryImpl.getContext(JpsContextFactoryImpl.java:127)
      13. oracle.security.jps.internal.policystore.PolicyUtil$2.run(PolicyUtil.java:2827)
      14. oracle.security.jps.internal.policystore.PolicyUtil$2.run(PolicyUtil.java:2821)
      14 frames
    6. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    7. oracle.security.jps
      JavaPolicyProvider.<init>
      1. oracle.security.jps.internal.policystore.PolicyUtil.getDefaultPDPService(PolicyUtil.java:2821)
      2. oracle.security.jps.internal.policystore.PolicyUtil.getPDPService(PolicyUtil.java:3097)
      3. oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:164)
      4. oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(JavaPolicyProvider.java:369)
      4 frames
    8. Java RT
      Class.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      5. java.lang.Class.newInstance0(Class.java:361)
      6. java.lang.Class.newInstance(Class.java:314)
      6 frames
    9. weblogic.security.service
      SecurityServiceManager.initialize
      1. weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadOPSSPolicy(CommonSecurityServiceManagerDelegateImpl.java:1343)
      2. weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1022)
      3. weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:888)
      3 frames
    10. weblogic.security
      SecurityService.start
      1. weblogic.security.SecurityService.start(SecurityService.java:141)
      1 frame
    11. weblogic.t3.srvr
      SubsystemRequest.run
      1. weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
      1 frame
    12. weblogic.work
      ExecuteThread.run
      1. weblogic.work.ExecuteThread.execute(ExecuteThread.java:263)
      2. weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
      2 frames