Hi,
Here is the complete error and stacktrace:
Arne Claerebout
Here is the complete error and stacktrace:
System.ArgumentNullException was unhandled
HResult=-2147467261
Message=Parameter type inference does not work for null values. Indicate the parameter type explicitly using a properly configured instance of the InjectionParameter or InjectionParameter<T> classes.
Parameter name: parameterValue
Source=Tweetinvi.API
ParamName=parameterValue
StackTrace:
at Microsoft.Practices.Unity.InjectionParameter.GetParameterType(Object parameterValue)
at Microsoft.Practices.Unity.InjectionParameter..ctor(Object parameterValue)
at Microsoft.Practices.Unity.InjectionParameterValue.ToParameter(Object value)
at Microsoft.Practices.Unity.ParameterOverride..ctor(String parameterName, Object parameterValue)
at TweetinviLogic.Wrapper.ParameterOverrideWrapper.get_ResolverOverride()
at TweetinviFactories.UnityFactory`1.<Create>b__0(IResolverOverrideWrapper w)
at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()
at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
at TweetinviFactories.UnityFactory`1.Create(IResolverOverrideWrapper[] resolverOverrideWrappers)
at TweetinviFactories.Direct_Messages.MessageFactory.GenerateMessageFromMessageDTO(IMessageDTO messageDTO)
at TweetinviControllers.Messages.MessageController.PublishMessage(IMessageDTO messageDTO)
at TweetinviLogic.Message.Publish()
at Social_Media_Publisher.Program.PostOnTwitter(String message) in c:\Dropbox\Software\Social Media Publisher\Social Media Publisher\Social Media Publisher\Program.cs:line 70
at Social_Media_Publisher.Program.Main(String[] args) in c:\Dropbox\Software\Social Media Publisher\Social Media Publisher\Social Media Publisher\Program.cs:line 23
at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
InnerException:
Kind regards,Arne Claerebout