Quantcast
Channel: Tweetinvi a friendly Twitter C# library
Viewing all articles
Browse latest Browse all 4126

Closed Unassigned: "Value cannot be null. Parameter name: path" exception [2079]

$
0
0
When streaming for more than one word at a time, a TweetinviException returns that says "Value cannot be null. Parameter name: path". I looked for the error from the "Watch" in visual studio Debug Mode and found that the error's source is "mscorlib". I always get this error at first stream request. After i get this error and re request stream, error does not happen again. How can i solve this problem?

My Target Framework is 4.5 and building in visual studio c#. Also my tweetinvi version is 0.8.3.1

Also my StackTrace is like below:

at System.IO.Path.CheckInvalidPathChars(String path, Boolean checkAdditional)
at System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, AccessControlActions control, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList)
at System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList)
at System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess access, String path)
at System.Configuration.UriSectionReader.GetSectionData()
at System.Configuration.UriSectionInternal.LoadUsingCustomParser(String appConfigFilePath)
at System.Configuration.UriSectionInternal.GetSection()
at System.Uri.InitializeUriConfig()
at System.Uri.InitializeUri(ParsingError err, UriKind uriKind, UriFormatException& e)
at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
at oAuthConnection.OAuthWebRequestGenerator.GenerateWebRequest(String url, HttpMethod httpMethod, IEnumerable`1 parameters) in c:\Users\timart\Downloads\tweetinvi-32122\oAuthConnection\OAuthWebRequestGenerator.cs:line 154
at oAuthConnection.OAuthToken.GetQueryWebRequest(String url, HttpMethod httpMethod, IEnumerable`1 headers) in c:\Users\timart\Downloads\tweetinvi-32122\oAuthConnection\OAuthToken.cs:line 113
at Streaminvi.FilteredStream.<>c__DisplayClass17.<StartStream>b__14() in c:\Users\timart\Downloads\tweetinvi-32122\Streaminvi\FilteredStream.cs:line 363
at Streaminvi.Helpers.StreamResultGenerator.StartStream(Func`2 processObject, Func`1 generateWebRequest) in c:\Users\timart\Downloads\tweetinvi-32122\Streaminvi\Helpers\StreamResultGenerator.cs:line 73
at Streaminvi.FilteredStream.StartStreamReportingMatchingKeywords(Func`3 processTweetDelegate, Func`2 tweetIsValid, Func`1 generateWebRequest) in c:\Users\timart\Downloads\tweetinvi-32122\Streaminvi\FilteredStream.cs:line 390
at Streaminvi.FilteredStream.StartStream(IToken token, Func`3 processTweetDelegate) in c:\Users\timart\Downloads\tweetinvi-32122\Streaminvi\FilteredStream.cs:line 365
at Streaminvi.BaseTrackedStream.StartStream(IToken token, Action`2 processTweetDelegate) in c:\Users\timart\Downloads\tweetinvi-32122\Streaminvi\BaseTrackedStream.cs:line 21
at ShopServer.Operations.TweetInViStream.<>c__DisplayClass6.<StreamFilterBasicTrackExample>b__4() in d:\Projects\TweeterProject\ComplexServer\ComplexServer\GameServer\Operations\TweetInViStream.cs:line 174
at Tweetinvi.TwitterContext.TryInvokeAction(Action action) in c:\Users\Asus\Desktop\Tweetinvi - Source Code - 0.8.3.1\Tools\TwitterContext.cs:line 90
Comments: No response from the user

Viewing all articles
Browse latest Browse all 4126

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>