Projects tigase _server server-core Issues #1356
StringIndexOutOfBoundsException when using default clustering strategy (#1356)
wojciech.kapcia@tigase.net opened 2 years ago

When using default clustering strategy there is an exception thrown:

[2023-05-05 11:44:22:385] [SEVERE  ] [                  main ] Kernel.unregister()              : Exception during unregistering
java.lang.StringIndexOutOfBoundsException: begin 0, end 1024, length 105
        at java.base/java.lang.String.checkBoundsBeginEnd(String.java:4602)
        at java.base/java.lang.String.substring(String.java:2705)
        at tigase.db.comp.AbstractSDComponentRepositoryBean.toString(AbstractSDComponentRepositoryBean.java:167)
        at java.base/java.text.MessageFormat.subformat(MessageFormat.java:1305)
        at java.base/java.text.MessageFormat.format(MessageFormat.java:886)
        at java.base/java.text.Format.format(Format.java:159)
        at java.base/java.text.MessageFormat.format(MessageFormat.java:861)
        at org.slf4j.bridge.SLF4JBridgeHandler.getMessageI18N(SLF4JBridgeHandler.java:265)
        at org.slf4j.bridge.SLF4JBridgeHandler.callLocationAwareLogger(SLF4JBridgeHandler.java:220)
        at org.slf4j.bridge.SLF4JBridgeHandler.publish(SLF4JBridgeHandler.java:303)
        at java.logging/java.util.logging.Logger.log(Logger.java:980)
        at java.logging/java.util.logging.Logger.doLog(Logger.java:1007)
        at java.logging/java.util.logging.Logger.log(Logger.java:1093)
        at tigase.kernel.core.Kernel.injectDependencies(Kernel.java:1247)
        at tigase.kernel.core.Kernel.unloadInjectedBean(Kernel.java:1436)
        at tigase.kernel.core.Kernel.unregister(Kernel.java:753)
        at tigase.kernel.core.RegistrarKernel.beforeUnregister(RegistrarKernel.java:37)
        at tigase.kernel.core.Kernel.fireUnregisterAware(Kernel.java:1142)
        at tigase.kernel.core.Kernel.unregisterInt(Kernel.java:947)
        at tigase.kernel.core.Kernel.unregister(Kernel.java:751)
        at tigase.kernel.core.RegistrarKernel.beforeUnregister(RegistrarKernel.java:37)
        at tigase.kernel.core.Kernel.fireUnregisterAware(Kernel.java:1142)
        at tigase.kernel.core.Kernel.unregisterInt(Kernel.java:947)
        at tigase.kernel.core.Kernel.unregister(Kernel.java:751)
        at tigase.kernel.core.RegistrarKernel.beforeUnregister(RegistrarKernel.java:37)
        at tigase.kernel.core.Kernel.fireUnregisterAware(Kernel.java:1142)
        at tigase.kernel.core.Kernel.unregisterInt(Kernel.java:947)
        at tigase.kernel.core.Kernel.unregister(Kernel.java:751)
        at tigase.kernel.core.Kernel.initBean(Kernel.java:148)
        at tigase.kernel.core.Kernel.injectDependencies(Kernel.java:1259)
        at tigase.kernel.core.Kernel.injectIfRequired(Kernel.java:1033)
        at tigase.kernel.core.Kernel.getInstance(Kernel.java:308)
        at tigase.server.Bootstrap.start(Bootstrap.java:327)
        at tigase.server.XMPPServer.start(XMPPServer.java:202)
        at tigase.server.XMPPServer.main(XMPPServer.java:155)
wojciech.kapcia@tigase.net batch edited 6 months ago
Name Previous Value Current Value
Iterations
empty
tigase-server-8.4.0
issue 1 of 1
Type
Bug
Priority
Normal
Assignee
Version
tigase-server-8.4.0
Iterations
Issue Votes (0)
Watchers (2)
Reference
tigase/_server/server-core#1356
Please wait...
Page is in error, reload to recover