Page 1 of 1

Magarena 1.18 crashes everytime I go to play a game

PostPosted: 22 Oct 2011, 09:16
by jmartus
I've tried older versions and they work just fine.
Here's the crash report

CRASH REPORT FOR MAGARENA THREAD Thread[AWT-EventQueue-0,6,main]
CREATED ON 2011/10/22 05:14:11
Exception from controller.runGame: null
java.lang.AbstractMethodError
at javax.swing.plaf.nimbus.AbstractRegionPainter.paint(Unknown Source)
at javax.swing.plaf.nimbus.AbstractRegionPainter.paint(Unknown Source)
at javax.swing.plaf.nimbus.SynthPainterImpl.paint(Unknown Source)
at javax.swing.plaf.nimbus.SynthPainterImpl.paintBorder(Unknown Source)
at javax.swing.plaf.nimbus.SynthPainterImpl.paintViewportBorder(Unknown Source)
at javax.swing.plaf.synth.SynthScrollPaneUI$ViewportBorder.paintBorder(Unknown Source)
at javax.swing.plaf.synth.SynthScrollPaneUI.paint(Unknown Source)
at javax.swing.plaf.synth.SynthScrollPaneUI.update(Unknown Source)
at javax.swing.JComponent.paintComponent(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JLayeredPane.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paintToOffscreen(Unknown Source)
at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(Unknown Source)
at javax.swing.RepaintManager$PaintManager.paint(Unknown Source)
at javax.swing.RepaintManager.paint(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at java.awt.GraphicsCallback$PaintCallback.run(Unknown Source)
at sun.awt.SunGraphicsCallback.runOneComponent(Unknown Source)
at sun.awt.SunGraphicsCallback.runComponents(Unknown Source)
at java.awt.Container.paint(Unknown Source)
at java.awt.Window.paint(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.prePaintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.access$700(Unknown Source)
at javax.swing.RepaintManager$ProcessingRunnable.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(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)

Re: Magarena 1.18 crashes everytime I go to play a game

PostPosted: 22 Oct 2011, 09:50
by beholder
Thanks for the report.

That bug should be fixed in version 1.19 which will be released next week.

Re: Magarena 1.18 crashes everytime I go to play a game

PostPosted: 23 Oct 2011, 03:30
by melvin
jmartus wrote:I've tried older versions and they work just fine.
Based on the crash report alone, I can't be sure if this is the same as an earlier bug. When does the program crash? Is it as soon as you start it up or when you start a new duel or ...?

Re: Magarena 1.18 crashes everytime I go to play a game

PostPosted: 23 Oct 2011, 06:13
by beholder
Seems I could be wrong then.
The same crash has been reported 3 times now. It looks like it's 64 bit related or maybe java 7 related.
Remember what madmarcel said about his crashes when running 1.18 on 64 bit java 7? The compiler was complaining about deprecated pieces of Nimbus being used.

Re: Magarena 1.18 crashes everytime I go to play a game

PostPosted: 23 Oct 2011, 15:16
by jeffwadsworth
I use win 7 64bit at home with the latest java 6. Magarena runs fine. Whenever I tried to use java 7, things went bonkers.

Re: Magarena 1.18 crashes everytime I go to play a game

PostPosted: 23 Oct 2011, 15:45
by jmartus
The program crashes as soon as I go to start a new duel it doesn't allow me to play any games.

Re: Magarena 1.18 crashes everytime I go to play a game

PostPosted: 24 Oct 2011, 10:14
by melvin
Most likely due to Java 7, they moved the Nimbus UI to a different package. I think I've nailed the bug, but needs testing.

jmartus: Can you download http://magarena.googlecode.com/files/Magarena_2825.exe and override your original Magarena.exe and then see if the program works for you?

Re: Magarena 1.18 crashes everytime I go to play a game

PostPosted: 24 Oct 2011, 17:59
by jmartus
Yes the program works for me after i downloaded http://magarena.googlecode.com/files/Magarena_2825.exe and overrode the original Magarena.exe Thank you

Re: Magarena 1.18 crashes everytime I go to play a game

PostPosted: 25 Oct 2011, 04:19
by melvin
Wonderful! Thanks for helping us to resolve the incompatibility with Java 7.