PathOfBuildingCommunity / PathOfBuildingCommunity/PathOfBuilding

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

Offen
#8,873 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

bug crash question
Vorherrschende Sprache
Lua
Sterne
5.4k
Forks
2.4k
Ø Merge
1 T. 12 Std.
Gemergte PRs (30 T.)
26

Beschreibung

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-

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginne mit dem gemeldeten Traceback bei Classes/Control.lua:76 und verfolge dann die Aufrufe durch Classes/DropDownControl.lua und ItemsTab.lua:1253. Reproduziere den Absturz beim Bearbeiten von Items oder beim Importieren eines Juwels und ermittle mithilfe des Stack Trace das Control, dessen Anchor fehlt. Die Aufgabe ist erledigt, wenn diese Aktionen im Items-Tab und beim Import nicht mehr den gemeldeten OnFrame-Fehler erzeugen.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
lua
Bereich
desktop
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.