You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
The module was working fine,
I added a new weapon and made some edits to another and now ANY character sheet, any weapon or spell throws this error.
"The given roll is null or undefined."
I did all the things below, then used "Find the Culprit"
The issue is some incompatibility with "Die Hard" that weirdly, only occurred several minutes into me creating and testing weapons.
I left all the text from the troubleshooting, in case it is of interest.
Next time I have an issue with a module, I think I'll start with "Find the Culprit"
Steps to Reproduce
Things I did right before everything broke
Modify a melee weapon to use Strength, when Str was below 10 (negative modifier)
Deleted some extra damage lines (left the original)
Added a new weapon
Now
Go to any character sheet
Click to use any spell or weapon
See error
Tried
Did not work:
making a new weapon
reloading (browser refresh)
unchecking the option to auto roll damage the item, per damage line
Stopped the error
returned to set-up (to make sure I had the latest versions of everything)
I can't get it to repro
Versions
RSR Version: 1.3.13
System: D&D 5E v 2.03
Foundry: 10.290
Other Modules
Die Hard
Console:
Ready Set Roll | Quick rolling Item 'New Weapon'.
log.js:21 Ready Set Roll | The given roll is null or undefined.
logError @ log.js:21
ensureMultiRoll @ roll.js:260
_addFieldAttack @ item.js:402
await in _addFieldAttack (async)
getFieldsFromItem @ item.js:62
await in getFieldsFromItem (async)
_getItemRoll @ roll.js:408
rollItem @ roll.js:189
(anonymous) @ hooks.js:91
#call @ foundry.js:724
callAll @ foundry.js:681
use @ dnd5e.mjs:6981
await in use (async)
🎁call_wrapped @ lib-wrapper.js:1
rollItemWrapper @ roll.js:102
_itemProcessWrapper @ patching.js:149
_itemUse @ patching.js:111
🎁CONFIG.Item.documentClass.prototype.use#0 @ lib-wrapper.js:1
_onItemUse @ dnd5e.mjs:12504
(anonymous) @ dnd5e.mjs:12165
dispatch @ jquery.min.js:2
y.handle @ jquery.min.js:2
render.js:170 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'terms')
[Detected 1 package: ready-set-roll-5e]
at _renderMultiRoll (render.js:170:29)
at _renderAttackRoll (render.js:230:12)
at RenderUtility.renderFromField (render.js:54:24)
at QuickRoll._render (quickroll.js:322:52)
at async QuickRoll.toMessage (quickroll.js:169:13)
at async _getItemRoll (roll.js:429:5)
at async RollUtility.rollItem (roll.js:189:16)
_renderMultiRoll @ render.js:170
_renderAttackRoll @ render.js:230
renderFromField @ render.js:54
_render @ quickroll.js:322
await in _render (async)
(anonymous) @ hooks.js:91
#call @ foundry.js:724
callAll @ foundry.js:681
use @ dnd5e.mjs:6981
await in use (async)
🎁call_wrapped @ lib-wrapper.js:1
rollItemWrapper @ roll.js:102
_itemProcessWrapper @ patching.js:149
_itemUse @ patching.js:111
🎁CONFIG.Item.documentClass.prototype.use#0 @ lib-wrapper.js:1
_onItemUse @ dnd5e.mjs:12504
(anonymous) @ dnd5e.mjs:12165
dispatch @ jquery.min.js:2
y.handle @ jquery.min.js:2
The text was updated successfully, but these errors were encountered:
Description
The module was working fine,
I added a new weapon and made some edits to another and now ANY character sheet, any weapon or spell throws this error.
"The given roll is null or undefined."
I did all the things below, then used "Find the Culprit"
The issue is some incompatibility with "Die Hard" that weirdly, only occurred several minutes into me creating and testing weapons.
I left all the text from the troubleshooting, in case it is of interest.
Next time I have an issue with a module, I think I'll start with "Find the Culprit"
Steps to Reproduce
Things I did right before everything broke
Now
Tried
Did not work:
Stopped the error
Versions
Other Modules
Die Hard
Console:
Ready Set Roll | Quick rolling Item 'New Weapon'.
log.js:21 Ready Set Roll | The given roll is null or undefined.
logError @ log.js:21
ensureMultiRoll @ roll.js:260
_addFieldAttack @ item.js:402
await in _addFieldAttack (async)
getFieldsFromItem @ item.js:62
await in getFieldsFromItem (async)
_getItemRoll @ roll.js:408
rollItem @ roll.js:189
(anonymous) @ hooks.js:91
#call @ foundry.js:724
callAll @ foundry.js:681
use @ dnd5e.mjs:6981
await in use (async)
🎁call_wrapped @ lib-wrapper.js:1
rollItemWrapper @ roll.js:102
_itemProcessWrapper @ patching.js:149
_itemUse @ patching.js:111
🎁CONFIG.Item.documentClass.prototype.use#0 @ lib-wrapper.js:1
_onItemUse @ dnd5e.mjs:12504
(anonymous) @ dnd5e.mjs:12165
dispatch @ jquery.min.js:2
y.handle @ jquery.min.js:2
render.js:170 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'terms')
[Detected 1 package: ready-set-roll-5e]
at _renderMultiRoll (render.js:170:29)
at _renderAttackRoll (render.js:230:12)
at RenderUtility.renderFromField (render.js:54:24)
at QuickRoll._render (quickroll.js:322:52)
at async QuickRoll.toMessage (quickroll.js:169:13)
at async _getItemRoll (roll.js:429:5)
at async RollUtility.rollItem (roll.js:189:16)
_renderMultiRoll @ render.js:170
_renderAttackRoll @ render.js:230
renderFromField @ render.js:54
_render @ quickroll.js:322
await in _render (async)
(anonymous) @ hooks.js:91
#call @ foundry.js:724
callAll @ foundry.js:681
use @ dnd5e.mjs:6981
await in use (async)
🎁call_wrapped @ lib-wrapper.js:1
rollItemWrapper @ roll.js:102
_itemProcessWrapper @ patching.js:149
_itemUse @ patching.js:111
🎁CONFIG.Item.documentClass.prototype.use#0 @ lib-wrapper.js:1
_onItemUse @ dnd5e.mjs:12504
(anonymous) @ dnd5e.mjs:12165
dispatch @ jquery.min.js:2
y.handle @ jquery.min.js:2
The text was updated successfully, but these errors were encountered: