Rico Neubauer created ARTEMIS-2791: -------------------------------------- Summary: ArrayIndexOutOfBoundsException in SSLContextFactoryProvider Key: ARTEMIS-2791 URL: https://issues.apache.org/jira/browse/ARTEMIS-2791 Project: ActiveMQ Artemis Issue Type: Bug Affects Versions: 2.13.0 Environment: Artemis 2.13.0 running in Karaf 4.2.8 Reporter: Rico Neubauer
Hi, updated from 2.12.0 to 2.13.0 and new class {{org.apache.activemq.artemis.spi.core.remoting.ssl.SSLContextFactoryProvider}} produces an {{ArrayIndexOutOfBoundsException}} on shutdown: {noformat} ERROR org.apache.activemq.artemis.core.server FelixStartLevel [org.apache.activemq.artemis-server-osgi:2.13.0.SEE1] AMQ224068: Unable to stop component: org.apache.activemq.artemis.core.remoting.server.impl.RemotingServiceImplERROR org.apache.activemq.artemis.core.server FelixStartLevel [org.apache.activemq.artemis-server-osgi:2.13.0.SEE1] AMQ224068: Unable to stop component: org.apache.activemq.artemis.core.remoting.server.impl.RemotingServiceImpljava.lang.ExceptionInInitializerError: null at org.apache.activemq.artemis.core.remoting.server.impl.RemotingServiceImpl.stop(RemotingServiceImpl.java:384) ~[?:?] at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.stop(ActiveMQServerImpl.java:1153) ~[?:?] at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.stop(ActiveMQServerImpl.java:1031) ~[?:?] at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.stop(ActiveMQServerImpl.java:876) ~[?:?] at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.stop(ActiveMQServerImpl.java:870) ~[?:?] at org.apache.activemq.artemis.osgi.OsgiBroker$ServerTrackerCallBackImpl.stop(OsgiBroker.java:242) ~[?:?] at org.apache.activemq.artemis.osgi.ProtocolTracker.protocolRemoved(ProtocolTracker.java:122) ~[?:?] at org.apache.activemq.artemis.osgi.ProtocolTracker.removedService(ProtocolTracker.java:94) ~[?:?] at org.apache.activemq.artemis.osgi.ProtocolTracker.removedService(ProtocolTracker.java:38) ~[?:?] at org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:967) ~[osgi.core-6.0.0.jar:?] at org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:870) ~[osgi.core-6.0.0.jar:?] at org.osgi.util.tracker.AbstractTracked.untrack(AbstractTracked.java:341) ~[osgi.core-6.0.0.jar:?] at org.osgi.util.tracker.ServiceTracker.close(ServiceTracker.java:377) ~[osgi.core-6.0.0.jar:?] at org.apache.activemq.artemis.osgi.OsgiBroker.stop(OsgiBroker.java:147) ~[?:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_242] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_242] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_242] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_242] at org.apache.felix.scr.impl.inject.methods.BaseMethod.invokeMethod(BaseMethod.java:228) ~[?:?] at org.apache.felix.scr.impl.inject.methods.BaseMethod.access$500(BaseMethod.java:41) ~[?:?] at org.apache.felix.scr.impl.inject.methods.BaseMethod$Resolved.invoke(BaseMethod.java:664) ~[?:?] at org.apache.felix.scr.impl.inject.methods.BaseMethod.invoke(BaseMethod.java:510) ~[?:?] at org.apache.felix.scr.impl.inject.methods.ActivateMethod.invoke(ActivateMethod.java:317) ~[?:?] at org.apache.felix.scr.impl.inject.methods.ActivateMethod.invoke(ActivateMethod.java:307) ~[?:?] at org.apache.felix.scr.impl.manager.SingleComponentManager.disposeImplementationObject(SingleComponentManager.java:407) ~[?:?] at org.apache.felix.scr.impl.manager.SingleComponentManager.deleteComponent(SingleComponentManager.java:163) ~[?:?] at org.apache.felix.scr.impl.manager.AbstractComponentManager.doDeactivate(AbstractComponentManager.java:831) ~[?:?] at org.apache.felix.scr.impl.manager.AbstractComponentManager.deactivateInternal(AbstractComponentManager.java:805) ~[?:?] at org.apache.felix.scr.impl.manager.AbstractComponentManager.dispose(AbstractComponentManager.java:584) ~[?:?] at org.apache.felix.scr.impl.manager.ConfigurableComponentHolder.disposeComponents(ConfigurableComponentHolder.java:716) ~[?:?] at org.apache.felix.scr.impl.BundleComponentActivator.dispose(BundleComponentActivator.java:510) ~[?:?] at org.apache.felix.scr.impl.Activator.disposeComponents(Activator.java:429) ~[?:?] at org.apache.felix.scr.impl.Activator.access$300(Activator.java:49) ~[?:?] at org.apache.felix.scr.impl.Activator$ScrExtension.destroy(Activator.java:292) ~[?:?] at org.apache.felix.scr.impl.AbstractExtender$1.run(AbstractExtender.java:216) ~[?:?] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_242] at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_242] at org.apache.felix.scr.impl.AbstractExtender.destroyExtension(AbstractExtender.java:238) ~[?:?] at org.apache.felix.scr.impl.AbstractExtender.bundleChanged(AbstractExtender.java:132) ~[?:?] at org.apache.felix.framework.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:915) ~[?:?] at org.apache.felix.framework.EventDispatcher.fireEventImmediately(EventDispatcher.java:834) ~[?:?] at org.apache.felix.framework.EventDispatcher.fireBundleEvent(EventDispatcher.java:516) ~[?:?] at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4583) ~[?:?] at org.apache.felix.framework.Felix.stopBundle(Felix.java:2628) ~[?:?] at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1393) ~[?:?] at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308) ~[?:?] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_242]Caused by: java.lang.ArrayIndexOutOfBoundsException: -1 at java.util.ArrayList.elementData(ArrayList.java:422) ~[?:1.8.0_242] at java.util.ArrayList.get(ArrayList.java:435) ~[?:1.8.0_242] at org.apache.activemq.artemis.spi.core.remoting.ssl.SSLContextFactoryProvider.<clinit>(SSLContextFactoryProvider.java:34) ~[?:?] ... 47 more{noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)