#1377 closed defect (fixed)
Error when using healers
Reported by: | Erik Johansson | Owned by: | |
---|---|---|---|
Priority: | Should Have | Milestone: | Alpha 10 |
Component: | UI & Simulation | Keywords: | |
Cc: | Patch: |
Description (last modified by )
Please note that it could very well be due to me using an autobuilt .exe, I don't have time to get everything setup to compile at the moment, but on the other hand I can't remember there being any healer related commits since the last autobuild.
Either way here's the error message/s:
ERROR: JavaScript error: simulation/components/Heal.js line 51 TypeError : cmpTechMan is null ()@simulation/components/ Heal.js:51 (50)@simulation/components/ UnitAI.js:2991 ()@simulation/components/ UnitAI.js:1843 ([object Object])@simulation/components/ UnitAI.js:1762 ERROR: Script message handler OnOwnershipChanged failed ERROR: CCmpRangeManager: DestroyActiveQuery called with invalid tag 779 ERROR: JavaScript error: simulation/components/Heal.js line 51 TypeError : cmpTechMan is null ()@simulation/components/ Heal.js:51 (50)@simulation/components/ UnitAI.js:2991 ()@simulation/components/ UnitAI.js:1843 ([object Object])@simulation/components/ UnitAI.js:1762 ERROR: Script message handler OnOwnershipChanged failed ERROR: CCmpRangeManager: DestroyActiveQuery called with invalid tag 781 ERROR: JavaScript error: simulation/components/Heal.js line 51 TypeError : cmpTechMan is null ()@simulation/components/ Heal.js:51 (50)@simulation/components/ UnitAI.js:2991 ()@simulation/components/ UnitAI.js:1843 ([object Object])@simulation/components/ UnitAI.js:1762 ERROR: Script message handler OnOwnershipChanged failed ERROR: CCmpRangeManager: DestroyActiveQuery called with invalid tag 1320 ERROR: JavaScript error: simulation/components/Heal.js line 51 TypeError : cmpTechMan is null ()@simulation/components/ Heal.js:51 (50)@simulation/components/ UnitAI.js:2991 ()@simulation/components/ UnitAI.js:1843 ([object Object])@simulation/components/ UnitAI.js:1762 ERROR: Script message handler OnOwnershipChanged failed ERROR: CCmpRangeManager: DestroyActiveQuery called with invalid tag 1304 Engine exited successfully on 2012-05-03 at 21:42:01 with 866 message(s), 12 error(s) and 0 warning(s).
As far as I can tell there shouldn't be anything weird in what I'm doing, or rather not doing as the above does appear when the healers automatically move from target to target. As said before I'm using the autobuilt .exe, and revision 11725
Change History (6)
comment:1 by , 12 years ago
Description: | modified (diff) |
---|
comment:2 by , 12 years ago
comment:3 by , 12 years ago
Component: | Core engine → UI & Simulation |
---|---|
Milestone: | Backlog → Alpha 10 |
I couldn't reproduce the issue, but I assume the errors come from a healer dying. (Before doing that its owner changes to -1, hence there is no TechnologyManager available. r11697 contained the same code for units with the Attack component.)
If you don't get this error anymore please close this ticket.
comment:4 by , 12 years ago
I'll test it right away :) (Or I'm installing VisualC++Express first so I can compile myself, but once I've built the game I will test it :) )
comment:5 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Tested and didn't run into it so I'll close this ticket :) Great work fixing all these things :)
In 11749: