Ticket #435 (closed defect: fixed)

Opened 8 months ago

Last modified 8 months ago

BWJSBot freeze 1-2 sec before the end.

Reported by: Arobas+ Owned by:
Priority: highest Component: Bots - BWJSBot
Version: Latest version from repository Severity: critical
Keywords: timer freeze Cc:

Description

Just before a game finish (1-2 seconds before), the bot freeze and die. This is the exception :

Exception in thread "BaseBot-Timer" java.lang.NullPointerException

at twcore.bots.bwjsbot.bwjsbot$BWJSSQL.access$8100(bwjsbot.java:4982)
at twcore.bots.bwjsbot.bwjsbot.gameOver(bwjsbot.java:1897)
at twcore.bots.bwjsbot.bwjsbot.access$17200(bwjsbot.java:43)
at twcore.bots.bwjsbot.bwjsbot$Gameticker.doGameInProgress(bwjsbot.java:5880)
at twcore.bots.bwjsbot.bwjsbot$Gameticker.run(bwjsbot.java:5806)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)

Attachments

Change History

Changed 8 months ago by Maverick

  • status changed from new to closed
  • resolution set to fixed

(Temporarily) fixed in changeset [3478].
Please report if still isn't fixed.

Changed 8 months ago by Maverick

Fix applied on bots in Trench Wars.
Base event currently being played where hopefully it will run without problems.

Changed 8 months ago by Maverick

Result of Freq 0 vs. Freq 1: 10:00 - 07:22
,---------------------------------+------+------+-----------+------+------+-----------+----.
|                               K |    D |   TK |    Points |   FT |  TeK |    Rating | LO |
|                          ,------+------+------+-----------+------+------+-----------+----+
| Freq 0                  /   304 |  392 |   23 |     57163 |   28 |    7 |      5824 |  0 |
+------------------------'        |      |      |           |      |      |           |    |
|  cundor                      69 |   63 |    0 |     10906 |    0 |    0 |      5439 |  0 |
|  glavitik                    23 |   59 |    3 |      5429 |    2 |    0 |     -2968 |  0 |
|  lame bomber                  9 |   66 |    3 |      3296 |    1 |    0 |       176 |  0 |
|  Machine of God              27 |   59 |   16 |      6231 |   16 |    2 |     -5259 |  0 |
|  Mikkiz                      17 |    4 |    0 |      3618 |    4 |    1 |     -1045 |  0 |
|  oat                         41 |   42 |    1 |      7220 |    1 |    1 |      -519 |  0 |
|  skism                       56 |   63 |    0 |     10396 |    4 |    2 |       586 |  0 |
|  Teh Super                   62 |   36 |    0 |     10067 |    0 |    1 |      9414 |  0 |
+---------------------------------+------+------+-----------+------+------+-----------+----+
|                          ,------+------+------+-----------+------+------+-----------+----+
| Freq 1                  /   369 |  315 |   11 |     49988 |   26 |    3 |     28392 |  1 |
+------------------------'        |      |      |           |      |      |           |    |
|  BLOONS                      59 |   40 |    0 |      7967 |    0 |    0 |      4467 |  0 |
|  dald                        64 |   14 |    2 |      9731 |    0 |    0 |      6429 |  0 |
|  Fr3aky                      13 |   59 |    6 |      3341 |    3 |    1 |      -881 |  0 |
|  HildoZ                       3 |   61 |    3 |      1610 |   19 |    0 |        57 |  0 |
|  i, robot                    77 |   42 |    0 |      8712 |    2 |    1 |      7757 |  0 |
|  Pardon                      70 |   44 |    0 |      8668 |    0 |    1 |      8407 |  0 |
|  pee pee suck                62 |   33 |    0 |      7499 |    0 |    0 |      5429 |  0 |
|  Subverter                    5 |   12 |    0 |        80 |    0 |    0 |       -12 |  1 |
|  TABARNAK!!!                  0 |    4 |    0 |         0 |    1 |    0 |         0 |  0 |
|  trancetunes                 16 |    6 |    0 |      2380 |    1 |    0 |     -3261 |  0 |
`---------------------------------+------+------+-----------+------+------+-----------+----'
Freq 0 wins the game!
Statistics url: http://www.trenchwars.org/base/4569

Everything seems to work again. (Thank god erm.. fantus for that :) )

Add/Change #435 (BWJSBot freeze 1-2 sec before the end.)

Author


E-mail address and user name can be saved in the Preferences.


Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.