PathOfBuildingCommunity / PathOfBuildingCommunity/PathOfBuilding

Lua crash when utilizing Items tab and adjusting skill gems/Importing jewel from in-game

Open
#8,873 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug crash question
Dominant language
Lua
Stars
5.4k
Forks
2.4k
Avg merge
1d 12h
Merged PRs (30d)
26

Description

Check version
  • I'm running the latest version of Path of Building and I've verified this by checking the changelog
Check for duplicates
  • I've checked for duplicate open and closed issues by using the search function of the issue tracker
What platform are you running Path of Building on?

Windows

Screenshots of crash/graphical issue, version and options menu
Image

"In 'OnFrame': Classes/Control.lua:76: attempt to index field 'anchor' (a nil value) stack traceback:
Classes/Control.lua.76: in function 'GetPos'
Classes/Control.lua.72: in function 'GetPos'
Classes/Control.lua.72: in function 'GetPos'
Classes/Control.lua.72: in function 'GetPos'
Classes/Control.lua.72: in function 'GetPos'
Classes/Control.lua.72: in function 'GetPos'
Classes/Control.lua.72: in function 'GetPos'
Classes/Control.lua.72: in function 'GetPos'
Classes/DropDownControl.lua:179: in function 'IsMouseOver'
Classes/DropDownControl.lua:242: in function 'Draw'
Classes/ControlHost.lua:91: in function 'DrawControls'
Classes/ItemsTab.lua:1253: in function 'CallMode'
Modules/Main.lua:357: in function <Modules/Main.lua:327>
[C]: in function 'PCall'
Launch.lua:109: in function <Launch.lua.106>

What are your system specifications and configuration?

Operating System: Windows 11 Home 64-bit (10.0, Build 26100) (26100.ge_release.240331-1435)
Processor: Intel(R) Core(TM) i9-14900KF (32 CPUs), ~3.2GHz
Memory: 65536MB RAM
NVIDIA GeForce RTX 4070 Ti SUPER

How to reproduce the issue

When messing with items in the tab I randomly get this error. It occurs a lot too during item import from game or even editing items to check/see other stats and how it would affect my current build.

PoB for PoE1 build code
https://pobb.in/yC4-7viTxD7-

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the reported traceback at Classes/Control.lua:76, then follow the calls through Classes/DropDownControl.lua and ItemsTab.lua:1253. Reproduce the crash while editing items or importing a jewel, and use the stack trace to identify the control whose anchor is missing. Done means these Items tab and import actions no longer produce the reported OnFrame error.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.