Page 1 of 1

Crash at start up

PostPosted: 22 Aug 2014, 08:45
by queliangwu
Description: Crash at start up

ExceptionInInitializerError | Open
Code: Select all
Forge Version:    1.5.24-r27072
Operating System: Windows 7 6.1 x86
Java Version:     1.7.0_67 Oracle Corporation

java.lang.ExceptionInInitializerError
   at forge.screens.deckeditor.views.VCurrentDeck.getLayoutControl(VCurrentDeck.java:131)
   at forge.screens.deckeditor.views.VCurrentDeck.getLayoutControl(VCurrentDeck.java:25)
   at forge.view.FView.initialize(FView.java:122)
   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)
Caused by: java.lang.NullPointerException
   at sun.awt.shell.Win32ShellFolder2.getFileSystemPath(Unknown Source)
   at sun.awt.shell.Win32ShellFolder2.access$400(Unknown Source)
   at sun.awt.shell.Win32ShellFolder2$2.call(Unknown Source)
   at sun.awt.shell.Win32ShellFolder2$2.call(Unknown Source)
   at java.util.concurrent.FutureTask.run(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at sun.awt.shell.Win32ShellFolderManager2$ComInvoker$3.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)

Re: Crash at start up

PostPosted: 22 Aug 2014, 08:47
by queliangwu
and I have deleted my \AppData\Roaming\Forge\preferences folder and it does not work. I remember that error ocurrs since many versions ago.

Re: Crash at start up

PostPosted: 22 Aug 2014, 15:02
by Fizanko
Do you have any self made or downloaded decks in all the folders contained in
...\AppData\Roaming\Forge\decks\

If you have it may be the source of the problem as i remember reading someone having the same error message and it appeared it was a deck that was responsible for him.

So try this :
delete (or move it elsewhere) all the folders contained in
...\AppData\Roaming\Forge\decks\
So your ...\AppData\Roaming\Forge\decks\ is empty

Then delete the "preferences" folder from
...\AppData\Roaming\Forge\
Then delete the "saves" folder from
...\AppData\Roaming\Forge\quest\

Once done, download the latest snapshot of Forge :
viewtopic.php?f=52&t=6333&start=3090#p158231

And launch that snapshot of Forge instead of the current version you're using (the current beta had a bug for some people at launch too) to see if it works

Re: Crash at start up

PostPosted: 22 Aug 2014, 16:05
by queliangwu
Fizanko wrote:Do you have any self made or downloaded decks in all the folders contained in
...\AppData\Roaming\Forge\decks\

If you have it may be the source of the problem as i remember reading someone having the same error message and it appeared it was a deck that was responsible for him.

So try this :
delete (or move it elsewhere) all the folders contained in
...\AppData\Roaming\Forge\decks\
So your ...\AppData\Roaming\Forge\decks\ is empty

Then delete the "preferences" folder from
...\AppData\Roaming\Forge\
Then delete the "saves" folder from
...\AppData\Roaming\Forge\quest\

Once done, download the latest snapshot of Forge :
viewtopic.php?f=52&t=6333&start=3090#p158231

And launch that snapshot of Forge instead of the current version you're using (the current beta had a bug for some people at launch too) to see if it works
Thank you for your detailed resolution!

I have checked those folders and found they are all empty (0 byte), and after deletion the same error occurs. I'm afraid that is not the problem. I will download the new version and try again.

For some additional info, this error report comes out when "opening main window (the loading scroll has reached the end) ", and my system can run version 1.2.5 of forge (that's why I keep such an old version LOL). I'm not a native English speaker so I'm not sure whether my description is clear.

Re: Crash at start up

PostPosted: 31 Aug 2014, 21:19
by queliangwu
Fizanko wrote:Do you have any self made or downloaded decks in all the folders contained in
...\AppData\Roaming\Forge\decks\

If you have it may be the source of the problem as i remember reading someone having the same error message and it appeared it was a deck that was responsible for him.

So try this :
delete (or move it elsewhere) all the folders contained in
...\AppData\Roaming\Forge\decks\
So your ...\AppData\Roaming\Forge\decks\ is empty

Then delete the "preferences" folder from
...\AppData\Roaming\Forge\
Then delete the "saves" folder from
...\AppData\Roaming\Forge\quest\

Once done, download the latest snapshot of Forge :
viewtopic.php?f=52&t=6333&start=3090#p158231

And launch that snapshot of Forge instead of the current version you're using (the current beta had a bug for some people at launch too) to see if it works
ExceptionInInitializerError | Open
Code: Select all
Forge Version:    1.5.25-r27161Mu (mixed revisions detected; please update from the root directory)
Operating System: Windows 7 6.1 x86
Java Version:     1.7.0_67 Oracle Corporation

java.lang.ExceptionInInitializerError
   at forge.screens.deckeditor.views.VCurrentDeck.getLayoutControl(VCurrentDeck.java:131)
   at forge.screens.deckeditor.views.VCurrentDeck.getLayoutControl(VCurrentDeck.java:25)
   at forge.view.FView.initialize(FView.java:122)
   at forge.control.FControl$3.run(FControl.java:245)
   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)
Caused by: java.lang.NullPointerException
   at sun.awt.shell.Win32ShellFolder2.getFileSystemPath(Unknown Source)
   at sun.awt.shell.Win32ShellFolder2.access$400(Unknown Source)
   at sun.awt.shell.Win32ShellFolder2$2.call(Unknown Source)
   at sun.awt.shell.Win32ShellFolder2$2.call(Unknown Source)
   at java.util.concurrent.FutureTask.run(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at sun.awt.shell.Win32ShellFolderManager2$ComInvoker$3.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
It still happens in v1.5.25