koraktor / steam-condenser

A multi-language library for querying the Steam Community, Source, GoldSrc servers and Steam master servers
https://koraktor.de/steam-condenser
Other
359 stars 65 forks source link

error in steamid create (); in java #332

Open RuansilvaMOD opened 2 years ago

RuansilvaMOD commented 2 years ago

[Fatal Error] demomenz?xml=1:1:1: Premature end of file. com.github.koraktor.steamcondenser.exceptions.SteamCondenserException: XML data could not be parsed: Premature end of file. at com.github.koraktor.steamcondenser.steam.community.XMLData.(XMLData.java:70) at com.github.koraktor.steamcondenser.steam.community.SteamId.fetchData(SteamId.java:330) at com.github.koraktor.steamcondenser.steam.community.SteamId.(SteamId.java:299) at com.github.koraktor.steamcondenser.steam.community.SteamId.create(SteamId.java:237) at com.github.koraktor.steamcondenser.steam.community.SteamId.create(SteamId.java:175) at me.ruan.sla2.main(sla2.java:38) Caused by: org.xml.sax.SAXParseException; systemId: http://steamcommunity.com/id/demomenz?xml=1; lineNumber: 1; columnNumber: 1; Premature end of file. at java.xml/com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:261) at java.xml/com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:339) at java.xml/javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:178) at com.github.koraktor.steamcondenser.steam.community.XMLData.(XMLData.java:68) ... 5 more

koraktor commented 2 years ago

Is this still a problem? The XML returned by that URL looks valid, although it's redirecting to HTTPS.

fross72 commented 1 year ago

I'm having the same issue