It is currently 25 Apr 2024, 18:55
   
Text Size

Bug report 1.5.22 constructed tab crash

Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins

Bug report 1.5.22 constructed tab crash

Postby Dadzilla » 24 Jul 2014, 16:41

Description: When I try to access the constructed tab, I get the error below. Other tabs work fine. This tab had worked originally, and works in 1.5.3 for me.


NullPointerException | Open
Code: Select all
Forge Version:    1.5.22-r26752
Operating System: Windows 7 6.1 x86
Java Version:     1.7.0_51 Oracle Corporation

java.lang.NullPointerException
   at forge.itemmanager.ItemManager.stringToItem(ItemManager.java:591)
   at forge.itemmanager.ItemManager.setSelectedStrings(ItemManager.java:622)
   at forge.deckchooser.FDeckChooser.restoreSavedState(FDeckChooser.java:360)
   at forge.deckchooser.FDeckChooser.populate(FDeckChooser.java:244)
   at forge.screens.home.sanctioned.VSubmenuConstructed.populate(VSubmenuConstructed.java:412)
   at forge.screens.home.CHomeUI.itemClick(CHomeUI.java:54)
   at forge.screens.home.CHomeUI.selectPrevious(CHomeUI.java:137)
   at forge.screens.home.CHomeUI.initialize(CHomeUI.java:83)
   at forge.control.FControl.setCurrentScreen(FControl.java:305)
   at forge.control.FControl.setCurrentScreen(FControl.java:269)
   at forge.view.FView.initialize(FView.java:126)
   at forge.control.FControl$3.run(FControl.java:244)
   at java.awt.event.InvocationEvent.dispatch(Unknown Source)
   at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
   at java.awt.EventQueue.access$200(Unknown Source)
   at java.awt.EventQueue$3.run(Unknown Source)
   at java.awt.EventQueue$3.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue.dispatchEvent(Unknown Source)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.run(Unknown Source)
Dadzilla
 
Posts: 3
Joined: 24 Jul 2014, 16:36
Has thanked: 0 time
Been thanked: 0 time

Re: Bug report 1.5.22 constructed tab crash

Postby drdev » 24 Jul 2014, 17:19

This has been reported multiple times on the Forge Beta thread. As I requested there, could you send me a zip file containing your decks folder? I'm pretty sure this is due to a corrupt deck file. If you want to verify that on your end, you can try temporarily renaming your decks folder and seeing if that fixes things.
drdev
Programmer
 
Posts: 1958
Joined: 27 Jul 2013, 02:07
Has thanked: 189 times
Been thanked: 565 times

Re: Bug report 1.5.22 constructed tab crash

Postby Dadzilla » 25 Jul 2014, 12:08

Thanks, I renamed my decks folder in appdata/roaming to xdecks and got the error below:

NullPointerException | Open
Code: Select all
Forge Version:    1.5.22-r26752
Operating System: Windows 7 6.1 x86
Java Version:     1.7.0_51 Oracle Corporation

java.lang.NullPointerException
   at forge.itemmanager.ItemManager.stringToItem(ItemManager.java:591)
   at forge.itemmanager.ItemManager.setSelectedStrings(ItemManager.java:622)
   at forge.deckchooser.FDeckChooser.restoreSavedState(FDeckChooser.java:360)
   at forge.deckchooser.FDeckChooser.populate(FDeckChooser.java:244)
   at forge.screens.home.sanctioned.VSubmenuConstructed.populate(VSubmenuConstructed.java:412)
   at forge.screens.home.CHomeUI.itemClick(CHomeUI.java:54)
   at forge.screens.home.LblMenuItem$1.mousePressed(LblMenuItem.java:45)
   at java.awt.Component.processMouseEvent(Unknown Source)
   at javax.swing.JComponent.processMouseEvent(Unknown Source)
   at java.awt.Component.processEvent(Unknown Source)
   at java.awt.Container.processEvent(Unknown Source)
   at java.awt.Component.dispatchEventImpl(Unknown Source)
   at java.awt.Container.dispatchEventImpl(Unknown Source)
   at java.awt.Component.dispatchEvent(Unknown Source)
   at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
   at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
   at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
   at java.awt.Container.dispatchEventImpl(Unknown Source)
   at java.awt.Window.dispatchEventImpl(Unknown Source)
   at java.awt.Component.dispatchEvent(Unknown Source)
   at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
   at java.awt.EventQueue.access$200(Unknown Source)
   at java.awt.EventQueue$3.run(Unknown Source)
   at java.awt.EventQueue$3.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue$4.run(Unknown Source)
   at java.awt.EventQueue$4.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue.dispatchEvent(Unknown Source)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.run(Unknown Source)
Dadzilla
 
Posts: 3
Joined: 24 Jul 2014, 16:36
Has thanked: 0 time
Been thanked: 0 time

Re: Bug report 1.5.22 constructed tab crash

Postby Dadzilla » 25 Jul 2014, 12:41

Just downloaded the revision in the beta thread and it fixed the issue. Thanks!
Dadzilla
 
Posts: 3
Joined: 24 Jul 2014, 16:36
Has thanked: 0 time
Been thanked: 0 time


Return to Forge

Who is online

Users browsing this forum: No registered users and 129 guests


Who is online

In total there are 129 users online :: 0 registered, 0 hidden and 129 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 129 guests

Login Form