Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TcpConnection Thread NullPointerException #8

Open
n4bz0r opened this issue Mar 12, 2015 · 0 comments
Open

TcpConnection Thread NullPointerException #8

n4bz0r opened this issue Mar 12, 2015 · 0 comments

Comments

@n4bz0r
Copy link

n4bz0r commented Mar 12, 2015

After doing steamClient.connect(); I get this in like 30 seconds:

1986-2000/com.n4bz0r.steamkittest E/AndroidRuntimeFATAL EXCEPTION: TcpConnection Thread
    java.lang.NullPointerException
            at uk.co.thomasc.steamkit.steam3.CMClient.getPacketMsg(CMClient.java:312)
            at uk.co.thomasc.steamkit.steam3.CMClient$1.handleEvent(CMClient.java:152)
            at uk.co.thomasc.steamkit.steam3.CMClient$1.handleEvent(CMClient.java:148)
            at uk.co.thomasc.steamkit.util.cSharp.events.Event.handleEvent(Event.java:23)
            at uk.co.thomasc.steamkit.networking.steam3.Connection.onNetMsgReceived(Connection.java:30)
            at uk.co.thomasc.steamkit.networking.steam3.TcpConnection.readPacket(TcpConnection.java:220)
            at uk.co.thomasc.steamkit.networking.steam3.TcpConnection$NetLoop.run(TcpConnection.java:172)
            at java.lang.Thread.run(Thread.java:856)

How cud dis happen?

UPD: problem rawEMsg is 1132666274. Method MsgUtil.getMsg(int msg) can't handle it.
UPD2: rawEMsg is always different and might be negative.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant