java.lang.ExceptionInInitializerError

Stack Overflow | Emman Sun | 6 months 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.

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at org.wso2.carbon.apimgt.gateway.throttling.publisher.ThrottleDataPublisherPool.<init>()
  2. org.wso2.carbon
    ThrottleHandler.<init>
    1. org.wso2.carbon.apimgt.gateway.throttling.publisher.ThrottleDataPublisherPool.<init>(ThrottleDataPublisherPool.java:50)
    2. org.wso2.carbon.apimgt.gateway.throttling.publisher.ThrottleDataPublisherPool.<init>(ThrottleDataPublisherPool.java:34)
    3. org.wso2.carbon.apimgt.gateway.throttling.publisher.ThrottleDataPublisherPool$ThrottleDataPublisherPoolHolder.<clinit>(ThrottleDataPublisherPool.java:62)
    4. org.wso2.carbon.apimgt.gateway.throttling.publisher.ThrottleDataPublisherPool.getInstance(ThrottleDataPublisherPool.java:68)
    5. org.wso2.carbon.apimgt.gateway.throttling.publisher.ThrottleDataPublisher.<init>(ThrottleDataPublisher.java:67)
    6. org.wso2.carbon.apimgt.gateway.handlers.throttling.ThrottleHandler.<init>(ThrottleHandler.java:131)
    6 frames
  3. Java RT
    Class.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    5. java.lang.Class.newInstance(Class.java:442)
    5 frames
  4. Apache Synapse - Core
    Axis2SynapseController.createSynapseConfiguration
    1. org.apache.synapse.config.xml.rest.APIFactory.defineHandler(APIFactory.java:162)
    2. org.apache.synapse.config.xml.rest.APIFactory.createAPI(APIFactory.java:103)
    3. org.apache.synapse.config.xml.SynapseXMLConfigurationFactory.defineAPI(SynapseXMLConfigurationFactory.java:405)
    4. org.apache.synapse.config.xml.MultiXMLConfigurationBuilder.createAPIs(MultiXMLConfigurationBuilder.java:581)
    5. org.apache.synapse.config.xml.MultiXMLConfigurationBuilder.getConfiguration(MultiXMLConfigurationBuilder.java:153)
    6. org.apache.synapse.config.SynapseConfigurationBuilder.getConfiguration(SynapseConfigurationBuilder.java:100)
    7. org.apache.synapse.Axis2SynapseController.createSynapseConfiguration(Axis2SynapseController.java:471)
    7 frames
  5. org.wso2.carbon
    CarbonSynapseController.createSynapseConfiguration
    1. org.wso2.carbon.mediation.initializer.CarbonSynapseController.createSynapseConfiguration(CarbonSynapseController.java:180)
    1 frame
  6. Apache Synapse - Core
    ServerManager.start
    1. org.apache.synapse.ServerManager.start(ServerManager.java:179)
    1 frame
  7. org.wso2.carbon
    ServiceBusInitializer.activate
    1. org.wso2.carbon.mediation.initializer.ServiceBusInitializer.initESB(ServiceBusInitializer.java:452)
    2. org.wso2.carbon.mediation.initializer.ServiceBusInitializer.activate(ServiceBusInitializer.java:196)
    2 frames
  8. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  9. org.eclipse.equinox
    SCRManager.serviceChanged
    1. org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
    2. org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
    3. org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:345)
    4. org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
    5. org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
    6. org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
    7. org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
    7 frames
  10. Eclipse OSGi
    FilteredServiceListener.serviceChanged
    1. org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
    1 frame
  11. Eclipse OSGi
    BundleContextImpl.dispatchEvent
    1. org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
    1 frame
  12. Eclipse OSGi
    ServiceRegistry.registerService
    1. org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
    2. org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
    3. org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
    4. org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
    5. org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
    6. org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
    6 frames
  13. Eclipse OSGi
    BundleContextImpl.registerService
    1. org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
    2. org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451)
    2 frames
  14. org.wso2.carbon
    InboundEndpointPersistenceServiceDSComponent.activate
    1. org.wso2.carbon.inbound.endpoint.persistence.service.InboundEndpointPersistenceServiceDSComponent.activate(InboundEndpointPersistenceServiceDSComponent.java:49)
    1 frame
  15. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  16. org.eclipse.equinox
    SCRManager.serviceChanged
    1. org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
    2. org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
    3. org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:345)
    4. org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
    5. org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
    6. org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
    7. org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
    7 frames
  17. Eclipse OSGi
    FilteredServiceListener.serviceChanged
    1. org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
    1 frame
  18. Eclipse OSGi
    BundleContextImpl.dispatchEvent
    1. org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
    1 frame
  19. Eclipse OSGi
    ServiceRegistry.registerService
    1. org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
    2. org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
    3. org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
    4. org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
    5. org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
    6. org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
    6 frames
  20. Eclipse OSGi
    BundleContextImpl.registerService
    1. org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
    2. org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451)
    2 frames
  21. org.wso2.carbon
    CarbonCoreServiceComponent.activate
    1. org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:514)
    2. org.wso2.carbon.core.init.CarbonServerManager.start(CarbonServerManager.java:219)
    3. org.wso2.carbon.core.internal.CarbonCoreServiceComponent.activate(CarbonCoreServiceComponent.java:94)
    3 frames
  22. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  23. org.eclipse.equinox
    SCRManager.serviceChanged
    1. org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
    2. org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
    3. org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:345)
    4. org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
    5. org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
    6. org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
    7. org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
    7 frames
  24. Eclipse OSGi
    FilteredServiceListener.serviceChanged
    1. org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
    1 frame
  25. Eclipse OSGi
    BundleContextImpl.dispatchEvent
    1. org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
    1 frame
  26. Eclipse OSGi
    ServiceRegistry.registerService
    1. org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
    2. org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
    3. org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
    4. org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
    5. org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
    6. org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
    6 frames
  27. Eclipse OSGi
    BundleContextImpl.registerService
    1. org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
    1 frame
  28. org.eclipse.equinox
    ProxyServlet.init
    1. org.eclipse.equinox.http.servlet.internal.Activator.registerHttpService(Activator.java:81)
    2. org.eclipse.equinox.http.servlet.internal.Activator.addProxyServlet(Activator.java:60)
    3. org.eclipse.equinox.http.servlet.internal.ProxyServlet.init(ProxyServlet.java:40)
    3 frames
  29. org.wso2.carbon
    DelegationServlet.init
    1. org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.init(DelegationServlet.java:38)
    1 frame
  30. Glassfish Core
    ContainerBase$StartChild.call
    1. org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1282)
    2. org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1195)
    3. org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1085)
    4. org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5318)
    5. org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5610)
    6. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
    7. org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1572)
    8. org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1562)
    8 frames
  31. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:266)
    2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    4. java.lang.Thread.run(Thread.java:745)
    4 frames