View previous topic :: View next topic |
Author |
Message |
rastapete Founding Father
Joined: 13 Feb 2005 Posts: 401 Location: 'Ipsa' this, you pissy little bitch!
|
Posted: Sun Aug 03, 2008 2:49 pm Post subject: Bug Report: Betting Schedule wizard crash |
|
|
Error message below:
User's Description of Problem:
Trying to use the betting schedule wizard - on clicking 'OK' having selected options.
Date: Sun Aug 03 15:43:22 EST 2008
Build: August 3 2008 - 14:55
Exception: class java.lang.IllegalArgumentException
Stack Trace:
java.lang.IllegalArgumentException: Duration must be greater than 0
at com.drneau.tournamentManager.a.a.c.d(c.java)
at com.drneau.tournamentManager.a.a.a.b(a.java)
at com.drneau.tournamentManager.d.c.d.w.a(w.java)
at com.drneau.tournamentManager.d.c.d.a.<init>(a.java)
at com.drneau.tournamentManager.d.c.d.b.<init>(b.java)
at com.drneau.tournamentManager.d.c.d.h.<init>(h.java)
at com.drneau.tournamentManager.d.c.c.i.a(i.java)
at com.drneau.tournamentManager.d.c.c.zc.actionPerformed(zc.java)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
at java.awt.Component.processMouseEvent(Component.java:5602)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
at java.awt.Component.processEvent(Component.java:5367)
at java.awt.Container.processEvent(Container.java:2010)
at java.awt.Component.dispatchEventImpl(Component.java:4068)
at java.awt.Container.dispatchEventImpl(Container.java:2068)
at java.awt.Component.dispatchEvent(Component.java:3903)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3936)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866)
at java.awt.Container.dispatchEventImpl(Container.java:2054)
at java.awt.Window.dispatchEventImpl(Window.java:1791)
at java.awt.Component.dispatchEvent(Component.java:3903)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at com.drneau.tournamentManager.d.d.b.dispatchEvent(b.java)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:180)
at java.awt.Dialog$1.run(Dialog.java:535)
at java.awt.Dialog$2.run(Dialog.java:563)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Dialog.java:561)
at java.awt.Component.show(Component.java:1302)
at java.awt.Component.setVisible(Component.java:1255)
at com.drneau.tournamentManager.d.c.c.xd.a(xd.java)
at com.drneau.tournamentManager.d.c.c.j.a(j.java)
at com.drneau.tournamentManager.d.c.c.gb.actionPerformed(gb.java)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
at java.awt.Component.processMouseEvent(Component.java:5602)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
at java.awt.Component.processEvent(Component.java:5367)
at java.awt.Container.processEvent(Container.java:2010)
at java.awt.Component.dispatchEventImpl(Component.java:4068)
at java.awt.Container.dispatchEventImpl(Container.java:2068)
at java.awt.Component.dispatchEvent(Component.java:3903)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3936)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866)
at java.awt.Container.dispatchEventImpl(Container.java:2054)
at java.awt.Window.dispatchEventImpl(Window.java:1791)
at java.awt.Component.dispatchEvent(Component.java:3903)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at com.drneau.tournamentManager.d.d.b.dispatchEvent(b.java)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110) |
|
Back to top |
|
|
drneau Site Admin
Joined: 13 Feb 2005 Posts: 2385 Location: Woodbury, MN
|
Posted: Sun Aug 03, 2008 3:02 pm Post subject: Re: Betting Schedule wizard crash |
|
|
rastapete wrote: | Error message below:
User's Description of Problem:
Trying to use the betting schedule wizard - on clicking 'OK' having selected options.
Date: Sun Aug 03 15:43:22 EST 2008
Build: August 3 2008 - 14:55
Exception: class java.lang.IllegalArgumentException
Stack Trace:
java.lang.IllegalArgumentException: Duration must be greater than 0
|
Well, obviously you said you didn't want your tournament to have a duration!
I'll catch that better.
You did have duration set to 0, didn't you? _________________ --
Dr. Neau (not a real doctor)
http://drneau.com
http://home.comcast.net/~jneau |
|
Back to top |
|
|
rastapete Founding Father
Joined: 13 Feb 2005 Posts: 401 Location: 'Ipsa' this, you pissy little bitch!
|
Posted: Sun Aug 03, 2008 3:24 pm Post subject: |
|
|
|
|
Back to top |
|
|
drneau Site Admin
Joined: 13 Feb 2005 Posts: 2385 Location: Woodbury, MN
|
|
Back to top |
|
|
drneau Site Admin
Joined: 13 Feb 2005 Posts: 2385 Location: Woodbury, MN
|
Posted: Sun Aug 03, 2008 8:13 pm Post subject: |
|
|
Okay. The culprit is the "Cut duration" field.
Essentially, you were telling it "I want you to add 50% more segments than should be needed, but have their duration be 0% of what you used for the other segments."
So, it did what you said, and the segments it created said, "Hey! Don't create me with a duration of 0!!!!"
I'm changing that to "cut duration by" and adding a check to make sure it doesn't cut it to 0. _________________ --
Dr. Neau (not a real doctor)
http://drneau.com
http://home.comcast.net/~jneau |
|
Back to top |
|
|
|