Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception because of a Null nickname #13

Open
wrooot opened this issue Jun 9, 2019 · 0 comments
Open

Exception because of a Null nickname #13

wrooot opened this issue Jun 9, 2019 · 0 comments
Milestone

Comments

@wrooot
Copy link

wrooot commented Jun 9, 2019

Running latest code, trying to login with username and password results in:
java.lang.NullPointerException: Nickname must not be null
at org.jivesoftware.smack.util.Objects.requireNonNull(Objects.java:23)
at org.jivesoftware.smackx.muc.MucEnterConfiguration$Builder.(MucEnterConfiguration.java:93)
at org.jivesoftware.smackx.muc.MultiUserChat.getEnterConfigurationBuilder(MultiUserChat.java:407)
at org.jivesoftware.smackx.muc.MultiUserChat.join(MultiUserChat.java:629)
at org.alameyo.flame.controllers.muc.MultiUserChatStanzaListener.(MultiUserChatStanzaListener.kt:14)
at org.alameyo.flame.controllers.muc.MultiUserChatController.(MultiUserChatController.kt:16)
at org.alameyo.flame.views.home.muc.MultiUserChatTab.(MultiUserChatTab.kt:13)
at org.alameyo.flame.controllers.chat.ChatAreaController.addMuc(ChatAreaController.kt:28)
at org.alameyo.flame.views.home.roster.MultiUserChatView$root$1$1.invoke(MultiUserChatView.kt:18)
at org.alameyo.flame.views.home.roster.MultiUserChatView$root$1$1.invoke(MultiUserChatView.kt:9)
at tornadofx.LayoutsKt.vbox(Layouts.kt:388)
at tornadofx.LayoutsKt.vbox$default(Layouts.kt:103)
at org.alameyo.flame.views.home.roster.MultiUserChatView$root$1.invoke(MultiUserChatView.kt:15)
at org.alameyo.flame.views.home.roster.MultiUserChatView$root$1.invoke(MultiUserChatView.kt:9)
at tornadofx.LayoutsKt.scrollpane(Layouts.kt:457)
at tornadofx.LayoutsKt.scrollpane$default(Layouts.kt:204)
at org.alameyo.flame.views.home.roster.MultiUserChatView.(MultiUserChatView.kt:14)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at java.lang.Class.newInstance(Class.java:442)
at tornadofx.FXKt.find(FX.kt:410)
at org.alameyo.flame.views.home.roster.LeftSideView$$special$$inlined$inject$2.getValue(Component.kt:1197)
at org.alameyo.flame.views.home.roster.LeftSideView$$special$$inlined$inject$2.getValue(Component.kt:173)
at org.alameyo.flame.views.home.roster.LeftSideView.getMultiUserChatView(LeftSideView.kt)
at org.alameyo.flame.views.home.roster.LeftSideView.access$getMultiUserChatView$p(LeftSideView.kt:8)
at org.alameyo.flame.views.home.roster.LeftSideView$root$1$2.invoke(LeftSideView.kt:19)
at org.alameyo.flame.views.home.roster.LeftSideView$root$1$2.invoke(LeftSideView.kt:8)
at tornadofx.TabPaneKt.tab(TabPane.kt:169)
at tornadofx.TabPaneKt.tab$default(TabPane.kt:165)
at org.alameyo.flame.views.home.roster.LeftSideView$root$1.invoke(LeftSideView.kt:18)
at org.alameyo.flame.views.home.roster.LeftSideView$root$1.invoke(LeftSideView.kt:8)
at tornadofx.TabPaneKt.tabpane(TabPane.kt:188)
at org.alameyo.flame.views.home.roster.LeftSideView.(LeftSideView.kt:13)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at java.lang.Class.newInstance(Class.java:442)
at tornadofx.FXKt.find(FX.kt:410)
at org.alameyo.flame.views.home.FlameApplicationView$$special$$inlined$inject$2.getValue(Component.kt:1197)
at org.alameyo.flame.views.home.FlameApplicationView$$special$$inlined$inject$2.getValue(Component.kt:173)
at org.alameyo.flame.views.home.FlameApplicationView.getLeftSideView(FlameApplicationView.kt)
at org.alameyo.flame.views.home.FlameApplicationView.access$getLeftSideView$p(FlameApplicationView.kt:9)
at org.alameyo.flame.views.home.FlameApplicationView$root$1.invoke(FlameApplicationView.kt:19)
at org.alameyo.flame.views.home.FlameApplicationView$root$1.invoke(FlameApplicationView.kt:9)
at tornadofx.LayoutsKt.borderpane(Layouts.kt:420)
at org.alameyo.flame.views.home.FlameApplicationView.(FlameApplicationView.kt:15)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at java.lang.Class.newInstance(Class.java:442)
at tornadofx.FXKt.find(FX.kt:410)
at tornadofx.FXKt.find$default(FX.kt:399)
at tornadofx.UIComponent.replaceWith(Component.kt:1123)
at org.alameyo.flame.views.login.LoginView$root$1$1$1$1$3$1$2.invoke(LoginView.kt:102)
at org.alameyo.flame.views.login.LoginView$root$1$1$1$1$3$1$2.invoke(LoginView.kt:11)
at tornadofx.AsyncKt$success$$inlined$apply$lambda$1$1.handle(Async.kt:110)
at tornadofx.AsyncKt$success$$inlined$apply$lambda$1$1.handle(Async.kt)
at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:86)
at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238)
at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54)
at javafx.event.Event.fireEvent(Event.java:198)
at javafx.concurrent.EventHelper.fireEvent(EventHelper.java:219)
at javafx.concurrent.Task.fireEvent(Task.java:1356)
at javafx.concurrent.Task.setState(Task.java:723)
at javafx.concurrent.Task$TaskCallable.lambda$call$506(Task.java:1434)
at com.sun.javafx.application.PlatformImpl.lambda$null$177(PlatformImpl.java:295)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$178(PlatformImpl.java:294)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.lambda$null$152(WinApplication.java:177)
at java.lang.Thread.run(Thread.java:748)

@Alameyo Alameyo added this to the Flame 0.1.0 milestone Jun 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants