foundryvtt-forien-quest-log icon indicating copy to clipboard operation
foundryvtt-forien-quest-log copied to clipboard

[BUG] TypeError: An error occurred while rendering QuestLog 2: Cannot read property 'name' of null

Open mvanduijvenvoorde opened this issue 4 years ago • 0 comments

Module Version: v0.5.1

Describe the bug I can't use the quest log anymore. It does not appear for me as DM. My players can still use it though. Because of this error I'm forced to switch back to the standard journal note way of quest logging.

When I press the Quest Log button I get the following error:

foundry.js:4406 TypeError: An error occurred while rendering QuestLog 2: Cannot read property 'name' of null
    at Function.populate (quest.mjs:375)
    at Function.getContent (quest.mjs:413)
    at quest.mjs:432
    at Array.forEach (<anonymous>)
    at Function.getQuests (quest.mjs:431)
    at QuestLog.getData (quest-log.mjs:47)
    at QuestLog._render (foundry.js:4434)
    at QuestLog.render (foundry.js:4404)
    at HTMLButtonElement.<anonymous> (init.mjs:57)
    at HTMLButtonElement.dispatch (jquery.min.js:2)
(anonymous) @ foundry.js:4406

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior I expected the Quest Log to open when I press the Quest Log button.

Screenshots You can't see anything besides the error in the console.log

Browser: Chrome (latest version)

Foundry Version: 0.7.5

Game System: DnD 5e 0.98

mvanduijvenvoorde avatar Nov 02 '20 10:11 mvanduijvenvoorde