Skip to content

Nullpointer exception for newer replays? #2

Description

@dsjoho

Hi,
I tried running the provided example program for a couple of replays, but turned into the following error for everything that wasn't the provided .dem file.

2015-02-02 19:09:32,548 [main] [] INFO  - 00:00.000
2015-02-02 19:09:32,551 [main] [] INFO  - Match Id : null
2015-02-02 19:09:32,560 [main] [] INFO  - Match Type : null
2015-02-02 19:09:32,561 [main] [] INFO  - Match Time : null
2015-02-02 19:09:33,077 [main] [] INFO  - 01:10.333
2015-02-02 19:09:33,077 [main] [] INFO  - Match Id : null
2015-02-02 19:09:33,077 [main] [] INFO  - Match Type : null
2015-02-02 19:09:33,077 [main] [] INFO  - Match Time : null
2015-02-02 19:09:33,162 [main] [] INFO  - 00:25.000
Exception in thread "main" java.lang.NullPointerException
    at skadistats.clarity.model.Entity.getProperty(Entity.java:57)
    at ykim.euls.Utils.getPropertyFromEntity(Utils.java:65)
    at ykim.euls.models.protobuf.base.EntityBase.valueOfProperty(EntityBase.java:38)
    at ykim.euls.models.protobuf.base.EntityBase.getProperty(EntityBase.java:21)
    at ykim.euls.models.protobuf.GameRules.getMatchId(GameRules.java:30)
    at ykim.euls.example.App.run(App.java:32)
    at ykim.euls.example.App.main(App.java:18)

The 4 files that I've tested (and all fail) are in the range of 110000000.dem to 1200000000.dem, and can be provided if you'd like.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions