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

Client freezing because of ArrayOutOfBoundsException #279

Closed
capSAR273 opened this issue Apr 4, 2022 · 4 comments
Closed

Client freezing because of ArrayOutOfBoundsException #279

capSAR273 opened this issue Apr 4, 2022 · 4 comments

Comments

@capSAR273
Copy link

capSAR273 commented Apr 4, 2022

After playing for a while (hour or two), the client will freeze, and will have to be closed.

To Reproduce

  1. Play for a bit
  2. Client freezes
  3. Close Runelite :(

Expected behavior
No crash :)

Screenshots
Current char face, seems to be related to the error:
image

Environment (please complete the following information):

  • OS: Windows
  • RuneLite version: [e.g 1.4.6]
  • Launcher version: [e.g 1.5.2]

Additional context
Last Client Log: client.log

Exact error:
2022-04-04 15:43:13 [Client] ERROR client-patch - Client error: null
java.lang.ArrayIndexOutOfBoundsException: Index 291 out of bounds for length 288
at rs117.hd.ModelData.getColorForFace(ModelPusher.java:24)
at rs117.hd.ModelPusher.getVertexDataForFace(ModelPusher.java:126)
at rs117.hd.ModelPusher.pushModel(ModelPusher.java:97)
at rs117.hd.HdPlugin.draw(HdPlugin.java:2478)
at client.sa(client.java:37883)
at gs.en(gs.java:1178)
at gs.gt(gs.java)
at gs.aq(gs.java:55959)
at cx.gw(cx.java:4170)
at cy.ib(cy.java:9709)
at cy.ib(cy.java:9740)
at cy.ib(cy.java:9740)
at cy.ib(cy.java:9740)
at x.in(s.java:9598)
at client.hs(client.java:3984)
at client.i(client.java:1089)
at aw.w(aw.java:392)
at aw.run(aw.java:346)
at java.base/java.lang.Thread.run(Unknown Source)

@xxEzri
Copy link
Contributor

xxEzri commented Apr 4, 2022

Should be fixed by #226 - workaround is disable model caching in the misc options meanwhile

@xxEzri
Copy link
Contributor

xxEzri commented May 6, 2022

Fixed now alongside #280 and #281

@xxEzri
Copy link
Contributor

xxEzri commented May 6, 2022

Also y'all will want to make sure that model caching isn't disabled any more because it helps CPU performance massively

@sosodev
Copy link
Collaborator

sosodev commented May 7, 2022

This should be fixed as of the latest update. You should consider re-enabling model caching if you have it disabled as it greatly improves performance in many scenes. 🙂

@sosodev sosodev closed this as completed May 7, 2022
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

3 participants