Projects tigase _server tigase-mix Issues #40
UnsupportedOperationException on collection when modifying mix node (in cluster0 (#40)
wojciech.kapcia@tigase.net opened 1 month ago
[2024-10-08 14:49:21:666] [FINEST  ] [       pool-1-thread-4 ] EventBusImplementation.lambda$doFireThreadPerHandler$1(): Writing packet: from=null, to=null, serverAuthorisedStanzaFrom=Optional.empty, DATA=<cluster type="set" xmlns="tigase:cluster" pr="HIGH" from="mix@ip-172-31-0-99.us-west-2.compute.internal" to="mix@ip-172-31-38-91.us-west-2.compute.internal" id="cl-1337671"><control><visited-nodes><node-id>mix@ip-172-31-0-99.us-west-2.compute.internal</node-id></visited-nodes><method-call name="mix-nodes-changed-cmd"><par name="userId">335</par></method-call><first-node>mix@ip-172-31-0-99.us-west-2.compute.internal</first-node></control><data><root-node-added node="urn:xmpp:mix:nodes:allowed" service-jid="9ad73c9a-…-7b74cb4c2711@mix.tigase.im"/></data></cluster>, SIZE=582, XMLNS=tigase:cluster, PRIORITY=HIGH, PERMISSION=NONE, TYPE=set, STABLE_ID=null [jid: ip-172-31-38-91.us-west-2.compute.internal, XMPPIOService, UniqueId: 172.22.0.3_55822_172.31.38.91_5277, type: -> outgoing (connect), SocketIO, ID: null, connected Socket[addr=ip-172-31-38-91.us-west-2.compute.internal/172.31.38.91,port=5277,localport=55822]]
[2024-10-08 14:49:21:666] [WARNING ] [       pool-1-thread-4 ] EventBusImplementation.lambda$doFireThreadPerHandler$1(): Exception during execution of event: tigase.pubsub.modules.NodeCreateModule.NodeCreatedEvent
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
	at tigase.eventbus.impl.ReflectEventListenerHandler.dispatch(ReflectEventListenerHandler.java:55)
	at tigase.eventbus.impl.EventBusImplementation.lambda$doFireThreadPerHandler$1(EventBusImplementation.java:319)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.lang.reflect.InvocationTargetException
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.base/java.lang.reflect.Method.invoke(Unknown Source)
	at tigase.eventbus.impl.ReflectEventListenerHandler.dispatch(ReflectEventListenerHandler.java:53)
	... 4 more
Caused by: java.lang.UnsupportedOperationException
	at java.base/java.util.AbstractList.add(Unknown Source)
	at java.base/java.util.AbstractList.add(Unknown Source)
	at tigase.mix.model.MixRepository.lambda$nodeCreated$3(MixRepository.java:168)
	at tigase.mix.model.MixRepository.updateChannelConfig(MixRepository.java:203)
	at tigase.mix.model.MixRepository.nodeCreated(MixRepository.java:160)
	... 9 more
Andrzej Wójcik (Tigase) changed fields 1 month ago
Name Previous Value Current Value
Type
New Feature
Bug
Referenced from commit 1 month ago
Andrzej Wójcik (Tigase) changed state to 'In Progress' 1 month ago
Previous Value Current Value
Open
In Progress
Andrzej Wójcik (Tigase) changed state to 'In QA' 1 month ago
Previous Value Current Value
In Progress
In QA
Andrzej Wójcik (Tigase) commented 1 month ago

I've changed collection implementation to a collection that is modifiable.

Andrzej Wójcik (Tigase) changed fields 1 month ago
Name Previous Value Current Value
Assignee
andrzej.wojcik
wojtek
wojciech.kapcia@tigase.net changed state to 'Closed' 1 month ago
Previous Value Current Value
In QA
Closed
wojciech.kapcia@tigase.net added to iteration "tigase-server-8.5.0" 1 month ago
wojciech.kapcia@tigase.net removed from iteration "Candidate for next minor release" 1 month ago
issue 1 of 1
Type
Bug
Priority
Normal
Assignee
Version
none
Sprints
n/a
Customer
n/a
Iterations
Issue Votes (0)
Watchers (3)
Reference
tigase/_server/tigase-mix#40
Please wait...
Page is in error, reload to recover