It is currently 19 Apr 2024, 16:51
   
Text Size

Magarena 1.18 crashes everytime I go to play a game

Moderators: ubeefx, beholder, melvin, ShawnieBoy, Lodici, CCGHQ Admins

Magarena 1.18 crashes everytime I go to play a game

Postby jmartus » 22 Oct 2011, 09:16

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)
jmartus
 
Posts: 207
Joined: 11 Oct 2010, 09:25
Has thanked: 0 time
Been thanked: 7 times

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

Postby beholder » 22 Oct 2011, 09:50

Thanks for the report.

That bug should be fixed in version 1.19 which will be released next week.
If debugging is the process of removing bugs, then programming must be the process of putting them in.
User avatar
beholder
Programmer
 
Posts: 123
Joined: 17 Jul 2011, 17:56
Location: Netherlands
Has thanked: 16 times
Been thanked: 25 times

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

Postby melvin » 23 Oct 2011, 03:30

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 ...?
User avatar
melvin
AI Programmer
 
Posts: 1062
Joined: 21 Mar 2010, 12:26
Location: Singapore
Has thanked: 36 times
Been thanked: 459 times

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

Postby beholder » 23 Oct 2011, 06:13

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.
If debugging is the process of removing bugs, then programming must be the process of putting them in.
User avatar
beholder
Programmer
 
Posts: 123
Joined: 17 Jul 2011, 17:56
Location: Netherlands
Has thanked: 16 times
Been thanked: 25 times

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

Postby jeffwadsworth » 23 Oct 2011, 15:16

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.
jeffwadsworth
Super Tester Elite
 
Posts: 1171
Joined: 20 Oct 2010, 04:47
Location: USA
Has thanked: 287 times
Been thanked: 69 times

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

Postby jmartus » 23 Oct 2011, 15:45

The program crashes as soon as I go to start a new duel it doesn't allow me to play any games.
jmartus
 
Posts: 207
Joined: 11 Oct 2010, 09:25
Has thanked: 0 time
Been thanked: 7 times

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

Postby melvin » 24 Oct 2011, 10:14

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?
User avatar
melvin
AI Programmer
 
Posts: 1062
Joined: 21 Mar 2010, 12:26
Location: Singapore
Has thanked: 36 times
Been thanked: 459 times

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

Postby jmartus » 24 Oct 2011, 17:59

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
jmartus
 
Posts: 207
Joined: 11 Oct 2010, 09:25
Has thanked: 0 time
Been thanked: 7 times

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

Postby melvin » 25 Oct 2011, 04:19

Wonderful! Thanks for helping us to resolve the incompatibility with Java 7.
User avatar
melvin
AI Programmer
 
Posts: 1062
Joined: 21 Mar 2010, 12:26
Location: Singapore
Has thanked: 36 times
Been thanked: 459 times


Return to Magarena

Who is online

Users browsing this forum: No registered users and 33 guests


Who is online

In total there are 33 users online :: 0 registered, 0 hidden and 33 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 33 guests

Login Form