Jabber error when trying to send test message (YouTrack Server 2022.3)
I'm getting these error messages in the youtrack-stderr.log file when I try to send test message. Is this something wrong on my end or is this broken on this version of YouTrack?
[2022-12-15 15:55:01,838] [YouTrack Error] Exception in thread "notificationsTaskExecutor-8" java.lang.NoClassDefFoundError: Could not initialize class org.jivesoftware.smack.tcp.XMPPTCPConnectionConfiguration
[2022-12-15 15:55:01,838] [YouTrack Error] at jetbrains.youtrack.notifications.jabber.YoutrackJabberServiceImpl.createConfigBuilder(YoutrackJabberServiceImpl.kt:239)
[2022-12-15 15:55:01,838] [YouTrack Error] at jetbrains.youtrack.notifications.jabber.YoutrackJabberServiceImpl.tryConnection(YoutrackJabberServiceImpl.kt:232)
[2022-12-15 15:55:01,838] [YouTrack Error] at jetbrains.youtrack.notifications.jabber.YoutrackJabberServiceImpl.tryToCreateConnection(YoutrackJabberServiceImpl.kt:131)
[2022-12-15 15:55:01,838] [YouTrack Error] at jetbrains.youtrack.notifications.jabber.YoutrackJabberServiceImpl.getConnection(YoutrackJabberServiceImpl.kt:116)
[2022-12-15 15:55:01,838] [YouTrack Error] at jetbrains.youtrack.notifications.jabber.YoutrackJabberServiceImpl.access$getConnection(YoutrackJabberServiceImpl.kt:43)
[2022-12-15 15:55:01,838] [YouTrack Error] at jetbrains.youtrack.notifications.jabber.YoutrackJabberServiceImpl$send$1$1.invoke(YoutrackJabberServiceImpl.kt:335)
[2022-12-15 15:55:01,838] [YouTrack Error] at jetbrains.youtrack.notifications.jabber.YoutrackJabberServiceImpl$send$1$1.invoke(YoutrackJabberServiceImpl.kt:333)
[2022-12-15 15:55:01,838] [YouTrack Error] at jetbrains.youtrack.api.webr.LocalScopeKt.inLocalScope(LocalScope.kt:31)
[2022-12-15 15:55:01,838] [YouTrack Error] at jetbrains.youtrack.notifications.jabber.YoutrackJabberServiceImpl.send$lambda-18(YoutrackJabberServiceImpl.kt:333)
[2022-12-15 15:55:01,838] [YouTrack Error] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
[2022-12-15 15:55:01,838] [YouTrack Error] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
[2022-12-15 15:55:01,838] [YouTrack Error] at java.base/java.lang.Thread.run(Thread.java:829)
Please sign in to leave a comment.
Could you tell me your Java version? Please also check the logs for the first occurrence of the `XMPPTCPConnectionConfiguration` and send it to me.
It's the same error but I noticed more related lines before it in the log:
It's the Java version that comes with the .msi installer (11.0.16.1) in the "C:\YouTrack\internal\java" directory.
This is the contents of the "C:\YouTrack\internal\java\windows-amd64\release" file:
Thank you for the clarifications!
There was indeed a bug in the latest YouTrack version. It is already fixed, and will be included in the next bugfix release.