tAPI Mantis Bugtracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000169tAPIMod handlingpublic2015-06-10 13:062015-06-10 13:22
Assigned ToShockah 
PlatformPCOSWindowsOS Version7
Product Version1.2.4.1 r15 
Target VersionFixed in Version1.2.4.1 r16 
Summary0000169: tAPI crashes if you inherit from an external dll class
DescriptionIf a class extends one from a referenced dll, tAPI crashes
at Mod.Load() in the HandleModFile delegate
at "Loading Assembly" ReflectionHelper.FindSubclasses(assembly, typeof(ModBase));
at assembly.GetTypes()

GetTypes crashes because the required dlls are not loaded for all classes yet

fix: ignore all erroring classes
http://stackoverflow.com/questions/11915389/assembly-gettypes-throwing-an-exception [^]
Steps To Reproduceextend a class from referenced dll
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2015-06-10 13:06 LolHens New Issue
2015-06-10 13:22 Shockah Status new => resolved
2015-06-10 13:22 Shockah Fixed in Version => r16
2015-06-10 13:22 Shockah Resolution open => fixed
2015-06-10 13:22 Shockah Assigned To => Shockah

Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker