#Cannot invoke "forge.deckchooser.FDeckChooser.populate()" because "fdc" is null

8 messages · Page 1 of 1 (latest)

indigo sleet
#

We both set up port forwarding and have the same up to date version of Forge 2.0.02
Trying to join an online lobby and get the following error logs:

java.lang.NullPointerException: Cannot invoke "forge.deckchooser.FDeckChooser.populate()" because "fdc" is null
at forge.screens.home.online.VSubmenuOnlineLobby.populate(VSubmenuOnlineLobby.java:99)
at forge.screens.home.online.CSubmenuOnlineLobby.lambda$join$4(CSubmenuOnlineLobby.java:92)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:771)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:722)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:716)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:741)
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)

sudden hawk
#

Hmm looks like a contribution in this area is confusing lists and arrays

indigo sleet
#

Thanks for the fast reply, we were able to join a lobby but the only thing we can do is play constructed (not commander). Lots of fiddling but at least we can confirm networking works. We have a hang up where if I don't select a format in the lobby he can join but we're limited to constructed. If I select the Commander Variant I can select a commander deck but he's stuck in the constructed list of decks if he can connect at all.

Here's a grossly long log:

sudden hawk
#

Yea i think this change by someone i don't recognize made a bad assumption about how ArrayLists in java work. It causes lots of player panels to be problematic

indigo sleet
#

Should I move this to an issue in github?

sudden hawk
#

Nope