Quantcast
Channel: RESX Manager
Viewing all articles
Browse latest Browse all 252

Commented Unassigned: null ref ex when store all to DB [3153]

$
0
0
2015-02-25 14:08:45,041 [4] ERROR ResourceManager.Client.MainForm [(null)] - Error while processing task.
System.AggregateException: One or more errors occurred. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at ResourceManager.Storage.TranslationStorageManager.<>c__DisplayClass14.<Store>b__8(KeyValuePair`2 data)
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Linq.Enumerable.Count[TSource](IEnumerable`1 source)
at ResourceManager.Storage.TranslationStorageManager.Store(VSSolution solution)
at ResourceManager.Client.MainForm.storeAllTranslations()
at System.Threading.Tasks.Task.Execute()
--- End of inner exception stack trace ---
---> (Inner Exception #0) System.NullReferenceException: Object reference not set to an instance of an object.
at ResourceManager.Storage.TranslationStorageManager.<>c__DisplayClass14.<Store>b__8(KeyValuePair`2 data)
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Linq.Enumerable.Count[TSource](IEnumerable`1 source)
at ResourceManager.Storage.TranslationStorageManager.Store(VSSolution solution)
at ResourceManager.Client.MainForm.storeAllTranslations()
at System.Threading.Tasks.Task.Execute()<---
Comments: ** Comment from web user: esinek **

The above ex happened when storing to local. I switched to full SQL Server and I got a lot further, but still I got the same null reference ex. I re-ran the store all action and again the error occurred. I checked the count on both the Translations and TranslationTexts tables and between the first and second store all, there was no change (1085 & 5609 respectively).
I then looked into the local DB I created originally and did the same count(*) on both tables and got the exact same results.
Perhaps it's time to download the source and give that a try


Viewing all articles
Browse latest Browse all 252

Trending Articles



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