PathOfBuildingCommunity / PathOfBuildingCommunity/PathOfBuilding

unable to load builds. gives error

Open
#10,107 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
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

How is Path of Building expected to behave?

Error:

In 'OnFrame': Classes/PassiveSpec.lua:1071: attempt to index local 'item' (a nil value)
stack traceback:
Classes/PassiveSpec.lua:1071: in function 'NodesInIntuitiveLeapLikeRadius'
Classes/PassiveSpec.lua:1474: in function 'BuildAllDependsAndPaths'
Classes/PassiveSpec.lua:300: in function 'ImportFromNodeList'
Classes/PassiveSpec.lua:179: in function 'Load'
Classes/TreeTab.lua:512: in function <Classes/TreeTab.lua:494>
Modules/Build.lua:656: in function 'CallMode'
Modules/Main.lua:356: in function <Modules/Main.lua:342>
[C]: in function 'PCall'
Launch.lua:111: in function Launch.lua:108
v2.66.2 master
Press Enter/Escape to dismiss, F4 to return to build selection, or F5 to restart the application.
Press CTRL + C to copy error text.

How does Path of Building behave?

when loading the provided build, it causes the below error screen to appear. this causes the application to no longer load any builds, repeating the error. I can close and open some other builds, but otherwise the application becomes unuasble

How to reproduce the issue

try and import build and i get the provided error

PoB for PoE1 build code
https://pobb.in/i9LRu2ek3xkX
Screenshots

No response

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 by importing the provided PoB build code and reproduce the error shown at Classes/PassiveSpec.lua:1071. Read NodesInIntuitiveLeapLikeRadius and the surrounding load path through BuildAllDependsAndPaths, then verify that the provided build loads without the nil-value error and that other builds remain loadable.

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
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.