Cannot read property 'clamp' of null

Metrux

Warper
Member
Joined
Apr 12, 2016
Messages
1
Reaction score
0
First Language
Portuguese
Primarily Uses
Okay, I got a bug that I've never seen before, and after searching on google, discovered no one talked about it before.


I am using several Yanfly plugins, although I already tested with most relevant plugin (as in it has anything to do with items or equipment) and it kept appearing.


My issue comes with an equipment slot, when you equip something in it, first the values appear wrong. Then, when you try to change or use another equip slot, it crashes  with the message "Cannot read property 'clamp' of null".


Error Report:

TypeError: Cannot read property 'clamp' of null
    at Game_Actor.Game_BattlerBase.refresh (rpg_objects.js:2603)
    at Game_Actor.Game_BattlerBase.refresh (YEP_ExtraParamFormula.js:497)
    at Game_Actor.Game_BattlerBase.refresh (YEP_EnhancedTP.js:2815)
    at Game_Actor.Game_Battler.refresh (rpg_objects.js:2988)
    at Game_Actor.Game_Battler.refresh (YEP_BaseParamControl.js:913)
    at Game_Actor.Game_Battler.refresh (YEP_X_CounterControl.js:1453)
    at Game_Actor.refresh (rpg_objects.js:3742)
    at Game_Actor.refresh (YEP_EquipBattleSkills.js:565)
    at Game_Actor.refresh (YEP_ClassChangeCore.js:547)
    at Game_Actor.forceChangeEquip (rpg_objects.js:3626)rpg_managers.js:1618 SceneManager.catchExceptionrpg_managers.js:1579 SceneManager.update



Since I don't know how to make/put here a sample project, I'll be sending a mediafire link:


http://www.mediafire.com/download/130ykud9ldh4gl9/Guild_Hunter.rar


Does anyone have a clue about what the issue is?


The only still active and relevant plugins are:


 YEP_CoreEngine


 YEP_MainMenuManager


 YEP_BaseParamControl


 YEP_ItemCore


 YEP_EquipCore


 YEP_X_CounterControl
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,676
First Language
German
Primarily Uses
RMMV
first, your list of active and relevant plugins is wrong - the error message itself lists all involved plugins, and there are several involved that are missing in your list. And they couldn't be listed if they weren't active.


second, this is a plugin support, npt general MV support


I've moved this thread to Plugin Support. Please be sure to post your threads in the correct forum next time. Thank you.


I also suggest giving links to all involved plugins, that will speed up search.


third: cannot read property of null means that some data is not initialised.


This can either be a missing configuration (incomplete tahs in database for the equipment), an incompatibility between two plugins (unlikely unless you missed an update as everything is from one scripter) or using an old (and incompatible) savefile instead of starting a new game.


The only possibility left for script incompatibility is if you placed Yanfly's plugins in the wrong order - please check his order on his website for this possibility.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD

Forum statistics

Threads
105,868
Messages
1,017,078
Members
137,580
Latest member
Snavi
Top