amitkumar3968 / raptor-chess-interface

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

Raptor thinks axb6 is illegal. An attempt was made to correct the position. #792

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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 Raptor thinks axb6 is illegal. An attempt was made to correct the 
position. java.lang.IllegalArgumentException: Invalid move axb6 emptyBB 
occupiedBB notColorToMoveBB color[WHITE] color[BLACK] 1 1 0 0 1 1 1 0 0 0 1 1 0 
0 0 1 1 1 0 0 1 1 1 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 1 0 0 1 1 1 1 0 1 1 1 0 0 0 
0 1 0 0 0 1 1 1 1 0 1 0 0 0 0 0 0 0 0 1 1 0 0 0 0 1 0 1 0 1 0 1 1 1 0 0 1 0 1 0 
0 0 1 1 1 1 0 1 1 1 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 1 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 0 0 0 0 0 0 0 0 1 0 1 0 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 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 1 1 1 1 1 0 1 0 0 0 
0 0 0 1 1 1 1 1 1 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 0 0 1 0 0 0 0 
0 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 1 0 1 0 1 0 1 1 0 1 0 1 
0 1 0 1 1 1 1 1 1 1 1 1 0 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 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 0 1 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 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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 
0 0 0 0 0 0 0 0 0 0 0 0 0 0 |*|*|k|r|*|*|*|r| To Move: Black Last Move: Nxb6+ 
|p|p|*|*|*|*|p|*| Piece counts [WP=5 WN=1 WB=1 WR=2 WQ=0 WK=1][BP=6 BN= 0 BB=1 
BR=2 BQ=0 BK=1] |*|N|*|b|*|*|*|p| Moves: 38 EP: - Castle: - |*|*|p|*|p|*|*|*| 
FEN: 2kr3r/pp4p1/1N1b3p/2p1p3/2P5/1P6/P5PP/R1B1R1K1 b - - 0 19 
|*|*|P|*|*|*|*|*| State: 3145 Variant=blitz Result=* |*|P|*|*|*|*|*|*| Event: 
10 0 rated blitz Site=freechess.org Date=2014.12.06 |P|*|*|*|*|*|P|P| 
WhiteName: ilidiomartins BlackName=yussub WhiteTime=275248 whiteLag=123548 
blackRemainingTImeMillis = 435693 blackLag=2048 |R|*|B|*|R|*|K|*| 
initialWhiteClock: 00:10:00.0 initialBlackClocks=00:10:00.0 Legals=[Bc7, Bf8, 
Rd7, Re8, Rf8, Rg8, h7, a3, a4, g3, g4, b2, c3, Kc7, Kd7, Kb8] Movelist=[Nc3, 
O-O-O, f4, f6, Nd5, Bd6, fxe5, fxe5, c4, h6, b3, Nb6, Nxb6+] Squares with 
promote masks: [] 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 in exceute java.lang.NullPointerException  at 
raptor.swt.chess.controller.PlayingController.isUserMove(Unknown Source)    at 
raptor.swt.chess.controller.PlayingController.handleSpeakMove(Unknown Source) 
    at raptor.swt.chess.controller.PlayingController$2$3.execute(Unknown Source) 
    at raptor.util.RaptorRunnable.run(Unknown Source)   at 
org.eclipse.swt.widgets.RunnableLock.run(Unknown Source)    at 
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Unknown Source)   at 
org.eclipse.swt.widgets.Display.runAsyncMessages(Unknown Source)    at 
org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)     at 
org.eclipse.jface.window.Window.runEventLoop(Window.java:825)   at 
org.eclipse.jface.window.Window.open(Window.java:801)   at 
raptor.Raptor.main(Unknown Source)

Original issue reported on code.google.com by ilidio.m...@gmail.com on 6 Dec 2014 at 7:52

GoogleCodeExporter commented 9 years ago
Thanks for reporting this issue.

Unfortunately, it is a symptom of a known problem with the current Raptor 
source (multi threading problem where several parts of the program attempt to 
operate on the same data items, such as removing a move from a list while 
another part is trying to execute the removed move) Fixing the root cause will 
take more time than I currently want to devote on Raptor maintenance.

However, the issue will be kept open (active) so that it is not forgotten.

Regards.

Original comment by evil...@gmail.com on 7 Dec 2014 at 1:21