||unity-dev|| onReceiveMessage uncaught exception
unity-dev@moock.org
unity-dev@moock.org
Thu Apr 6 23:51:02 2006
------=_Part_21745_20232507.1144367823970
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
On 4/4/06, unity-dev-admin@moock.org <unity-dev-admin@moock.org> wrote:
>
> hello,
>
> I found an uncaught exception in '
> org.moock.unity.core.upc.UPCRoom.onReceiveMessage.onReceiveMessage'
> method.
>
> 2006-04-04 12:30:33,500 ERROR - onReceiveMessage method of room ID
> LobbyRoom threw an uncaught exception.
> java.lang.NumberFormatException: null
> at java.lang.Integer.parseInt(Unknown Source)
> at java.lang.Integer.parseInt(Unknown Source)
> at com.periscope.lda.room.LobbyRoom._updateRankingAttributes(
> LobbyRoom.java:217)
> at com.periscope.lda.room.LobbyRoom._showMe(LobbyRoom.java:200)
> at com.periscope.lda.room.LobbyRoom.handleMessage(LobbyRoom.java:56)
> at org.moock.unity.core.upc.UPCRoom.onReceiveMessage(Unknown Source)
> at org.moock.unity.core.v.onReceiveMessage(Unknown Source)
> at org.moock.unity.core.r.if(Unknown Source)
> at org.moock.unity.core.r.run(Unknown Source)
> at java.lang.Thread.run(Unknown Source)
>
> I thought derek could be interested.
>
> francis
>
Did you write the LobbyRoom.java code, or is it some pre-made thing?
The actual error occurs at LobbyRoom.java, line:217 it seems. Since
LobbyRoom did not catch the error, it goes up into UPCRoom.onRecMsg which
catches all errors (to prevent bad room code from stopping the entire
server)
-David R
------=_Part_21745_20232507.1144367823970
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
<font face=3D"Arial" size=3D"2"></font>On 4/4/06, <b class=3D"gmail_sendern=
ame"><a href=3D"mailto:unity-dev-admin@moock.org">unity-dev-admin@moock.org=
</a></b> <<a href=3D"mailto:unity-dev-admin@moock.org">unity-dev-admin@m=
oock.org
</a>> wrote:<div><span class=3D"gmail_quote"></span><blockquote class=3D=
"gmail_quote" style=3D"border-left: 1px solid rgb(204, 204, 204); margin: 0=
pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div style=3D"direction: ltr;">
<div><font face=3D"Arial" size=3D"2">hello,</font></div>
<div><font face=3D"Arial" size=3D"2"></font> </div>
<div><font face=3D"Arial" size=3D"2">I found an uncaught exception in=
=20
'org.moock.unity.core.upc.UPCRoom.onReceiveMessage.onReceiveMessage'=20
method.</font></div>
<div><font face=3D"Arial" size=3D"2"></font> </div>
<div><font face=3D"Arial" size=3D"2">2006-04-04 12:30:33,500 ERROR - onRece=
iveMessage=20
method of room ID LobbyRoom threw an uncaught=20
exception.<br>java.lang.NumberFormatException: null<br> at=20
java.lang.Integer.parseInt(Unknown Source)<br> at=20
java.lang.Integer.parseInt(Unknown Source)<br> at=20
com.periscope.lda.room.LobbyRoom._updateRankingAttributes(LobbyRoom.java:21=
7)<br> at=20
com.periscope.lda.room.LobbyRoom._showMe(LobbyRoom.java:200)<br> at=20
com.periscope.lda.room.LobbyRoom.handleMessage(LobbyRoom.java:56)<br> =
at=20
org.moock.unity.core.upc.UPCRoom.onReceiveMessage(Unknown Source)<br> =
at=20
org.moock.unity.core.v.onReceiveMessage(Unknown Source)<br> at=20
org.moock.unity.core.r.if(Unknown Source)<br> at=20
org.moock.unity.core.r.run(Unknown Source)<br> at=20
java.lang.Thread.run(Unknown Source)</font></div>
<div><font face=3D"Arial" size=3D"2"></font> </div>
<div><font face=3D"Arial" size=3D"2">I thought derek could be interested.</=
font></div>
<div><font face=3D"Arial" size=3D"2"></font> </div>
<div><font face=3D"Arial" size=3D"2">francis</font></div>
</div></blockquote></div><br><br>
Did you write the LobbyRoom.java code, or is it some pre-made thing?<br>
<br>
The actual error occurs at <font face=3D"Arial" size=3D"2">LobbyRoom.java,
line:217 it seems. Since LobbyRoom did not catch the error, it goes up
into UPCRoom.onRecMsg which catches all errors (to prevent bad room
code from stopping the entire server)<br>
<br>
-David R</font>
------=_Part_21745_20232507.1144367823970--