I have Skinning package to HBProfile section, and I put the XML in the bots/professionbuddy/profiles folder. Every time I try to run the profile it gives the following error msg:
Err: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentNullException: Value cannot be null.
Parameter name: source
at System.Linq.Enumerable.Where[TSource](IEnumerable`1 source, Func`2 predicate)
at HighVoltz.Composites.CastSpellAction.CheckTradeskillList() in e:\Honorbuddy\Bots\ProfessionBuddy\Composites\CastSpellAction.cs:line 270
at HighVoltz.Composites.CastSpellAction..ctor() in e:\Honorbuddy\Bots\ProfessionBuddy\Composites\CastSpellAction.cs:line 110
--- End of inner exception stack trace ---
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)
at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.Activator.CreateInstance(Type type)
at HighVoltz.Composites.If.ReadXml(XmlReader reader) in e:\Honorbuddy\Bots\ProfessionBuddy\Composites\If.cs:line 273
at HighVoltz.Composites.If.ReadXml(XmlReader reader) in e:\Honorbuddy\Bots\ProfessionBuddy\Composites\If.cs:line 276
at HighVoltz.Composites.If.ReadXml(XmlReader reader) in e:\Honorbuddy\Bots\ProfessionBuddy\Composites\If.cs:line 276
at HighVoltz.Composites.If.ReadXml(XmlReader reader) in e:\Honorbuddy\Bots\ProfessionBuddy\Composites\If.cs:line 276
at HighVoltz.Composites.If.ReadXml(XmlReader reader) in e:\Honorbuddy\Bots\ProfessionBuddy\Composites\If.cs:line 276
at HighVoltz.Composites.PbDecorator.ReadXml(XmlReader reader) in e:\Honorbuddy\Bots\ProfessionBuddy\Composites\PbDecorator.cs:line 131
at HighVoltz.PbProfile.LoadFromFile(String path) in e:\Honorbuddy\Bots\ProfessionBuddy\PbProfile.cs:line 101
Please help! What am I doing wrong? Am I putting the files in the correct place?
Err: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentNullException: Value cannot be null.
Parameter name: source
at System.Linq.Enumerable.Where[TSource](IEnumerable`1 source, Func`2 predicate)
at HighVoltz.Composites.CastSpellAction.CheckTradeskillList() in e:\Honorbuddy\Bots\ProfessionBuddy\Composites\CastSpellAction.cs:line 270
at HighVoltz.Composites.CastSpellAction..ctor() in e:\Honorbuddy\Bots\ProfessionBuddy\Composites\CastSpellAction.cs:line 110
--- End of inner exception stack trace ---
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)
at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.Activator.CreateInstance(Type type)
at HighVoltz.Composites.If.ReadXml(XmlReader reader) in e:\Honorbuddy\Bots\ProfessionBuddy\Composites\If.cs:line 273
at HighVoltz.Composites.If.ReadXml(XmlReader reader) in e:\Honorbuddy\Bots\ProfessionBuddy\Composites\If.cs:line 276
at HighVoltz.Composites.If.ReadXml(XmlReader reader) in e:\Honorbuddy\Bots\ProfessionBuddy\Composites\If.cs:line 276
at HighVoltz.Composites.If.ReadXml(XmlReader reader) in e:\Honorbuddy\Bots\ProfessionBuddy\Composites\If.cs:line 276
at HighVoltz.Composites.If.ReadXml(XmlReader reader) in e:\Honorbuddy\Bots\ProfessionBuddy\Composites\If.cs:line 276
at HighVoltz.Composites.PbDecorator.ReadXml(XmlReader reader) in e:\Honorbuddy\Bots\ProfessionBuddy\Composites\PbDecorator.cs:line 131
at HighVoltz.PbProfile.LoadFromFile(String path) in e:\Honorbuddy\Bots\ProfessionBuddy\PbProfile.cs:line 101
Please help! What am I doing wrong? Am I putting the files in the correct place?
Last edited: