amitkumar3968 / raptor-chess-interface

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

java.lang.RuntimeException: Error occured parsing message #727

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Connect to server at star2.abcm.com port 5000
Play a game

What is the expected output? What do you see instead?
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 TimesealSocketMessageProducer Connector Error in DaemonRun Thwoable 
java.lang.RuntimeException: Error occured parsing message: Creating: admin 
(1643) GuestGMMP (0) unrated blitz 5 0 {Game 1 (admin vs. GuestGMMP) Creating 
unrated blitz match.} <g1> 1 p=0 t=blitz r=0 u=1,0 it=300,300 i=0,0 pt=0 
rt=1643P,0P ts=1,0 m=2 n=0 <12> rnbqkbnr pppppppp -------- -------- -------- 
-------- PPPPPPPP RNBQKBNR W -1 1 1 1 1 0 1 admin GuestGMMP 1 5 0 39 39 300 300 
1 none (0:00) none 0 0 0 fics%  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:724) Caused by: 
java.lang.NumberFormatException: null   at 
java.lang.Integer.parseInt(Integer.java:454)    at 
java.lang.Integer.parseInt(Integer.java:527)    at 
raptor.connector.ics.Style12Parser.timeTakenStringToInt(Unknown Source)     at 
raptor.connector.ics.Style12Parser.parse(Unknown Source)    at 
raptor.connector.ics.IcsParser.parseGameEvents(Unknown Source)  at 
raptor.connector.ics.IcsParser.parse(Unknown Source)    ... 5 more Disconnected

What version of the product are you using? On what operating system and
what environment?
Latest version on Mac OS X 10.8

Original issue reported on code.google.com by star2...@gmail.com on 3 Oct 2013 at 8:22

GoogleCodeExporter commented 9 years ago
Insufficient information.

Original comment by evil...@gmail.com on 31 Oct 2014 at 9:04

GoogleCodeExporter commented 9 years ago
What the? Insufficient information? I included the full error message, how to 
reproduce it, what OS and version I was running. What information do you need? 
How about YOU give more information about what was missing?

Original comment by star2...@gmail.com on 16 Dec 2014 at 7:45

GoogleCodeExporter commented 9 years ago
First issue is your information on how to reproduce the problem (or lack 
thereof) Seriously? Connect and play a game? When does the error occur? Right 
after starting the game? After 20 moves? Does it happen with every game?

Next, I seriously doubt that you included the entire stack trace (and the part 
that is present, is completely mangled due to reformatting) Normally the stack 
trace is the most important part of a bug report because it allows to locate 
exactly where in the source code that the problem occured: what little 
information you kept in your report is not sufficient (at least not for me) to 
even start looking.

As for which version of Raptor: I can think of at least 3 possible answers to 
"latest version" (from installer, the more recently added jar or from source 
repository)

So, if you believe that you did provide sufficient information, then by all 
means feel free to locate the problem in the code yourself and submit a fix.

Original comment by evil...@gmail.com on 19 Dec 2014 at 10:11

GoogleCodeExporter commented 9 years ago
The error occurred immediately on starting the game. It happens every game. As 
far as stack trace being mangled, this bug tracker did that. The most relevant 
parts are probably:
Error occured parsing message: Creating: admin (1643) GuestGMMP (0) unrated 
blitz 5 0 {Game 1 (admin vs. GuestGMMP) Creating unrated blitz match.} <g1> 1 
p=0 t=blitz r=0 u=1,0 it=300,300 i=0,0 pt=0 rt=1643P,0P ts=1,0 m=2 n=0 <12> 
rnbqkbnr pppppppp -------- -------- -------- -------- PPPPPPPP RNBQKBNR W -1 1 
1 1 1 0 1 admin GuestGMMP 1 5 0 39 39 300 300 1 none (0:00) none 0 0 0 fics% 
    at raptor.connector.ics.IcsConnector.parseMessage(Unknown Source)
and
Caused by: java.lang.NumberFormatException: null    at 
java.lang.Integer.parseInt(Integer.java:454)

I don't remember now if the version was from the installer, a jar, or the 
source repository, but I think I may have tried all 3.

As far as fixing it myself, I feel your comment is deliberately inflammatory. 
Why would I even bother to submit I bug report alone if I had the time and 
inclination to do that? I would have submitted a code patch. That said I prefer 
to contribute to projects that foster better communication than ones that close 
tickets with comments like "Insufficient information.", without specifying what 
to additional information is needed. I am using a different chess client at 
this point, and I guess I shall continue to do so since I guess you really 
aren't interested in fixing errors reported in this one. I will not trouble you 
further with bug reports, worry not. It is no wonder the "latest" release on 
your web page is over 2 years old. That is all well and good, you can update it 
as often (or not) as you like, but I won't be running, or contributing to a 
project with admins with this kind of attitude. That is my prerogative. Do as 
you wish with the information I supplied. If should choose to contribute I may 
fork the code and maintain my own version, however that is unlikely. I am only 
bothering to make these comments on the off chance that you may not be fully 
aware of the effects of your handling of bug reports. I am probably wasting my 
breath, but hey, I do think the software has potential. I wish I could use it, 
but I can't. Oh well.

Original comment by star2...@gmail.com on 25 Dec 2014 at 9:29

GoogleCodeExporter commented 9 years ago
You may have noticed in the partial stacktrace that the only classes where a 
line number is given, are classes that are not part of Raptor but are in 
general libraries. The only way to hope to find out *where* in the Raptor code 
that an exception occurred is therefore to follow the complete trace of Raptor 
method calls.

If you feel that my reaction was "deliberately inflammatory", know that english 
is only my third language and that I interpreted the start of your previous 
message just as "deliberately inflammatory": "What the?..."

Anyway, the project creator and previous maintainer (Carson) unexpectedly made 
me a project admin a couple of months ago because he had other urgent 
priorities. I never had the intention to take over the project but it seems 
that no one else wants to step in and take over. The only reason why I got 
involved in the project was because of a couple of new features that I wanted 
to add: I did not sign up for fixing year old bugs, and certainly not if the 
submitters won't even bother taking the time to fill in a complete bug report. 
I believe that is *my* prerogative.

Add to that the new google policy that forbids to upload new installers and you 
get the picture: it is no longer possible to upload new builds to this site, 
only code changes.

Original comment by evil...@gmail.com on 26 Dec 2014 at 12:40