-
Notifications
You must be signed in to change notification settings - Fork 30
Closed
Description
Expected Behavior
Should be able to parse a local appinfo vdf text file into KeyValues.
Actual Behavior
This is probably due to the local file not being read with UTF-8 encoding.
Exception in thread "main" java.lang.NullPointerException: Cannot invoke "String.startsWith(String)" because "s" is null
at in.dragonbra.javasteam.types.KVTextReader.<init>(KVTextReader.java:59)
at in.dragonbra.javasteam.types.KeyValue.readAsText(KeyValue.java:357)
at in.dragonbra.javasteam.types.KeyValue.loadFromFile(KeyValue.java:452)
at in.dragonbra.javasteam.types.KeyValue.loadAsText(KeyValue.java:424)
at in.dragonbra.javasteamsamples._4friends.TestKV.main(TestKV.java:12)
Steps to Reproduce the Problem
- Call SteamApps.picsGetProductInfo() with metadata
true - Locally download the .gz file and extract the text file
- Call method
KeyValue.loadAsText()
Specifications
- Version: 1.1.0
- Platform: Windows
Metadata
Metadata
Assignees
Labels
No labels