After the issue #1 problem, I tried to restart the app.
The application window does not show at all. However, in the console there is a long exception attached below:
Debug: (MVIKotlin) RosterStore: creating
Debug: (MVIKotlin) RosterStore: initializing
Debug: (MVIKotlin) RosterStore (ACTION, Unit): kotlin.Unit
Debug: (ChatsService) Sending 0 messages
Info: (ConnectionService) Create Halcyon for kobit@tigase.org account.
Debug: (RosterPresenceService) Roster data loaded and sent to subject
Info: (ConnectionService) Added Halcyon kobit@tigase.org
Debug: (t.h.c.SessionObject) Clearing [Stream, Connection, Session]
Debug: (t.h.c.m.ClearableValue) Restoring initial value. Scope=Stream; value=null
Debug: (t.h.c.m.ClearableValue) Restoring initial value. Scope=Session; value=tigase.halcyon.core.xmpp.modules.sm.StreamManagementModule$ResumptionContext@3bf564ad
Debug: (t.h.c.m.ClearableValue) Restoring initial value. Scope=Connection; value=SASLContext(mechanism=null, state=Unknown, complete=false)
Debug: (t.h.c.m.ClearableValue) Restoring initial value. Scope=Session; value=null
Debug: (MVIKotlin) SideMenuStore (RESULT, OpenChatsLoaded): OpenChatsLoaded(items=[])
Debug: (t.h.c.m.ClearableValue) Restoring initial value. Scope=Session; value=null
Debug: (MVIKotlin) SideMenuStore (STATE, Model): Model(selected=GeneralMenuItem(action=Roster, icon=roster.png, name=Roster), generalMenuItems=[GeneralMenuItem(action=Roster, icon=roster.png, name=Roster), GeneralMenuItem(action=ChannelBrowser, icon=channel_browser.png, name=Channel browser), GeneralMenu
Debug: (MVIKotlin) SideMenuStore (RESULT, OpenChatsLoaded): OpenChatsLoaded(items=[OpenChatUnreadsItem(openChatId=1, account=kobit@tigase.org, jid=punkmanw@chatwith.xyz, name=punkmanw@chatwith.xyz, unread=1), OpenChatUnreadsItem(openChatId=2, account=kobit@tigase.org, jid=rawingdocm@sj.ms, name=rawingdocm@sj.ms, un
Debug: (MVIKotlin) SideMenuStore (STATE, Model): Model(selected=GeneralMenuItem(action=Roster, icon=roster.png, name=Roster), generalMenuItems=[GeneralMenuItem(action=Roster, icon=roster.png, name=Roster), GeneralMenuItem(action=ChannelBrowser, icon=channel_browser.png, name=Channel browser), GeneralMenu
Debug: (MVIKotlin) RosterStore (RESULT, RosterLoaded): RosterLoaded(items=[])
Debug: (MVIKotlin) RosterStore (STATE, Model): Model(selected=null, items=[])
Debug: (MVIKotlin) RosterStore (RESULT, RosterLoaded): RosterLoaded(items=[RosterPresenceItem(account=kobit@tigase.org, jid=stpeter@jabber.org, name=stpeter, status=Offline), RosterPresenceItem(account=kobit@tigase.org, jid=arturs@mix.tigase.org, name=arturs, status=Offline), RosterPresenceItem(account=kobit@t
Debug: (MVIKotlin) RosterStore (STATE, Model): Model(selected=null, items=[RosterPresenceItem(account=kobit@tigase.org, jid=stpeter@jabber.org, name=stpeter, status=Offline), RosterPresenceItem(account=kobit@tigase.org, jid=arturs@mix.tigase.org, name=arturs, status=Offline), RosterPresenceItem(account
Info: (t.h.c.AbstractHalcyon) Connecting
Debug: (t.h.c.AbstractHalcyon) Starting connector
Info: (t.h.c.c.s.SocketSessionController) Started session controller
Oct 13, 2021 12:22:40 PM org.minidns.DnsClient query
WARNING: Response from /127.0.0.53 asked for _xmpp-client._tcp.tigase.org. IN SRV with error code: NO_IMP.
DnsMessage(5819 QUERY NO_IMP resp[qr=1] rd ra)
[Q: _xmpp-client._tcp.tigase.org. IN SRV]
[X: EDNS: version: 0, flags: do; udp: 65494]
Debug: (t.h.c.c.s.SocketConnector) Opening socket connection to xmpp.tigase.tech/35.164.77.155
Debug: (t.h.c.c.s.SocketWorker) Socket Worker Started
Debug: (t.h.c.c.s.SocketConnector) Received element <error xmlns="http://etherx.jabber.org/streams"><see-other-host xmlns="urn:ietf:params:xml:ns:xmpp-streams">...</see-other-host></error>
Debug: (t.h.c.AbstractHalcyon) Stopping connector (with action after disconnect)
Info: (t.h.c.c.s.SocketSessionController) Stopped session controller
Debug: (t.h.c.c.s.SocketConnector) Stopping...
Warn: (t.h.c.c.s.SocketWorker) Unexpected stop!
tigase.halcyon.core.connector.ConnectorException: Unexpected stop!
at tigase.halcyon.core.connector.socket.SocketWorker.run(SocketWorker.kt:79)
Debug: (t.h.c.c.s.SocketWorker) Socket Worker Stopped
Exception in thread "AWT-EventQueue-0" java.lang.StringIndexOutOfBoundsException: String index out of range: 0
at java.base/java.lang.StringLatin1.charAt(StringLatin1.java:47)
at java.base/java.lang.String.charAt(String.java:693)
at org.tigase.officialtea.common.ui.RosterUIKt.group(RosterUI.kt:33)
at org.tigase.officialtea.common.ui.RosterUIKt$RosterContent$1$1$1.invoke(RosterUI.kt:76)
at org.tigase.officialtea.common.ui.RosterUIKt$RosterContent$1$1$1.invoke(RosterUI.kt:74)
at androidx.compose.foundation.lazy.LazyListKt$rememberStateOfItemsProvider$1$1.invoke(LazyList.kt:148)
at androidx.compose.foundation.lazy.LazyListKt$rememberStateOfItemsProvider$1$1.invoke(LazyList.kt:148)
at androidx.compose.runtime.snapshots.Snapshot$Companion.observe(Snapshot.kt:1780)
at androidx.compose.runtime.DerivedSnapshotState.currentRecord(SnapshotState.kt:440)
at androidx.compose.runtime.DerivedSnapshotState.getDependencies(SnapshotState.kt:488)
at androidx.compose.runtime.CompositionImpl.recordReadOf(Composition.kt:587)
at androidx.compose.runtime.Recomposer$readObserverOf$1.invoke(Recomposer.kt:770)
at androidx.compose.runtime.Recomposer$readObserverOf$1.invoke(Recomposer.kt:770)
at androidx.compose.runtime.DerivedSnapshotState.getValue(SnapshotState.kt:476)
at androidx.compose.foundation.lazy.LazyListKt.LazyList(LazyList.kt:100)
at androidx.compose.foundation.lazy.LazyDslKt.LazyColumn(LazyDsl.kt:250)
at org.tigase.officialtea.common.ui.RosterUIKt.RosterContent(RosterUI.kt:74)
at org.tigase.officialtea.common.ui.ComposableSingletons$AppRootUiKt$lambda-3$1.invoke(AppRootUi.kt:58)
at org.tigase.officialtea.common.ui.ComposableSingletons$AppRootUiKt$lambda-3$1.invoke(AppRootUi.kt:55)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:116)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:34)
at com.arkivanov.decompose.extensions.compose.jetbrains.ChildrenKt$Children$1$1.invoke(Children.kt:28)
at com.arkivanov.decompose.extensions.compose.jetbrains.ChildrenKt$Children$1$1.invoke(Children.kt:27)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:107)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:34)
at androidx.compose.runtime.CompositionLocalKt.CompositionLocalProvider(CompositionLocal.kt:215)
at androidx.compose.runtime.saveable.SaveableStateHolderImpl.SaveableStateProvider(SaveableStateHolder.kt:84)
at com.arkivanov.decompose.extensions.compose.jetbrains.ChildrenKt$Children$1.invoke(Children.kt:27)
at com.arkivanov.decompose.extensions.compose.jetbrains.ChildrenKt$Children$1.invoke(Children.kt:26)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:116)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:34)
at com.arkivanov.decompose.extensions.compose.jetbrains.ComposableSingletons$ChildrenKt$lambda-2$1.invoke(Children.kt:36)
at com.arkivanov.decompose.extensions.compose.jetbrains.ComposableSingletons$ChildrenKt$lambda-2$1.invoke(Children.kt:36)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:135)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:34)
at com.arkivanov.decompose.extensions.compose.jetbrains.ChildrenKt.Children(Children.kt:26)
at com.arkivanov.decompose.extensions.compose.jetbrains.ChildrenKt.Children(Children.kt:41)
at org.tigase.officialtea.common.ui.AppRootUiKt.AppRootContent(AppRootUi.kt:55)
at org.tigase.officialtea.desktop.ComposableSingletons$MainKt$lambda-1$1$4$1$1$1.invoke(Main.kt:90)
at org.tigase.officialtea.desktop.ComposableSingletons$MainKt$lambda-1$1$4$1$1$1.invoke(Main.kt:89)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:107)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:34)
at androidx.compose.runtime.CompositionLocalKt.CompositionLocalProvider(CompositionLocal.kt:215)
at org.tigase.officialtea.desktop.ComposableSingletons$MainKt$lambda-1$1$4$1$1.invoke(Main.kt:80)
at org.tigase.officialtea.desktop.ComposableSingletons$MainKt$lambda-1$1$4$1$1.invoke(Main.kt:79)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:107)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:34)
at androidx.compose.runtime.CompositionLocalKt.CompositionLocalProvider(CompositionLocal.kt:215)
at androidx.compose.material.MaterialTheme_desktopKt.PlatformMaterialTheme(MaterialTheme.desktop.kt:26)
at androidx.compose.material.MaterialThemeKt$MaterialTheme$1$1.invoke(MaterialTheme.kt:82)
at androidx.compose.material.MaterialThemeKt$MaterialTheme$1$1.invoke(MaterialTheme.kt:81)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:107)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:34)
at androidx.compose.runtime.CompositionLocalKt.CompositionLocalProvider(CompositionLocal.kt:215)
at androidx.compose.material.TextKt.ProvideTextStyle(Text.kt:261)
at androidx.compose.material.MaterialThemeKt$MaterialTheme$1.invoke(MaterialTheme.kt:81)
at androidx.compose.material.MaterialThemeKt$MaterialTheme$1.invoke(MaterialTheme.kt:80)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:107)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:34)
at androidx.compose.runtime.CompositionLocalKt.CompositionLocalProvider(CompositionLocal.kt:215)
at androidx.compose.material.MaterialThemeKt.MaterialTheme(MaterialTheme.kt:72)
at org.tigase.officialtea.desktop.ComposableSingletons$MainKt$lambda-1$1$4$1.invoke(Main.kt:77)
at org.tigase.officialtea.desktop.ComposableSingletons$MainKt$lambda-1$1$4$1.invoke(Main.kt:76)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:107)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:34)
at androidx.compose.material.SurfaceKt$Surface$6.invoke(Surface.kt:267)
at androidx.compose.material.SurfaceKt$Surface$6.invoke(Surface.kt:254)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:107)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:34)
at androidx.compose.runtime.CompositionLocalKt.CompositionLocalProvider(CompositionLocal.kt:215)
at androidx.compose.material.SurfaceKt.Surface-F-jzlyU(Surface.kt:251)
at androidx.compose.material.SurfaceKt.Surface-F-jzlyU(Surface.kt:110)
at org.tigase.officialtea.desktop.ComposableSingletons$MainKt$lambda-1$1$4.invoke(Main.kt:76)
at org.tigase.officialtea.desktop.ComposableSingletons$MainKt$lambda-1$1$4.invoke(Main.kt:73)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:116)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:34)
at androidx.compose.ui.window.Window_desktopKt$Window$10$1$1$1$1.invoke(Window.desktop.kt:319)
at androidx.compose.ui.window.Window_desktopKt$Window$10$1$1$1$1.invoke(Window.desktop.kt:318)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:107)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:34)
at androidx.compose.runtime.CompositionLocalKt.CompositionLocalProvider(CompositionLocal.kt:215)
at androidx.compose.ui.window.Window_desktopKt$Window$10$1$1$1.invoke(Window.desktop.kt:318)
at androidx.compose.ui.window.Window_desktopKt$Window$10$1$1$1.invoke(Window.desktop.kt:317)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:116)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:34)
at androidx.compose.ui.awt.ComposeWindow$setContent$5.invoke(ComposeWindow.desktop.kt:96)
at androidx.compose.ui.awt.ComposeWindow$setContent$5.invoke(ComposeWindow.desktop.kt:95)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:107)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:34)
at androidx.compose.ui.awt.ComposeWindowDelegate$setContent$3$1.invoke(ComposeWindowDelegate.desktop.kt:92)
at androidx.compose.ui.awt.ComposeWindowDelegate$setContent$3$1.invoke(ComposeWindowDelegate.desktop.kt:91)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:107)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:34)
at androidx.compose.runtime.CompositionLocalKt.CompositionLocalProvider(CompositionLocal.kt:215)
at androidx.compose.ui.awt.ComposeWindowDelegate$setContent$3.invoke(ComposeWindowDelegate.desktop.kt:88)
at androidx.compose.ui.awt.ComposeWindowDelegate$setContent$3.invoke(ComposeWindowDelegate.desktop.kt:87)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:107)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:34)
at androidx.compose.runtime.CompositionLocalKt.CompositionLocalProvider(CompositionLocal.kt:215)
at androidx.compose.ui.platform.DesktopOwners$setContent$4.invoke(DesktopOwners.desktop.kt:276)
at androidx.compose.ui.platform.DesktopOwners$setContent$4.invoke(DesktopOwners.desktop.kt:275)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:107)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:34)
at androidx.compose.runtime.CompositionLocalKt.CompositionLocalProvider(CompositionLocal.kt:215)
at androidx.compose.ui.platform.CompositionLocalsKt.ProvideCommonCompositionLocals(CompositionLocals.kt:159)
at androidx.compose.ui.platform.Wrapper_desktopKt$setContent$1.invoke(Wrapper.desktop.kt:39)
at androidx.compose.ui.platform.Wrapper_desktopKt$setContent$1.invoke(Wrapper.desktop.kt:38)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:107)
at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:34)
at androidx.compose.runtime.ActualJvm_jvmKt.invokeComposable(ActualJvm.jvm.kt:72)
at androidx.compose.runtime.ComposerImpl$doCompose$2$5.invoke(Composer.kt:2599)
at androidx.compose.runtime.ComposerImpl$doCompose$2$5.invoke(Composer.kt:2588)
at androidx.compose.runtime.SnapshotStateKt.observeDerivedStateRecalculations(SnapshotState.kt:563)
at androidx.compose.runtime.ComposerImpl.doCompose(Composer.kt:2588)
at androidx.compose.runtime.ComposerImpl.composeContent$runtime(Composer.kt:2539)
at androidx.compose.runtime.CompositionImpl.composeContent(Composition.kt:478)
at androidx.compose.runtime.Recomposer.composeInitial$runtime(Recomposer.kt:727)
at androidx.compose.runtime.CompositionImpl.setContent(Composition.kt:433)
at androidx.compose.ui.platform.Wrapper_desktopKt.setContent(Wrapper.desktop.kt:38)
at androidx.compose.ui.platform.DesktopOwners.setContent$ui(DesktopOwners.desktop.kt:275)
at androidx.compose.ui.platform.DesktopOwners.setContent$ui$default(DesktopOwners.desktop.kt:259)
at androidx.compose.ui.awt.ComposeLayer$setContent$3.invoke(ComposeLayer.desktop.kt:226)
at androidx.compose.ui.awt.ComposeLayer$setContent$3.invoke(ComposeLayer.desktop.kt:225)
at androidx.compose.ui.awt.ComposeLayer.initContent(ComposeLayer.desktop.kt:239)
at androidx.compose.ui.awt.ComposeLayer.access$initContent(ComposeLayer.desktop.kt:53)
at androidx.compose.ui.awt.ComposeLayer$ComponentImpl.addNotify(ComposeLayer.desktop.kt:82)
at java.desktop/java.awt.Container.addNotify(Container.java:2800)
at java.desktop/javax.swing.JComponent.addNotify(JComponent.java:4783)
at androidx.compose.ui.awt.ComposeWindowDelegate$pane$1.addNotify(ComposeWindowDelegate.desktop.kt:57)
at java.desktop/java.awt.Container.addNotify(Container.java:2800)
at java.desktop/javax.swing.JComponent.addNotify(JComponent.java:4783)
at java.desktop/java.awt.Container.addNotify(Container.java:2800)
at java.desktop/javax.swing.JComponent.addNotify(JComponent.java:4783)
at java.desktop/java.awt.Container.addNotify(Container.java:2800)
at java.desktop/javax.swing.JComponent.addNotify(JComponent.java:4783)
at java.desktop/javax.swing.JRootPane.addNotify(JRootPane.java:733)
at java.desktop/java.awt.Container.addNotify(Container.java:2800)
at java.desktop/java.awt.Window.addNotify(Window.java:786)
at java.desktop/java.awt.Frame.addNotify(Frame.java:490)
at java.desktop/java.awt.Window.show(Window.java:1048)
at java.desktop/java.awt.Component.show(Component.java:1716)
at java.desktop/java.awt.Component.setVisible(Component.java:1663)
at java.desktop/java.awt.Window.setVisible(Window.java:1031)
at androidx.compose.ui.window.AwtWindow_desktopKt$AwtWindow$4$1.invokeSuspend(AwtWindow.desktop.kt:122)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
After the issue #1 problem, I tried to restart the app. The application window does not show at all. However, in the console there is a long exception attached below: