TheRealCDay / raptor-chess-interface

Automatically exported from code.google.com/p/raptor-chess-interface
0 stars 0 forks source link

Error with one of the Lectures, one of the moves is illegal when it shouldn't #695

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Observe the lecture:"Tactics training lesson 9:Long Diagonals"
2.Wait until the game between Novak Cabarkpa 
3.It will have an error in the move Rxe4

What is the expected output? What do you see instead?

It gives you one Raptor error instead of showing the output on the board

What version of the product are you using? On what operating system and
what environment?

version .98u3f5
mac os x 10.6.8

Please provide any additional information below.

Error occured! We are trying to make Raptor bug free and we need your help! 
Please take a moment to report this issue by selecting the menu:
  Help -> Report Issue 

Error update game with moves
IllegalArgumentException: Invalid move Rxe4
 emptyBB            occupiedBB         notColorToMoveBB   color[WHITE]       color[BLACK]      
 1 0 1 1 0 1 0 1    0 1 0 0 1 0 1 0    1 1 1 1 1 1 1 1    0 0 0 0 0 0 0 0    0 1 0 0 1 0 1 0   
 0 0 0 1 1 1 0 0    1 1 1 0 0 0 1 1    1 1 1 1 1 1 1 1    0 0 0 0 0 0 0 0    1 1 1 0 0 0 1 1   
 1 1 1 0 1 0 1 1    0 0 0 1 0 1 0 0    1 1 1 1 1 1 1 1    0 0 0 0 0 0 0 0    0 0 0 1 0 1 0 0   
 1 1 0 1 1 1 1 1    0 0 1 0 0 0 0 0    1 1 1 1 1 1 1 1    0 0 0 0 0 0 0 0    0 0 1 0 0 0 0 0   
 1 1 0 1 0 1 1 1    0 0 1 0 1 0 0 0    1 1 0 1 0 1 1 1    0 0 1 0 1 0 0 0    0 0 0 0 0 0 0 0   
 1 1 1 1 1 1 0 1    0 0 0 0 0 0 1 0    1 1 1 1 1 1 0 1    0 0 0 0 0 0 1 0    0 0 0 0 0 0 0 0   
 0 0 0 1 1 0 1 0    1 1 1 0 0 1 0 1    0 0 0 1 1 0 1 0    1 1 1 0 0 1 0 1    0 0 0 0 0 0 0 0   
 1 0 0 1 0 1 0 1    0 1 1 0 1 0 1 0    1 0 0 1 0 1 0 1    0 1 1 0 1 0 1 0    0 0 0 0 0 0 0 0   

 [WHITE][PAWN]      [WHITE][KNIGHT]    [WHITE][BISHOP]    [WHITE][ROOK]      [WHITE][QUEEN]     [WHITE][KING]     
 0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0   
 0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0   
 0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0   
 0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0   
 0 0 1 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 1 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0   
 0 0 0 0 0 0 1 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0   
 1 1 0 0 0 1 0 1    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 1 0 0 0 0 0    0 0 0 0 0 0 0 0   
 0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 1 0 0 0 0 0    0 1 0 0 1 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 1 0   

 [BLACK][PAWN]      [BLACK][KNIGHT]    [BLACK][BISHOP]    [BLACK][ROOK]      [BLACK][QUEEN]     [BLACK][KING]     
 0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 1 0 0 1 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 1 0   
 1 0 1 0 0 0 1 1    0 0 0 0 0 0 0 0    0 1 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0   
 0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 1 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 1 0 0    0 0 0 0 0 0 0 0   
 0 0 1 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0   
 0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0   
 0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0   
 0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0   
 0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0   

|*|r|*|*|r|*|k|*|   To Move: Black Last Move: 
|p|b|p|*|*|*|p|p|   Piece counts [WP=6 WN=0 WB=2 WR=2 WQ=1 WK=1][BP=5 BN= 0 
BB=2 BR=2 BQ=1 BK=1]
|*|*|*|b|*|q|*|*|   Moves: 1 EP: - Castle: -
|*|*|p|*|*|*|*|*|   FEN: 1r2r1k1/pbp3pp/3b1q2/2p5/2P1B3/6P1/PPQ2P1P/1RB1R1K1 b 
- - 0 1
|*|*|P|*|B|*|*|*|   State: 3073 Variant=classic Result=*
|*|*|*|*|*|*|P|*|   Event: null Site=null Date=null
|P|P|Q|*|*|P|*|P|   WhiteName: Novak BlackName=Cabarkapa WhiteTime=0 
whiteLag=null blackRemainingTImeMillis = 0 blackLag=null
|*|R|B|*|R|*|K|*|   initialWhiteClock: null initialBlackClocks=null

Legals=[Qc3, Qf3, Qd4, Qf4, Qh4, Qe5, Qf5, Qg5, Qe6, Qg6, Qh6, Qe7, Qf7, Qd8,
Qf8, Bf4, Be5, Be7, Bf8, Bd5, Ba6, Bc6, Ba8, Bc8, Ra8, Rbc8, Rbd8, Re5, Re6,
Re7, Rec8, Red8, Rf8, a6, a5, c6, g6, g5, h6, h5, Kf7, Kf8, Kh8, Qxd6, Qxg7,
Bxc5, Bxc7, Rxb7, Rxg8, Kxg7]
Movelist=[]
Squares with promote masks: []
java.lang.IllegalArgumentException: Invalid move Rxe4
 emptyBB            occupiedBB         notColorToMoveBB   color[WHITE]       color[BLACK]      
 1 0 1 1 0 1 0 1    0 1 0 0 1 0 1 0    1 1 1 1 1 1 1 1    0 0 0 0 0 0 0 0    0 1 0 0 1 0 1 0   
 0 0 0 1 1 1 0 0    1 1 1 0 0 0 1 1    1 1 1 1 1 1 1 1    0 0 0 0 0 0 0 0    1 1 1 0 0 0 1 1   
 1 1 1 0 1 0 1 1    0 0 0 1 0 1 0 0    1 1 1 1 1 1 1 1    0 0 0 0 0 0 0 0    0 0 0 1 0 1 0 0   
 1 1 0 1 1 1 1 1    0 0 1 0 0 0 0 0    1 1 1 1 1 1 1 1    0 0 0 0 0 0 0 0    0 0 1 0 0 0 0 0   
 1 1 0 1 0 1 1 1    0 0 1 0 1 0 0 0    1 1 0 1 0 1 1 1    0 0 1 0 1 0 0 0    0 0 0 0 0 0 0 0   
 1 1 1 1 1 1 0 1    0 0 0 0 0 0 1 0    1 1 1 1 1 1 0 1    0 0 0 0 0 0 1 0    0 0 0 0 0 0 0 0   
 0 0 0 1 1 0 1 0    1 1 1 0 0 1 0 1    0 0 0 1 1 0 1 0    1 1 1 0 0 1 0 1    0 0 0 0 0 0 0 0   
 1 0 0 1 0 1 0 1    0 1 1 0 1 0 1 0    1 0 0 1 0 1 0 1    0 1 1 0 1 0 1 0    0 0 0 0 0 0 0 0   

 [WHITE][PAWN]      [WHITE][KNIGHT]    [WHITE][BISHOP]    [WHITE][ROOK]      [WHITE][QUEEN]     [WHITE][KING]     
 0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0   
 0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0   
 0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0   
 0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0   
 0 0 1 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 1 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0   
 0 0 0 0 0 0 1 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0   
 1 1 0 0 0 1 0 1    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 1 0 0 0 0 0    0 0 0 0 0 0 0 0   
 0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 1 0 0 0 0 0    0 1 0 0 1 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 1 0   

 [BLACK][PAWN]      [BLACK][KNIGHT]    [BLACK][BISHOP]    [BLACK][ROOK]      [BLACK][QUEEN]     [BLACK][KING]     
 0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 1 0 0 1 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 1 0   
 1 0 1 0 0 0 1 1    0 0 0 0 0 0 0 0    0 1 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0   
 0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 1 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 1 0 0    0 0 0 0 0 0 0 0   
 0 0 1 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0   
 0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0   
 0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0   
 0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0   
 0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0   

|*|r|*|*|r|*|k|*|   To Move: Black Last Move: 
|p|b|p|*|*|*|p|p|   Piece counts [WP=6 WN=0 WB=2 WR=2 WQ=1 WK=1][BP=5 BN= 0 
BB=2 BR=2 BQ=1 BK=1]
|*|*|*|b|*|q|*|*|   Moves: 1 EP: - Castle: -
|*|*|p|*|*|*|*|*|   FEN: 1r2r1k1/pbp3pp/3b1q2/2p5/2P1B3/6P1/PPQ2P1P/1RB1R1K1 b 
- - 0 1
|*|*|P|*|B|*|*|*|   State: 3073 Variant=classic Result=*
|*|*|*|*|*|*|P|*|   Event: null Site=null Date=null
|P|P|Q|*|*|P|*|P|   WhiteName: Novak BlackName=Cabarkapa WhiteTime=0 
whiteLag=null blackRemainingTImeMillis = 0 blackLag=null
|*|R|B|*|R|*|K|*|   initialWhiteClock: null initialBlackClocks=null

Legals=[Qc3, Qf3, Qd4, Qf4, Qh4, Qe5, Qf5, Qg5, Qe6, Qg6, Qh6, Qe7, Qf7, Qd8,
Qf8, Bf4, Be5, Be7, Bf8, Bd5, Ba6, Bc6, Ba8, Bc8, Ra8, Rbc8, Rbd8, Re5, Re6,
Re7, Rec8, Red8, Rf8, a6, a5, c6, g6, g5, h6, h5, Kf7, Kf8, Kh8, Qxd6, Qxg7,
Bxc5, Bxc7, Rxb7, Rxg8, Kxg7]
Movelist=[]
Squares with promote masks: []
    at raptor.chess.ClassicGame.testForSanDisambiguationFromCheck(Unknown Source)
    at raptor.chess.ClassicGame.makeSanMove(Unknown Source)
    at raptor.connector.ics.IcsUtils.updateGamesMoves(Unknown Source)
    at raptor.connector.ics.IcsParser.process(Unknown Source)
    at raptor.connector.ics.IcsParser.parseMovesMessage(Unknown Source)
    at raptor.connector.ics.IcsParser.parse(Unknown Source)
    at raptor.connector.ics.IcsConnector.parseMessage(Unknown Source)
    at raptor.connector.ics.IcsConnector.messageArrived(Unknown Source)
    at raptor.connector.ics.timeseal.TimesealSocketMessageProducer.messageLoop(Unknown Source)
    at raptor.connector.ics.timeseal.TimesealSocketMessageProducer$1.run(Unknown Source)
    at java.lang.Thread.run(Thread.java:680)

Original issue reported on code.google.com by cesarkuh...@gmail.com on 9 Jan 2013 at 9:50

GoogleCodeExporter commented 9 years ago
I'll review the issue.

Original comment by bvk...@gmail.com on 20 Jan 2013 at 3:59

GoogleCodeExporter commented 9 years ago
Issue 601 has been merged into this issue.

Original comment by bvk...@gmail.com on 20 Jan 2013 at 10:59

GoogleCodeExporter commented 9 years ago
Issue 645 has been merged into this issue.

Original comment by bvk...@gmail.com on 20 Jan 2013 at 11:00

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r2446.

Original comment by bvk...@gmail.com on 20 Jan 2013 at 11:02