Projects tigase _server server-core Issues #998
BruteForceLocker exception (#998)
wojciech.kapcia@tigase.net opened 6 years ago
Due Date
2019-02-26

In the exceptions on tigase.im I found following:

2019-02-20 22:19:44.863 [in_0-eventbus]    StanzaProcessor.processPacket()         SEVERE:   6 when processing from=eventbus@ip-10-0-28-113.us-west-2.compute.internal, to=eventbus@ip-10-0-19-124.us-west-2.compute.internal, DATA=<message to="eventbus@ip-10-0-19-124.us-west-2.compute.internal" from="eventbus@ip-10-0-28-113.us-west-2.compute.internal" id="ip-10-0-28-113.us-west-2.compute.internal-1288" xmlns="jabber:client"><event xmlns="http://jabber.org/protocol/pubsub#event"><items node="tigase.auth.StatisticsEmitEvent"><item><tigase.auth.BruteForceLockerBean$StatisticsEmitEvent><nodeName>CData size: 41</nodeName><statHolder>CData size: 40</statHolder></tigase.auth.BruteForceLockerBean$StatisticsEmitEvent></item></items></event></message>, SIZE=573, XMLNS=jabber:client, PRIORITY=NORMAL, PERMISSION=ADMIN, TYPE=null
java.lang.ArrayIndexOutOfBoundsException: 6
        at tigase.auth.BruteForceLockerBean$StatHolder.read(BruteForceLockerBean.java:509)
        at tigase.auth.BruteForceLockerBean$StatHolder.fillFromString(BruteForceLockerBean.java:502)
        at tigase.kernel.DefaultTypesConverter.convert(DefaultTypesConverter.java:228)
        at tigase.eventbus.impl.EventBusSerializer.deserialize(EventBusSerializer.java:69)
        at tigase.eventbus.component.EventReceiverModule.fireEventLocally(EventReceiverModule.java:127)
        at tigase.eventbus.component.EventReceiverModule.process(EventReceiverModule.java:108)
        at tigase.component.modules.StanzaProcessor.process(StanzaProcessor.java:164)
        at tigase.component.modules.StanzaProcessor.processPacket(StanzaProcessor.java:85)
        at tigase.component.AbstractKernelBasedComponent.processPacket(AbstractKernelBasedComponent.java:81)
        at tigase.eventbus.component.EventBusComponent.processPacket(EventBusComponent.java:93)
        at tigase.server.AbstractMessageReceiver$QueueListener.run(AbstractMessageReceiver.java:1364)
2019-02-20 22:20:10.905 [pool-1-thread-2]  EventBusImplementation.lambda$doFireThreadPerHandler$1()  WARNING: Exception during execution of event: tigase.map.ClusterMapFactory.ElementAddEvent
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
        at tigase.eventbus.impl.ReflectEventListenerHandler.dispatch(ReflectEventListenerHandler.java:48)
        at tigase.eventbus.impl.EventBusImplementation.lambda$doFireThreadPerHandler$1(EventBusImplementation.java:299)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at tigase.eventbus.impl.ReflectEventListenerHandler.dispatch(ReflectEventListenerHandler.java:46)
        at tigase.eventbus.impl.EventBusImplementation.lambda$doFireThreadPerHandler$1(EventBusImplementation.java:299)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.RuntimeException: Unsupported conversion (parcel) to class tigase.auth.BruteForceLockerBean$Value
        at tigase.kernel.DefaultTypesConverter.convert(DefaultTypesConverter.java:231)
        at tigase.kernel.DefaultTypesConverter.convert(DefaultTypesConverter.java:77)
        at tigase.map.ClusterMapFactory.onMapElementAdd(ClusterMapFactory.java:171)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at tigase.eventbus.impl.ReflectEventListenerHandler.dispatch(ReflectEventListenerHandler.java:46)
        at tigase.eventbus.impl.EventBusImplementation.lambda$doFireThreadPerHandler$1(EventBusImplementation.java:299)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.InstantiationException: tigase.auth.BruteForceLockerBean$Value
        at java.lang.Class.newInstance(Class.java:427)
        at tigase.kernel.DefaultTypesConverter.convert(DefaultTypesConverter.java:226)
        at tigase.kernel.DefaultTypesConverter.convert(DefaultTypesConverter.java:77)
        at tigase.map.ClusterMapFactory.onMapElementAdd(ClusterMapFactory.java:171)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at tigase.eventbus.impl.ReflectEventListenerHandler.dispatch(ReflectEventListenerHandler.java:46)
        at tigase.eventbus.impl.EventBusImplementation.lambda$doFireThreadPerHandler$1(EventBusImplementation.java:299)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NoSuchMethodException: tigase.auth.BruteForceLockerBean$Value.<init>()
        at java.lang.Class.getConstructor0(Class.java:3082)
        at java.lang.Class.newInstance(Class.java:412)
        at tigase.kernel.DefaultTypesConverter.convert(DefaultTypesConverter.java:226)
        at tigase.kernel.DefaultTypesConverter.convert(DefaultTypesConverter.java:77)
        at tigase.map.ClusterMapFactory.onMapElementAdd(ClusterMapFactory.java:171)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at tigase.eventbus.impl.ReflectEventListenerHandler.dispatch(ReflectEventListenerHandler.java:46)
        at tigase.eventbus.impl.EventBusImplementation.lambda$doFireThreadPerHandler$1(EventBusImplementation.java:299)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
wojciech.kapcia@tigase.net commented 6 years ago

In componentInfo{Title=Tigase XMPP Server, Version=8.0.0-SNAPSHOT-b5336/1ad60764, Class=tigase.server.XMPPServer}:

2019-02-21 21:12:01.966 [pool-1-thread-4]  EventBusImplementation.lambda$doFireThreadPerHandler$1()  WARNING: Exception during execution of event: tigase.map.ClusterMapFactory.ElementAddEvent
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
        at tigase.eventbus.impl.ReflectEventListenerHandler.dispatch(ReflectEventListenerHandler.java:48)
        at tigase.eventbus.impl.EventBusImplementation.lambda$doFireThreadPerHandler$1(EventBusImplementation.java:299)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at tigase.eventbus.impl.ReflectEventListenerHandler.dispatch(ReflectEventListenerHandler.java:46)
        at tigase.eventbus.impl.EventBusImplementation.lambda$doFireThreadPerHandler$1(EventBusImplementation.java:299)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.RuntimeException: Unsupported conversion (parcel) to class tigase.auth.BruteForceLockerBean$Value
        at tigase.kernel.DefaultTypesConverter.convert(DefaultTypesConverter.java:231)
        at tigase.kernel.DefaultTypesConverter.convert(DefaultTypesConverter.java:77)
        at tigase.map.ClusterMapFactory.onMapElementAdd(ClusterMapFactory.java:171)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at tigase.eventbus.impl.ReflectEventListenerHandler.dispatch(ReflectEventListenerHandler.java:46)
        at tigase.eventbus.impl.EventBusImplementation.lambda$doFireThreadPerHandler$1(EventBusImplementation.java:299)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.InstantiationException: tigase.auth.BruteForceLockerBean$Value
        at java.lang.Class.newInstance(Class.java:427)
        at tigase.kernel.DefaultTypesConverter.convert(DefaultTypesConverter.java:226)
        at tigase.kernel.DefaultTypesConverter.convert(DefaultTypesConverter.java:77)
        at tigase.map.ClusterMapFactory.onMapElementAdd(ClusterMapFactory.java:171)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at tigase.eventbus.impl.ReflectEventListenerHandler.dispatch(ReflectEventListenerHandler.java:46)
        at tigase.eventbus.impl.EventBusImplementation.lambda$doFireThreadPerHandler$1(EventBusImplementation.java:299)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NoSuchMethodException: tigase.auth.BruteForceLockerBean$Value.<init>()
        at java.lang.Class.getConstructor0(Class.java:3082)
        at java.lang.Class.newInstance(Class.java:412)
        at tigase.kernel.DefaultTypesConverter.convert(DefaultTypesConverter.java:226)
        at tigase.kernel.DefaultTypesConverter.convert(DefaultTypesConverter.java:77)
        at tigase.map.ClusterMapFactory.onMapElementAdd(ClusterMapFactory.java:171)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at tigase.eventbus.impl.ReflectEventListenerHandler.dispatch(ReflectEventListenerHandler.java:46)
        at tigase.eventbus.impl.EventBusImplementation.lambda$doFireThreadPerHandler$1(EventBusImplementation.java:299)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
issue 1 of 1
Type
Bug
Priority
Critical
Assignee
RedmineID
8637
Version
tigase-server-8.0.0
Spent time
17h
Issue Votes (0)
Watchers (0)
Reference
tigase/_server/server-core#998
Please wait...
Page is in error, reload to recover