<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>raptordb Issue Tracker Rss Feed</title><link>https://raptordb.codeplex.com/workitem/list/basic</link><description>raptordb Issue Tracker Rss Description</description><item><title>Created Issue: Not on Nuget [5]</title><link>http://raptordb.codeplex.com/workitem/5</link><description>This seems like such a great database lib that it really should be on Nuget&amp;#33;&lt;br /&gt;</description><author>seer_tenedos</author><pubDate>Thu, 08 Nov 2012 08:32:09 GMT</pubDate><guid isPermaLink="false">Created Issue: Not on Nuget [5] 20121108083209A</guid></item><item><title>Closed Issue: Query error when using non-simple variable [4]</title><link>http://raptordb.codeplex.com/workitem/4</link><description>When using a LINQ query such as raptor.Query&amp;#40;..., o &amp;#61;&amp;#62; o.MyValue &amp;#61;&amp;#61; someObject.SomeProperty&amp;#41;&amp;#59; it crashes with &amp;#34;Object must implement IConvertible&amp;#34; near Indexes.cs&amp;#58;31. It seems that it tries to evaluate the object instead of retrieving the member.&lt;br /&gt;&lt;br /&gt;The following patch seems to resolve that issue. It probably doesn&amp;#39;t cover all cases, but it&amp;#39;s a step in the right direction I think.&lt;br /&gt;&lt;br /&gt;RaptorDB&amp;#47;Views&amp;#47;LINQQuery.cs in VisitMember&amp;#58;&lt;br /&gt;&amp;#64;&amp;#64; -90,11 &amp;#43;90,17 &amp;#64;&amp;#64;&lt;br /&gt;                     BindingFlags.Instance &amp;#124;&lt;br /&gt;                     BindingFlags.Static, null, c.Value, null&amp;#41;&amp;#59;&lt;br /&gt;                 _stack.Push&amp;#40;x&amp;#41;&amp;#59;&lt;br /&gt;-            &amp;#125;&lt;br /&gt;-            if &amp;#40;m.Expression &amp;#33;&amp;#61; null &amp;#38;&amp;#38; m.Expression.NodeType &amp;#61;&amp;#61; ExpressionType.Parameter&amp;#41;&lt;br /&gt;-            &amp;#123;&lt;br /&gt;-                _stack.Push&amp;#40;m.Member.Name&amp;#41;&amp;#59;&lt;br /&gt;-                return e&amp;#59;&lt;br /&gt;&amp;#43;            &amp;#125;&lt;br /&gt;&amp;#43;            if &amp;#40;m.Expression &amp;#33;&amp;#61; null&amp;#41;&lt;br /&gt;&amp;#43;            &amp;#123;&lt;br /&gt;&amp;#43;                if &amp;#40;m.Expression.NodeType &amp;#61;&amp;#61; ExpressionType.Parameter&amp;#41;&lt;br /&gt;&amp;#43;                    _stack.Push&amp;#40;m.Member.Name&amp;#41;&amp;#59;&lt;br /&gt;&amp;#43;                if &amp;#40;m.Expression.NodeType &amp;#61;&amp;#61; ExpressionType.MemberAccess&amp;#41;&lt;br /&gt;&amp;#43;                &amp;#123;&lt;br /&gt;&amp;#43;                    Type t &amp;#61; m.Expression.Type&amp;#59;&lt;br /&gt;&amp;#43;                    var val &amp;#61; t.InvokeMember&amp;#40;m.Member.Name, BindingFlags.GetProperty, null, _stack.Pop&amp;#40;&amp;#41;, null&amp;#41;&amp;#59;&lt;br /&gt;&amp;#43;                    _stack.Push&amp;#40;val&amp;#41;&amp;#59;&lt;br /&gt;&amp;#43;                &amp;#125;&lt;br /&gt;             &amp;#125;&lt;br /&gt;             return e&amp;#59;&lt;br /&gt;         &amp;#125;&lt;br /&gt;&lt;br /&gt;I&amp;#39;m using Mercurial, so you might have to patch manually.&lt;br /&gt;</description><author>MGholam</author><pubDate>Tue, 25 Sep 2012 19:34:16 GMT</pubDate><guid isPermaLink="false">Closed Issue: Query error when using non-simple variable [4] 20120925073416P</guid></item><item><title>Commented Issue: Query error when using non-simple variable [4]</title><link>http://raptordb.codeplex.com/workitem/4</link><description>When using a LINQ query such as raptor.Query&amp;#40;..., o &amp;#61;&amp;#62; o.MyValue &amp;#61;&amp;#61; someObject.SomeProperty&amp;#41;&amp;#59; it crashes with &amp;#34;Object must implement IConvertible&amp;#34; near Indexes.cs&amp;#58;31. It seems that it tries to evaluate the object instead of retrieving the member.&lt;br /&gt;&lt;br /&gt;The following patch seems to resolve that issue. It probably doesn&amp;#39;t cover all cases, but it&amp;#39;s a step in the right direction I think.&lt;br /&gt;&lt;br /&gt;RaptorDB&amp;#47;Views&amp;#47;LINQQuery.cs in VisitMember&amp;#58;&lt;br /&gt;&amp;#64;&amp;#64; -90,11 &amp;#43;90,17 &amp;#64;&amp;#64;&lt;br /&gt;                     BindingFlags.Instance &amp;#124;&lt;br /&gt;                     BindingFlags.Static, null, c.Value, null&amp;#41;&amp;#59;&lt;br /&gt;                 _stack.Push&amp;#40;x&amp;#41;&amp;#59;&lt;br /&gt;-            &amp;#125;&lt;br /&gt;-            if &amp;#40;m.Expression &amp;#33;&amp;#61; null &amp;#38;&amp;#38; m.Expression.NodeType &amp;#61;&amp;#61; ExpressionType.Parameter&amp;#41;&lt;br /&gt;-            &amp;#123;&lt;br /&gt;-                _stack.Push&amp;#40;m.Member.Name&amp;#41;&amp;#59;&lt;br /&gt;-                return e&amp;#59;&lt;br /&gt;&amp;#43;            &amp;#125;&lt;br /&gt;&amp;#43;            if &amp;#40;m.Expression &amp;#33;&amp;#61; null&amp;#41;&lt;br /&gt;&amp;#43;            &amp;#123;&lt;br /&gt;&amp;#43;                if &amp;#40;m.Expression.NodeType &amp;#61;&amp;#61; ExpressionType.Parameter&amp;#41;&lt;br /&gt;&amp;#43;                    _stack.Push&amp;#40;m.Member.Name&amp;#41;&amp;#59;&lt;br /&gt;&amp;#43;                if &amp;#40;m.Expression.NodeType &amp;#61;&amp;#61; ExpressionType.MemberAccess&amp;#41;&lt;br /&gt;&amp;#43;                &amp;#123;&lt;br /&gt;&amp;#43;                    Type t &amp;#61; m.Expression.Type&amp;#59;&lt;br /&gt;&amp;#43;                    var val &amp;#61; t.InvokeMember&amp;#40;m.Member.Name, BindingFlags.GetProperty, null, _stack.Pop&amp;#40;&amp;#41;, null&amp;#41;&amp;#59;&lt;br /&gt;&amp;#43;                    _stack.Push&amp;#40;val&amp;#41;&amp;#59;&lt;br /&gt;&amp;#43;                &amp;#125;&lt;br /&gt;             &amp;#125;&lt;br /&gt;             return e&amp;#59;&lt;br /&gt;         &amp;#125;&lt;br /&gt;&lt;br /&gt;I&amp;#39;m using Mercurial, so you might have to patch manually.&lt;br /&gt;Comments: I have to do the same in LINQString.cs also, which generates a string for server mode, I am having trouble with reflecting the value...</description><author>MGholam</author><pubDate>Tue, 14 Aug 2012 13:17:01 GMT</pubDate><guid isPermaLink="false">Commented Issue: Query error when using non-simple variable [4] 20120814011701P</guid></item><item><title>Commented Issue: Query error when using non-simple variable [4]</title><link>http://raptordb.codeplex.com/workitem/4</link><description>When using a LINQ query such as raptor.Query&amp;#40;..., o &amp;#61;&amp;#62; o.MyValue &amp;#61;&amp;#61; someObject.SomeProperty&amp;#41;&amp;#59; it crashes with &amp;#34;Object must implement IConvertible&amp;#34; near Indexes.cs&amp;#58;31. It seems that it tries to evaluate the object instead of retrieving the member.&lt;br /&gt;&lt;br /&gt;The following patch seems to resolve that issue. It probably doesn&amp;#39;t cover all cases, but it&amp;#39;s a step in the right direction I think.&lt;br /&gt;&lt;br /&gt;RaptorDB&amp;#47;Views&amp;#47;LINQQuery.cs in VisitMember&amp;#58;&lt;br /&gt;&amp;#64;&amp;#64; -90,11 &amp;#43;90,17 &amp;#64;&amp;#64;&lt;br /&gt;                     BindingFlags.Instance &amp;#124;&lt;br /&gt;                     BindingFlags.Static, null, c.Value, null&amp;#41;&amp;#59;&lt;br /&gt;                 _stack.Push&amp;#40;x&amp;#41;&amp;#59;&lt;br /&gt;-            &amp;#125;&lt;br /&gt;-            if &amp;#40;m.Expression &amp;#33;&amp;#61; null &amp;#38;&amp;#38; m.Expression.NodeType &amp;#61;&amp;#61; ExpressionType.Parameter&amp;#41;&lt;br /&gt;-            &amp;#123;&lt;br /&gt;-                _stack.Push&amp;#40;m.Member.Name&amp;#41;&amp;#59;&lt;br /&gt;-                return e&amp;#59;&lt;br /&gt;&amp;#43;            &amp;#125;&lt;br /&gt;&amp;#43;            if &amp;#40;m.Expression &amp;#33;&amp;#61; null&amp;#41;&lt;br /&gt;&amp;#43;            &amp;#123;&lt;br /&gt;&amp;#43;                if &amp;#40;m.Expression.NodeType &amp;#61;&amp;#61; ExpressionType.Parameter&amp;#41;&lt;br /&gt;&amp;#43;                    _stack.Push&amp;#40;m.Member.Name&amp;#41;&amp;#59;&lt;br /&gt;&amp;#43;                if &amp;#40;m.Expression.NodeType &amp;#61;&amp;#61; ExpressionType.MemberAccess&amp;#41;&lt;br /&gt;&amp;#43;                &amp;#123;&lt;br /&gt;&amp;#43;                    Type t &amp;#61; m.Expression.Type&amp;#59;&lt;br /&gt;&amp;#43;                    var val &amp;#61; t.InvokeMember&amp;#40;m.Member.Name, BindingFlags.GetProperty, null, _stack.Pop&amp;#40;&amp;#41;, null&amp;#41;&amp;#59;&lt;br /&gt;&amp;#43;                    _stack.Push&amp;#40;val&amp;#41;&amp;#59;&lt;br /&gt;&amp;#43;                &amp;#125;&lt;br /&gt;             &amp;#125;&lt;br /&gt;             return e&amp;#59;&lt;br /&gt;         &amp;#125;&lt;br /&gt;&lt;br /&gt;I&amp;#39;m using Mercurial, so you might have to patch manually.&lt;br /&gt;Comments: Ah never mind, looks like you got it in 1.8.2.</description><author>jdluzen</author><pubDate>Tue, 14 Aug 2012 12:57:30 GMT</pubDate><guid isPermaLink="false">Commented Issue: Query error when using non-simple variable [4] 20120814125730P</guid></item><item><title>Commented Issue: Query error when using non-simple variable [4]</title><link>http://raptordb.codeplex.com/workitem/4</link><description>When using a LINQ query such as raptor.Query&amp;#40;..., o &amp;#61;&amp;#62; o.MyValue &amp;#61;&amp;#61; someObject.SomeProperty&amp;#41;&amp;#59; it crashes with &amp;#34;Object must implement IConvertible&amp;#34; near Indexes.cs&amp;#58;31. It seems that it tries to evaluate the object instead of retrieving the member.&lt;br /&gt;&lt;br /&gt;The following patch seems to resolve that issue. It probably doesn&amp;#39;t cover all cases, but it&amp;#39;s a step in the right direction I think.&lt;br /&gt;&lt;br /&gt;RaptorDB&amp;#47;Views&amp;#47;LINQQuery.cs in VisitMember&amp;#58;&lt;br /&gt;&amp;#64;&amp;#64; -90,11 &amp;#43;90,17 &amp;#64;&amp;#64;&lt;br /&gt;                     BindingFlags.Instance &amp;#124;&lt;br /&gt;                     BindingFlags.Static, null, c.Value, null&amp;#41;&amp;#59;&lt;br /&gt;                 _stack.Push&amp;#40;x&amp;#41;&amp;#59;&lt;br /&gt;-            &amp;#125;&lt;br /&gt;-            if &amp;#40;m.Expression &amp;#33;&amp;#61; null &amp;#38;&amp;#38; m.Expression.NodeType &amp;#61;&amp;#61; ExpressionType.Parameter&amp;#41;&lt;br /&gt;-            &amp;#123;&lt;br /&gt;-                _stack.Push&amp;#40;m.Member.Name&amp;#41;&amp;#59;&lt;br /&gt;-                return e&amp;#59;&lt;br /&gt;&amp;#43;            &amp;#125;&lt;br /&gt;&amp;#43;            if &amp;#40;m.Expression &amp;#33;&amp;#61; null&amp;#41;&lt;br /&gt;&amp;#43;            &amp;#123;&lt;br /&gt;&amp;#43;                if &amp;#40;m.Expression.NodeType &amp;#61;&amp;#61; ExpressionType.Parameter&amp;#41;&lt;br /&gt;&amp;#43;                    _stack.Push&amp;#40;m.Member.Name&amp;#41;&amp;#59;&lt;br /&gt;&amp;#43;                if &amp;#40;m.Expression.NodeType &amp;#61;&amp;#61; ExpressionType.MemberAccess&amp;#41;&lt;br /&gt;&amp;#43;                &amp;#123;&lt;br /&gt;&amp;#43;                    Type t &amp;#61; m.Expression.Type&amp;#59;&lt;br /&gt;&amp;#43;                    var val &amp;#61; t.InvokeMember&amp;#40;m.Member.Name, BindingFlags.GetProperty, null, _stack.Pop&amp;#40;&amp;#41;, null&amp;#41;&amp;#59;&lt;br /&gt;&amp;#43;                    _stack.Push&amp;#40;val&amp;#41;&amp;#59;&lt;br /&gt;&amp;#43;                &amp;#125;&lt;br /&gt;             &amp;#125;&lt;br /&gt;             return e&amp;#59;&lt;br /&gt;         &amp;#125;&lt;br /&gt;&lt;br /&gt;I&amp;#39;m using Mercurial, so you might have to patch manually.&lt;br /&gt;Comments: Applying the patch itself&amp;#63;</description><author>jdluzen</author><pubDate>Tue, 14 Aug 2012 12:53:56 GMT</pubDate><guid isPermaLink="false">Commented Issue: Query error when using non-simple variable [4] 20120814125356P</guid></item><item><title>Commented Issue: Query error when using non-simple variable [4]</title><link>http://raptordb.codeplex.com/workitem/4</link><description>When using a LINQ query such as raptor.Query&amp;#40;..., o &amp;#61;&amp;#62; o.MyValue &amp;#61;&amp;#61; someObject.SomeProperty&amp;#41;&amp;#59; it crashes with &amp;#34;Object must implement IConvertible&amp;#34; near Indexes.cs&amp;#58;31. It seems that it tries to evaluate the object instead of retrieving the member.&lt;br /&gt;&lt;br /&gt;The following patch seems to resolve that issue. It probably doesn&amp;#39;t cover all cases, but it&amp;#39;s a step in the right direction I think.&lt;br /&gt;&lt;br /&gt;RaptorDB&amp;#47;Views&amp;#47;LINQQuery.cs in VisitMember&amp;#58;&lt;br /&gt;&amp;#64;&amp;#64; -90,11 &amp;#43;90,17 &amp;#64;&amp;#64;&lt;br /&gt;                     BindingFlags.Instance &amp;#124;&lt;br /&gt;                     BindingFlags.Static, null, c.Value, null&amp;#41;&amp;#59;&lt;br /&gt;                 _stack.Push&amp;#40;x&amp;#41;&amp;#59;&lt;br /&gt;-            &amp;#125;&lt;br /&gt;-            if &amp;#40;m.Expression &amp;#33;&amp;#61; null &amp;#38;&amp;#38; m.Expression.NodeType &amp;#61;&amp;#61; ExpressionType.Parameter&amp;#41;&lt;br /&gt;-            &amp;#123;&lt;br /&gt;-                _stack.Push&amp;#40;m.Member.Name&amp;#41;&amp;#59;&lt;br /&gt;-                return e&amp;#59;&lt;br /&gt;&amp;#43;            &amp;#125;&lt;br /&gt;&amp;#43;            if &amp;#40;m.Expression &amp;#33;&amp;#61; null&amp;#41;&lt;br /&gt;&amp;#43;            &amp;#123;&lt;br /&gt;&amp;#43;                if &amp;#40;m.Expression.NodeType &amp;#61;&amp;#61; ExpressionType.Parameter&amp;#41;&lt;br /&gt;&amp;#43;                    _stack.Push&amp;#40;m.Member.Name&amp;#41;&amp;#59;&lt;br /&gt;&amp;#43;                if &amp;#40;m.Expression.NodeType &amp;#61;&amp;#61; ExpressionType.MemberAccess&amp;#41;&lt;br /&gt;&amp;#43;                &amp;#123;&lt;br /&gt;&amp;#43;                    Type t &amp;#61; m.Expression.Type&amp;#59;&lt;br /&gt;&amp;#43;                    var val &amp;#61; t.InvokeMember&amp;#40;m.Member.Name, BindingFlags.GetProperty, null, _stack.Pop&amp;#40;&amp;#41;, null&amp;#41;&amp;#59;&lt;br /&gt;&amp;#43;                    _stack.Push&amp;#40;val&amp;#41;&amp;#59;&lt;br /&gt;&amp;#43;                &amp;#125;&lt;br /&gt;             &amp;#125;&lt;br /&gt;             return e&amp;#59;&lt;br /&gt;         &amp;#125;&lt;br /&gt;&lt;br /&gt;I&amp;#39;m using Mercurial, so you might have to patch manually.&lt;br /&gt;Comments: I can&amp;#39;t get it to work in LINQString.cs</description><author>MGholam</author><pubDate>Tue, 14 Aug 2012 08:20:19 GMT</pubDate><guid isPermaLink="false">Commented Issue: Query error when using non-simple variable [4] 20120814082019A</guid></item><item><title>Commented Issue: Probable I/O race condition detected while copying memory [3]</title><link>http://raptordb.codeplex.com/workitem/3</link><description>I&amp;#39;m using raptordb-8cae451eb90e, but this error still occurs when I insert more records into a database of 500,000 records&amp;#58;&lt;br /&gt;&lt;br /&gt;A Task&amp;#39;s exception&amp;#40;s&amp;#41; were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread.&lt;br /&gt;&lt;br /&gt;Probable I&amp;#47;O race condition detected while copying memory. The I&amp;#47;O package is not thread safe by default. In multithreaded applications, a stream must be accessed in a thread-safe way, such as a thread-safe wrapper returned by TextReader&amp;#39;s or TextWriter&amp;#39;s Synchronized methods. This also applies to classes like StreamWriter and StreamReader.&lt;br /&gt;&lt;br /&gt;at System.Buffer.InternalBlockCopy&amp;#40;Array src, Int32 srcOffsetBytes, Array dst, Int32 dstOffsetBytes, Int32 byteCount&amp;#41;&lt;br /&gt;   at System.IO.FileStream.Read&amp;#40;Byte&amp;#91;&amp;#93; array, Int32 offset, Int32 count&amp;#41;&lt;br /&gt;   at RaptorDB.BitmapIndex.internalGetBitmap&amp;#40;Int32 recno&amp;#41; in D&amp;#58;&amp;#92;RaptorDB&amp;#92;RaptorDB_doc_v1.6&amp;#92;RaptorDB&amp;#92;Indexes&amp;#92;BitmapIndex.cs&amp;#58;line 194&lt;br /&gt;   at RaptorDB.MGIndex&amp;#96;1.doEqualOp&amp;#40;RDBExpression exp, T key&amp;#41; in D&amp;#58;&amp;#92;RaptorDB&amp;#92;RaptorDB_doc_v1.6&amp;#92;RaptorDB&amp;#92;Indexes&amp;#92;MGIndex.cs&amp;#58;line 338&lt;br /&gt;   at RaptorDB.MGIndex&amp;#96;1.Query&amp;#40;RDBExpression exp, T from&amp;#41; in D&amp;#58;&amp;#92;RaptorDB&amp;#92;RaptorDB_doc_v1.6&amp;#92;RaptorDB&amp;#92;Indexes&amp;#92;MGIndex.cs&amp;#58;line 113&lt;br /&gt;   at RaptorDB.TypeIndexes&amp;#96;1.Query&amp;#40;RDBExpression ex, Object from&amp;#41; in D&amp;#58;&amp;#92;RaptorDB&amp;#92;RaptorDB_doc_v1.6&amp;#92;RaptorDB&amp;#92;Indexes&amp;#92;Indexes.cs&amp;#58;line 34&lt;br /&gt;   at RaptorDB.Views.ViewHandler.SaveAndIndex&amp;#40;Dictionary&amp;#96;2 rows&amp;#41; in D&amp;#58;&amp;#92;RaptorDB&amp;#92;RaptorDB_doc_v1.6&amp;#92;RaptorDB&amp;#92;Views&amp;#92;ViewHandler.cs&amp;#58;line 148&lt;br /&gt;   at RaptorDB.Views.ViewHandler.Insert&amp;#91;T&amp;#93;&amp;#40;Guid guid, T doc&amp;#41; in D&amp;#58;&amp;#92;RaptorDB&amp;#92;RaptorDB_doc_v1.6&amp;#92;RaptorDB&amp;#92;Views&amp;#92;ViewHandler.cs&amp;#58;line 140&lt;br /&gt;   at RaptorDB.Views.ViewManager.&amp;#60;&amp;#62;c__DisplayClass2&amp;#96;1.&amp;#60;Insert&amp;#62;b__0&amp;#40;&amp;#41; in D&amp;#58;&amp;#92;RaptorDB&amp;#92;RaptorDB_doc_v1.6&amp;#92;RaptorDB&amp;#92;Views&amp;#92;ViewManager.cs&amp;#58;line 111&lt;br /&gt;   at System.Threading.Tasks.Task.InnerInvoke&amp;#40;&amp;#41;&lt;br /&gt;   at System.Threading.Tasks.Task.Execute&amp;#40;&amp;#41;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Comments: Checkout v1.8.2 </description><author>MGholam</author><pubDate>Tue, 14 Aug 2012 08:19:04 GMT</pubDate><guid isPermaLink="false">Commented Issue: Probable I/O race condition detected while copying memory [3] 20120814081904A</guid></item><item><title>Commented Issue: Query error when using non-simple variable [4]</title><link>http://raptordb.codeplex.com/workitem/4</link><description>When using a LINQ query such as raptor.Query&amp;#40;..., o &amp;#61;&amp;#62; o.MyValue &amp;#61;&amp;#61; someObject.SomeProperty&amp;#41;&amp;#59; it crashes with &amp;#34;Object must implement IConvertible&amp;#34; near Indexes.cs&amp;#58;31. It seems that it tries to evaluate the object instead of retrieving the member.&lt;br /&gt;&lt;br /&gt;The following patch seems to resolve that issue. It probably doesn&amp;#39;t cover all cases, but it&amp;#39;s a step in the right direction I think.&lt;br /&gt;&lt;br /&gt;RaptorDB&amp;#47;Views&amp;#47;LINQQuery.cs in VisitMember&amp;#58;&lt;br /&gt;&amp;#64;&amp;#64; -90,11 &amp;#43;90,17 &amp;#64;&amp;#64;&lt;br /&gt;                     BindingFlags.Instance &amp;#124;&lt;br /&gt;                     BindingFlags.Static, null, c.Value, null&amp;#41;&amp;#59;&lt;br /&gt;                 _stack.Push&amp;#40;x&amp;#41;&amp;#59;&lt;br /&gt;-            &amp;#125;&lt;br /&gt;-            if &amp;#40;m.Expression &amp;#33;&amp;#61; null &amp;#38;&amp;#38; m.Expression.NodeType &amp;#61;&amp;#61; ExpressionType.Parameter&amp;#41;&lt;br /&gt;-            &amp;#123;&lt;br /&gt;-                _stack.Push&amp;#40;m.Member.Name&amp;#41;&amp;#59;&lt;br /&gt;-                return e&amp;#59;&lt;br /&gt;&amp;#43;            &amp;#125;&lt;br /&gt;&amp;#43;            if &amp;#40;m.Expression &amp;#33;&amp;#61; null&amp;#41;&lt;br /&gt;&amp;#43;            &amp;#123;&lt;br /&gt;&amp;#43;                if &amp;#40;m.Expression.NodeType &amp;#61;&amp;#61; ExpressionType.Parameter&amp;#41;&lt;br /&gt;&amp;#43;                    _stack.Push&amp;#40;m.Member.Name&amp;#41;&amp;#59;&lt;br /&gt;&amp;#43;                if &amp;#40;m.Expression.NodeType &amp;#61;&amp;#61; ExpressionType.MemberAccess&amp;#41;&lt;br /&gt;&amp;#43;                &amp;#123;&lt;br /&gt;&amp;#43;                    Type t &amp;#61; m.Expression.Type&amp;#59;&lt;br /&gt;&amp;#43;                    var val &amp;#61; t.InvokeMember&amp;#40;m.Member.Name, BindingFlags.GetProperty, null, _stack.Pop&amp;#40;&amp;#41;, null&amp;#41;&amp;#59;&lt;br /&gt;&amp;#43;                    _stack.Push&amp;#40;val&amp;#41;&amp;#59;&lt;br /&gt;&amp;#43;                &amp;#125;&lt;br /&gt;             &amp;#125;&lt;br /&gt;             return e&amp;#59;&lt;br /&gt;         &amp;#125;&lt;br /&gt;&lt;br /&gt;I&amp;#39;m using Mercurial, so you might have to patch manually.&lt;br /&gt;Comments: Nice job&amp;#33; Thanks&amp;#33;</description><author>MGholam</author><pubDate>Tue, 14 Aug 2012 03:50:28 GMT</pubDate><guid isPermaLink="false">Commented Issue: Query error when using non-simple variable [4] 20120814035028A</guid></item><item><title>Created Issue: Query error when using non-simple variable [4]</title><link>http://raptordb.codeplex.com/workitem/4</link><description>When using a LINQ query such as raptor.Query&amp;#40;..., o &amp;#61;&amp;#62; o.MyValue &amp;#61;&amp;#61; someObject.SomeProperty&amp;#41;&amp;#59; it crashes with &amp;#34;Object must implement IConvertible&amp;#34; near Indexes.cs&amp;#58;31. It seems that it tries to evaluate the object instead of retrieving the member.&lt;br /&gt;&lt;br /&gt;The following patch seems to resolve that issue. It probably doesn&amp;#39;t cover all cases, but it&amp;#39;s a step in the right direction I think.&lt;br /&gt;&lt;br /&gt;RaptorDB&amp;#47;Views&amp;#47;LINQQuery.cs in VisitMember&amp;#58;&lt;br /&gt;&amp;#64;&amp;#64; -90,11 &amp;#43;90,17 &amp;#64;&amp;#64;&lt;br /&gt;                     BindingFlags.Instance &amp;#124;&lt;br /&gt;                     BindingFlags.Static, null, c.Value, null&amp;#41;&amp;#59;&lt;br /&gt;                 _stack.Push&amp;#40;x&amp;#41;&amp;#59;&lt;br /&gt;-            &amp;#125;&lt;br /&gt;-            if &amp;#40;m.Expression &amp;#33;&amp;#61; null &amp;#38;&amp;#38; m.Expression.NodeType &amp;#61;&amp;#61; ExpressionType.Parameter&amp;#41;&lt;br /&gt;-            &amp;#123;&lt;br /&gt;-                _stack.Push&amp;#40;m.Member.Name&amp;#41;&amp;#59;&lt;br /&gt;-                return e&amp;#59;&lt;br /&gt;&amp;#43;            &amp;#125;&lt;br /&gt;&amp;#43;            if &amp;#40;m.Expression &amp;#33;&amp;#61; null&amp;#41;&lt;br /&gt;&amp;#43;            &amp;#123;&lt;br /&gt;&amp;#43;                if &amp;#40;m.Expression.NodeType &amp;#61;&amp;#61; ExpressionType.Parameter&amp;#41;&lt;br /&gt;&amp;#43;                    _stack.Push&amp;#40;m.Member.Name&amp;#41;&amp;#59;&lt;br /&gt;&amp;#43;                if &amp;#40;m.Expression.NodeType &amp;#61;&amp;#61; ExpressionType.MemberAccess&amp;#41;&lt;br /&gt;&amp;#43;                &amp;#123;&lt;br /&gt;&amp;#43;                    Type t &amp;#61; m.Expression.Type&amp;#59;&lt;br /&gt;&amp;#43;                    var val &amp;#61; t.InvokeMember&amp;#40;m.Member.Name, BindingFlags.GetProperty, null, _stack.Pop&amp;#40;&amp;#41;, null&amp;#41;&amp;#59;&lt;br /&gt;&amp;#43;                    _stack.Push&amp;#40;val&amp;#41;&amp;#59;&lt;br /&gt;&amp;#43;                &amp;#125;&lt;br /&gt;             &amp;#125;&lt;br /&gt;             return e&amp;#59;&lt;br /&gt;         &amp;#125;&lt;br /&gt;&lt;br /&gt;I&amp;#39;m using Mercurial, so you might have to patch manually.&lt;br /&gt;</description><author>jdluzen</author><pubDate>Tue, 14 Aug 2012 03:08:00 GMT</pubDate><guid isPermaLink="false">Created Issue: Query error when using non-simple variable [4] 20120814030800A</guid></item><item><title>Created Issue: Probable I/O race condition detected while copying memory [3]</title><link>http://raptordb.codeplex.com/workitem/3</link><description>I&amp;#39;m using raptordb-8cae451eb90e, but this error still occurs when I insert more records into a database of 500,000 records&amp;#58;&lt;br /&gt;&lt;br /&gt;A Task&amp;#39;s exception&amp;#40;s&amp;#41; were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread.&lt;br /&gt;&lt;br /&gt;Probable I&amp;#47;O race condition detected while copying memory. The I&amp;#47;O package is not thread safe by default. In multithreaded applications, a stream must be accessed in a thread-safe way, such as a thread-safe wrapper returned by TextReader&amp;#39;s or TextWriter&amp;#39;s Synchronized methods. This also applies to classes like StreamWriter and StreamReader.&lt;br /&gt;&lt;br /&gt;at System.Buffer.InternalBlockCopy&amp;#40;Array src, Int32 srcOffsetBytes, Array dst, Int32 dstOffsetBytes, Int32 byteCount&amp;#41;&lt;br /&gt;   at System.IO.FileStream.Read&amp;#40;Byte&amp;#91;&amp;#93; array, Int32 offset, Int32 count&amp;#41;&lt;br /&gt;   at RaptorDB.BitmapIndex.internalGetBitmap&amp;#40;Int32 recno&amp;#41; in D&amp;#58;&amp;#92;RaptorDB&amp;#92;RaptorDB_doc_v1.6&amp;#92;RaptorDB&amp;#92;Indexes&amp;#92;BitmapIndex.cs&amp;#58;line 194&lt;br /&gt;   at RaptorDB.MGIndex&amp;#96;1.doEqualOp&amp;#40;RDBExpression exp, T key&amp;#41; in D&amp;#58;&amp;#92;RaptorDB&amp;#92;RaptorDB_doc_v1.6&amp;#92;RaptorDB&amp;#92;Indexes&amp;#92;MGIndex.cs&amp;#58;line 338&lt;br /&gt;   at RaptorDB.MGIndex&amp;#96;1.Query&amp;#40;RDBExpression exp, T from&amp;#41; in D&amp;#58;&amp;#92;RaptorDB&amp;#92;RaptorDB_doc_v1.6&amp;#92;RaptorDB&amp;#92;Indexes&amp;#92;MGIndex.cs&amp;#58;line 113&lt;br /&gt;   at RaptorDB.TypeIndexes&amp;#96;1.Query&amp;#40;RDBExpression ex, Object from&amp;#41; in D&amp;#58;&amp;#92;RaptorDB&amp;#92;RaptorDB_doc_v1.6&amp;#92;RaptorDB&amp;#92;Indexes&amp;#92;Indexes.cs&amp;#58;line 34&lt;br /&gt;   at RaptorDB.Views.ViewHandler.SaveAndIndex&amp;#40;Dictionary&amp;#96;2 rows&amp;#41; in D&amp;#58;&amp;#92;RaptorDB&amp;#92;RaptorDB_doc_v1.6&amp;#92;RaptorDB&amp;#92;Views&amp;#92;ViewHandler.cs&amp;#58;line 148&lt;br /&gt;   at RaptorDB.Views.ViewHandler.Insert&amp;#91;T&amp;#93;&amp;#40;Guid guid, T doc&amp;#41; in D&amp;#58;&amp;#92;RaptorDB&amp;#92;RaptorDB_doc_v1.6&amp;#92;RaptorDB&amp;#92;Views&amp;#92;ViewHandler.cs&amp;#58;line 140&lt;br /&gt;   at RaptorDB.Views.ViewManager.&amp;#60;&amp;#62;c__DisplayClass2&amp;#96;1.&amp;#60;Insert&amp;#62;b__0&amp;#40;&amp;#41; in D&amp;#58;&amp;#92;RaptorDB&amp;#92;RaptorDB_doc_v1.6&amp;#92;RaptorDB&amp;#92;Views&amp;#92;ViewManager.cs&amp;#58;line 111&lt;br /&gt;   at System.Threading.Tasks.Task.InnerInvoke&amp;#40;&amp;#41;&lt;br /&gt;   at System.Threading.Tasks.Task.Execute&amp;#40;&amp;#41;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;</description><author>08520302</author><pubDate>Tue, 14 Aug 2012 02:08:56 GMT</pubDate><guid isPermaLink="false">Created Issue: Probable I/O race condition detected while copying memory [3] 20120814020856A</guid></item><item><title>Edited Issue: Page read error header invalid, number = 1 [2]</title><link>http://raptordb.codeplex.com/workitem/2</link><description>When inserting a simple new document, at random times I get&amp;#58;&lt;br /&gt;&lt;br /&gt;System.AggregateException&amp;#58; One or more errors occurred. ---&amp;#62; System.Exception&amp;#58; Page read error header invalid, number &amp;#61; 1&lt;br /&gt;   at RaptorDB.IndexFile&amp;#96;1.LoadPageFromPageNumber&amp;#40;Int32 number&amp;#41; in &amp;#60;path&amp;#62;RaptorDB&amp;#92;Indexes&amp;#92;IndexFile.cs&amp;#58;line 329&lt;br /&gt;   at RaptorDB.MGIndex&amp;#96;1.LoadPage&amp;#40;T key, PageInfo&amp;#38; pageinfo&amp;#41; in &amp;#60;path&amp;#62;RaptorDB&amp;#92;Indexes&amp;#92;MGIndex.cs&amp;#58;line 413&lt;br /&gt;   at RaptorDB.MGIndex&amp;#96;1.doEqualOp&amp;#40;RDBExpression exp, T key&amp;#41; in &amp;#60;path&amp;#62;RaptorDB&amp;#92;Indexes&amp;#92;MGIndex.cs&amp;#58;line 328&lt;br /&gt;   at RaptorDB.MGIndex&amp;#96;1.Query&amp;#40;RDBExpression exp, T from&amp;#41; in &amp;#60;path&amp;#62;RaptorDB&amp;#92;Indexes&amp;#92;MGIndex.cs&amp;#58;line 113&lt;br /&gt;   at RaptorDB.TypeIndexes&amp;#96;1.Query&amp;#40;RDBExpression ex, Object from&amp;#41; in &amp;#60;path&amp;#62;RaptorDB&amp;#92;Indexes&amp;#92;Indexes.cs&amp;#58;line 34&lt;br /&gt;   at RaptorDB.Views.ViewHandler.SaveAndIndex&amp;#40;Dictionary&amp;#96;2 rows&amp;#41; in &amp;#60;path&amp;#62;RaptorDB&amp;#92;Views&amp;#92;ViewHandler.cs&amp;#58;line 149&lt;br /&gt;   at RaptorDB.Views.ViewHandler.Insert&amp;#91;T&amp;#93;&amp;#40;Guid guid, T doc&amp;#41; in &amp;#60;path&amp;#62;RaptorDB&amp;#92;Views&amp;#92;ViewHandler.cs&amp;#58;line 141&lt;br /&gt;   at RaptorDB.Views.ViewManager.&amp;#60;&amp;#62;c__DisplayClass2&amp;#96;1.&amp;#60;Insert&amp;#62;b__0&amp;#40;&amp;#41; in &amp;#60;path&amp;#62;RaptorDB&amp;#92;Views&amp;#92;ViewManager.cs&amp;#58;line 126&lt;br /&gt;   at System.Threading.Tasks.Task.InnerInvoke&amp;#40;&amp;#41;&lt;br /&gt;   at System.Threading.Tasks.Task.Execute&amp;#40;&amp;#41;&lt;br /&gt;   --- End of inner exception stack trace ---&lt;br /&gt;   at System.Threading.Tasks.Task.WaitAll&amp;#40;Task&amp;#91;&amp;#93; tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken&amp;#41;&lt;br /&gt;   at RaptorDB.Views.TaskQueue.Shutdown&amp;#40;&amp;#41; in &amp;#60;path&amp;#62;RaptorDB&amp;#92;Views&amp;#92;TaskQueue.cs&amp;#58;line 64&lt;br /&gt;   at RaptorDB.Views.ViewManager.ShutDown&amp;#40;&amp;#41; in &amp;#60;path&amp;#62;RaptorDB&amp;#92;Views&amp;#92;ViewManager.cs&amp;#58;line 216&lt;br /&gt;   at RaptorDB.RaptorDB.Shutdown&amp;#40;&amp;#41; in &amp;#60;path&amp;#62;RaptorDB&amp;#92;RaptorDB.cs&amp;#58;line 294&lt;br /&gt;   at RaptorDbTest.Program.Main&amp;#40;String&amp;#91;&amp;#93; args&amp;#41; in &amp;#60;path&amp;#62;RaptorDbTest&amp;#92;RaptorDbTest&amp;#92;Program.cs&amp;#58;line 36&lt;br /&gt;---&amp;#62; &amp;#40;Inner Exception &amp;#35;0&amp;#41; System.Exception&amp;#58; Page read error header invalid, number &amp;#61; 1&lt;br /&gt;   at RaptorDB.IndexFile&amp;#96;1.LoadPageFromPageNumber&amp;#40;Int32 number&amp;#41; in &amp;#60;path&amp;#62;RaptorDB&amp;#92;Indexes&amp;#92;IndexFile.cs&amp;#58;line 329&lt;br /&gt;   at RaptorDB.MGIndex&amp;#96;1.LoadPage&amp;#40;T key, PageInfo&amp;#38; pageinfo&amp;#41; in &amp;#60;path&amp;#62;RaptorDB&amp;#92;Indexes&amp;#92;MGIndex.cs&amp;#58;line 413&lt;br /&gt;   at RaptorDB.MGIndex&amp;#96;1.doEqualOp&amp;#40;RDBExpression exp, T key&amp;#41; in &amp;#60;path&amp;#62;RaptorDB&amp;#92;Indexes&amp;#92;MGIndex.cs&amp;#58;line 328&lt;br /&gt;   at RaptorDB.MGIndex&amp;#96;1.Query&amp;#40;RDBExpression exp, T from&amp;#41; in &amp;#60;path&amp;#62;RaptorDB&amp;#92;Indexes&amp;#92;MGIndex.cs&amp;#58;line 113&lt;br /&gt;   at RaptorDB.TypeIndexes&amp;#96;1.Query&amp;#40;RDBExpression ex, Object from&amp;#41; in &amp;#60;path&amp;#62;RaptorDB&amp;#92;Indexes&amp;#92;Indexes.cs&amp;#58;line 34&lt;br /&gt;   at RaptorDB.Views.ViewHandler.SaveAndIndex&amp;#40;Dictionary&amp;#96;2 rows&amp;#41; in &amp;#60;path&amp;#62;RaptorDB&amp;#92;Views&amp;#92;ViewHandler.cs&amp;#58;line 149&lt;br /&gt;   at RaptorDB.Views.ViewHandler.Insert&amp;#91;T&amp;#93;&amp;#40;Guid guid, T doc&amp;#41; in &amp;#60;path&amp;#62;RaptorDB&amp;#92;Views&amp;#92;ViewHandler.cs&amp;#58;line 141&lt;br /&gt;   at RaptorDB.Views.ViewManager.&amp;#60;&amp;#62;c__DisplayClass2&amp;#96;1.&amp;#60;Insert&amp;#62;b__0&amp;#40;&amp;#41; in &amp;#60;path&amp;#62;RaptorDB&amp;#92;Views&amp;#92;ViewManager.cs&amp;#58;line 126&lt;br /&gt;   at System.Threading.Tasks.Task.InnerInvoke&amp;#40;&amp;#41;&lt;br /&gt;   at System.Threading.Tasks.Task.Execute&amp;#40;&amp;#41;&amp;#60;---&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;It seems that it is a timing issue, as I cannot reproduce it in the debugger. IndexFile.cs&amp;#39;s line numbers might be off slightly, as I edited it to include debugging output&amp;#58; b&amp;#91;0&amp;#93; through b&amp;#91;3&amp;#93; appear to all be 0, and so they do not match the magic numbers of _BlockHeader &amp;#40;PAGE&amp;#41;.&lt;br /&gt;</description><author>jdluzen</author><pubDate>Thu, 09 Aug 2012 20:37:33 GMT</pubDate><guid isPermaLink="false">Edited Issue: Page read error header invalid, number = 1 [2] 20120809083733P</guid></item><item><title>Created Issue: Page read error header invalid, number = 1 [2]</title><link>http://raptordb.codeplex.com/workitem/2</link><description>When inserting a simple new document, at random times I get&amp;#58;&lt;br /&gt;&lt;br /&gt;System.AggregateException&amp;#58; One or more errors occurred. ---&amp;#62; System.Exception&amp;#58; Page read error header invalid, number &amp;#61; 1&lt;br /&gt;   at RaptorDB.IndexFile&amp;#96;1.LoadPageFromPageNumber&amp;#40;Int32 number&amp;#41; in &amp;#60;path&amp;#62;RaptorDB&amp;#92;Indexes&amp;#92;IndexFile.cs&amp;#58;line 329&lt;br /&gt;   at RaptorDB.MGIndex&amp;#96;1.LoadPage&amp;#40;T key, PageInfo&amp;#38; pageinfo&amp;#41; in &amp;#60;path&amp;#62;RaptorDB&amp;#92;Indexes&amp;#92;MGIndex.cs&amp;#58;line 413&lt;br /&gt;   at RaptorDB.MGIndex&amp;#96;1.doEqualOp&amp;#40;RDBExpression exp, T key&amp;#41; in &amp;#60;path&amp;#62;RaptorDB&amp;#92;Indexes&amp;#92;MGIndex.cs&amp;#58;line 328&lt;br /&gt;   at RaptorDB.MGIndex&amp;#96;1.Query&amp;#40;RDBExpression exp, T from&amp;#41; in &amp;#60;path&amp;#62;RaptorDB&amp;#92;Indexes&amp;#92;MGIndex.cs&amp;#58;line 113&lt;br /&gt;   at RaptorDB.TypeIndexes&amp;#96;1.Query&amp;#40;RDBExpression ex, Object from&amp;#41; in &amp;#60;path&amp;#62;RaptorDB&amp;#92;Indexes&amp;#92;Indexes.cs&amp;#58;line 34&lt;br /&gt;   at RaptorDB.Views.ViewHandler.SaveAndIndex&amp;#40;Dictionary&amp;#96;2 rows&amp;#41; in &amp;#60;path&amp;#62;RaptorDB&amp;#92;Views&amp;#92;ViewHandler.cs&amp;#58;line 149&lt;br /&gt;   at RaptorDB.Views.ViewHandler.Insert&amp;#91;T&amp;#93;&amp;#40;Guid guid, T doc&amp;#41; in &amp;#60;path&amp;#62;RaptorDB&amp;#92;Views&amp;#92;ViewHandler.cs&amp;#58;line 141&lt;br /&gt;   at RaptorDB.Views.ViewManager.&amp;#60;&amp;#62;c__DisplayClass2&amp;#96;1.&amp;#60;Insert&amp;#62;b__0&amp;#40;&amp;#41; in &amp;#60;path&amp;#62;RaptorDB&amp;#92;Views&amp;#92;ViewManager.cs&amp;#58;line 126&lt;br /&gt;   at System.Threading.Tasks.Task.InnerInvoke&amp;#40;&amp;#41;&lt;br /&gt;   at System.Threading.Tasks.Task.Execute&amp;#40;&amp;#41;&lt;br /&gt;   --- End of inner exception stack trace ---&lt;br /&gt;   at System.Threading.Tasks.Task.WaitAll&amp;#40;Task&amp;#91;&amp;#93; tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken&amp;#41;&lt;br /&gt;   at RaptorDB.Views.TaskQueue.Shutdown&amp;#40;&amp;#41; in &amp;#60;path&amp;#62;RaptorDB&amp;#92;Views&amp;#92;TaskQueue.cs&amp;#58;line 64&lt;br /&gt;   at RaptorDB.Views.ViewManager.ShutDown&amp;#40;&amp;#41; in &amp;#60;path&amp;#62;RaptorDB&amp;#92;Views&amp;#92;ViewManager.cs&amp;#58;line 216&lt;br /&gt;   at RaptorDB.RaptorDB.Shutdown&amp;#40;&amp;#41; in &amp;#60;path&amp;#62;RaptorDB&amp;#92;RaptorDB.cs&amp;#58;line 294&lt;br /&gt;   at RaptorDbTest.Program.Main&amp;#40;String&amp;#91;&amp;#93; args&amp;#41; in &amp;#60;path&amp;#62;RaptorDbTest&amp;#92;RaptorDbTest&amp;#92;Program.cs&amp;#58;line 36&lt;br /&gt;---&amp;#62; &amp;#40;Inner Exception &amp;#35;0&amp;#41; System.Exception&amp;#58; Page read error header invalid, number &amp;#61; 1&lt;br /&gt;   at RaptorDB.IndexFile&amp;#96;1.LoadPageFromPageNumber&amp;#40;Int32 number&amp;#41; in &amp;#60;path&amp;#62;RaptorDB&amp;#92;Indexes&amp;#92;IndexFile.cs&amp;#58;line 329&lt;br /&gt;   at RaptorDB.MGIndex&amp;#96;1.LoadPage&amp;#40;T key, PageInfo&amp;#38; pageinfo&amp;#41; in &amp;#60;path&amp;#62;RaptorDB&amp;#92;Indexes&amp;#92;MGIndex.cs&amp;#58;line 413&lt;br /&gt;   at RaptorDB.MGIndex&amp;#96;1.doEqualOp&amp;#40;RDBExpression exp, T key&amp;#41; in &amp;#60;path&amp;#62;RaptorDB&amp;#92;Indexes&amp;#92;MGIndex.cs&amp;#58;line 328&lt;br /&gt;   at RaptorDB.MGIndex&amp;#96;1.Query&amp;#40;RDBExpression exp, T from&amp;#41; in &amp;#60;path&amp;#62;RaptorDB&amp;#92;Indexes&amp;#92;MGIndex.cs&amp;#58;line 113&lt;br /&gt;   at RaptorDB.TypeIndexes&amp;#96;1.Query&amp;#40;RDBExpression ex, Object from&amp;#41; in &amp;#60;path&amp;#62;RaptorDB&amp;#92;Indexes&amp;#92;Indexes.cs&amp;#58;line 34&lt;br /&gt;   at RaptorDB.Views.ViewHandler.SaveAndIndex&amp;#40;Dictionary&amp;#96;2 rows&amp;#41; in &amp;#60;path&amp;#62;RaptorDB&amp;#92;Views&amp;#92;ViewHandler.cs&amp;#58;line 149&lt;br /&gt;   at RaptorDB.Views.ViewHandler.Insert&amp;#91;T&amp;#93;&amp;#40;Guid guid, T doc&amp;#41; in &amp;#60;path&amp;#62;RaptorDB&amp;#92;Views&amp;#92;ViewHandler.cs&amp;#58;line 141&lt;br /&gt;   at RaptorDB.Views.ViewManager.&amp;#60;&amp;#62;c__DisplayClass2&amp;#96;1.&amp;#60;Insert&amp;#62;b__0&amp;#40;&amp;#41; in &amp;#60;path&amp;#62;RaptorDB&amp;#92;Views&amp;#92;ViewManager.cs&amp;#58;line 126&lt;br /&gt;   at System.Threading.Tasks.Task.InnerInvoke&amp;#40;&amp;#41;&lt;br /&gt;   at System.Threading.Tasks.Task.Execute&amp;#40;&amp;#41;&amp;#60;---&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;It seems that it is a timing issue, as I cannot reproduce it in the debugger, and it usually only occurs once, then I have to delete all the database files and start over for it to be reproduced again. IndexFile.cs&amp;#39;s line numbers might be off slightly, as I edited it to include debugging output&amp;#58; b&amp;#91;0&amp;#93; through b&amp;#91;3&amp;#93; appear to all be 0, and so they do not match the magic numbers of _BlockHeader &amp;#40;PAGE&amp;#41;.&lt;br /&gt;</description><author>jdluzen</author><pubDate>Thu, 09 Aug 2012 20:32:53 GMT</pubDate><guid isPermaLink="false">Created Issue: Page read error header invalid, number = 1 [2] 20120809083253P</guid></item><item><title>Commented Issue: Error when inserting [1]</title><link>http://raptordb.codeplex.com/workitem/1</link><description>When I ran &amp;#34;datagridbinding&amp;#34; project and selected &amp;#34;Insert 100,000 Documents&amp;#34; more than 3 times, the error occurred as the image attached below. Please consider it.&lt;br /&gt;Comments: I insert 100,000 records successfully &amp;#40;I think so because I saved all records without any exceptions thrown&amp;#41;. When I start the raptor to query, the log file says Current Count &amp;#61; 100,000. But when I query like this&amp;#58; &amp;#10;&amp;#10;var q &amp;#61; rap.Query&amp;#40;typeof&amp;#40;MyView&amp;#41;&amp;#41;&amp;#59;&amp;#10;&amp;#10;Then q.Count, q.TotalCount and q.Rows.Count are all equal 99,748 or something less than 100,000&amp;#10;&amp;#10;Please help&amp;#33;</description><author>08520302</author><pubDate>Thu, 09 Aug 2012 03:42:38 GMT</pubDate><guid isPermaLink="false">Commented Issue: Error when inserting [1] 20120809034238A</guid></item><item><title>Commented Issue: Error when inserting [1]</title><link>http://raptordb.codeplex.com/workitem/1</link><description>When I ran &amp;#34;datagridbinding&amp;#34; project and selected &amp;#34;Insert 100,000 Documents&amp;#34; more than 3 times, the error occurred as the image attached below. Please consider it.&lt;br /&gt;Comments: Many thanks.&amp;#10;I&amp;#39;m using a desktop pc &amp;#40;Intel Dual E2200, 2GB of Ram, using 32-bit system&amp;#41;</description><author>08520302</author><pubDate>Thu, 09 Aug 2012 01:17:47 GMT</pubDate><guid isPermaLink="false">Commented Issue: Error when inserting [1] 20120809011747A</guid></item><item><title>Commented Issue: Error when inserting [1]</title><link>http://raptordb.codeplex.com/workitem/1</link><description>When I ran &amp;#34;datagridbinding&amp;#34; project and selected &amp;#34;Insert 100,000 Documents&amp;#34; more than 3 times, the error occurred as the image attached below. Please consider it.&lt;br /&gt;Comments: If you are short on memory compile to 64 bit &amp;#40; .net 32bit has a 2gb memory limit&amp;#41;. &amp;#10;&amp;#10;I have fixed the bitmap save bug and optimized the bitmap index set method, so your issue &amp;#42;should&amp;#42; not occur again &amp;#40;you can set the save timer back to 60 sec&amp;#41;. I will post the code soon.</description><author>MGholam</author><pubDate>Wed, 08 Aug 2012 09:26:21 GMT</pubDate><guid isPermaLink="false">Commented Issue: Error when inserting [1] 20120808092621A</guid></item><item><title>Commented Issue: Error when inserting [1]</title><link>http://raptordb.codeplex.com/workitem/1</link><description>When I ran &amp;#34;datagridbinding&amp;#34; project and selected &amp;#34;Insert 100,000 Documents&amp;#34; more than 3 times, the error occurred as the image attached below. Please consider it.&lt;br /&gt;Comments: Thanks so much&amp;#33;&amp;#10;It works when inserting 1,000,000 records at a time. &amp;#10;But when I insert 100,000 records, then shutdown the raptor, and then open the raptor again to insert other 100,000 records, another issue occur. I have to do this way because I have some millions of records to save, and it&amp;#39;s out of memory when I insert all of them at a time &amp;#58;&amp;#40;&amp;#10;Here&amp;#39;s the error&amp;#58;&amp;#10;&amp;#10;A Task&amp;#39;s exception&amp;#40;s&amp;#41; were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread.&amp;#10;&amp;#10;System.AggregateException&amp;#58; One or more errors occurred. ---&amp;#62; System.ArgumentException&amp;#58; An entry with the same key already exists.&amp;#10;   at System.ThrowHelper.ThrowArgumentException&amp;#40;ExceptionResource resource&amp;#41;&amp;#10;   at System.Collections.Generic.SortedList&amp;#96;2.Add&amp;#40;TKey key, TValue value&amp;#41;&amp;#10;   at RaptorDB.Common.SafeSortedList&amp;#96;2.Add&amp;#40;T key, V val&amp;#41; in D&amp;#58;&amp;#92;backup&amp;#92;raptordb-772a8c82751b&amp;#92;RaptorDB.Common&amp;#92;SafeDictionary.cs&amp;#58;line 99&amp;#10;   at RaptorDB.MGIndex&amp;#96;1.SplitPage&amp;#40;Page&amp;#96;1 page&amp;#41; in D&amp;#58;&amp;#92;backup&amp;#92;raptordb-772a8c82751b&amp;#92;RaptorDB&amp;#92;Indexes&amp;#92;MGIndex.cs&amp;#58;line 391&amp;#10;   at RaptorDB.MGIndex&amp;#96;1.Set&amp;#40;T key, Int32 val&amp;#41; in D&amp;#58;&amp;#92;backup&amp;#92;raptordb-772a8c82751b&amp;#92;RaptorDB&amp;#92;Indexes&amp;#92;MGIndex.cs&amp;#58;line 159&amp;#10;   at RaptorDB.TypeIndexes&amp;#96;1.Set&amp;#40;Object key, Int32 recnum&amp;#41; in D&amp;#58;&amp;#92;backup&amp;#92;raptordb-772a8c82751b&amp;#92;RaptorDB&amp;#92;Indexes&amp;#92;Indexes.cs&amp;#58;line 23&amp;#10;   at RaptorDB.Views.ViewHandler.IndexRow&amp;#40;Guid docid, Object&amp;#91;&amp;#93; row, Int32 rownum&amp;#41; in D&amp;#58;&amp;#92;backup&amp;#92;raptordb-772a8c82751b&amp;#92;RaptorDB&amp;#92;Views&amp;#92;ViewHandler.cs&amp;#58;line 550&amp;#10;   at RaptorDB.Views.ViewHandler.InsertRowsWithIndexUpdate&amp;#40;Guid guid, List&amp;#96;1 rows&amp;#41; in D&amp;#58;&amp;#92;backup&amp;#92;raptordb-772a8c82751b&amp;#92;RaptorDB&amp;#92;Views&amp;#92;ViewHandler.cs&amp;#58;line 513&amp;#10;   at RaptorDB.Views.ViewHandler.SaveAndIndex&amp;#40;Dictionary&amp;#96;2 rows&amp;#41; in D&amp;#58;&amp;#92;backup&amp;#92;raptordb-772a8c82751b&amp;#92;RaptorDB&amp;#92;Views&amp;#92;ViewHandler.cs&amp;#58;line 149&amp;#10;   at RaptorDB.Views.ViewHandler.Insert&amp;#91;T&amp;#93;&amp;#40;Guid guid, T doc&amp;#41; in D&amp;#58;&amp;#92;backup&amp;#92;raptordb-772a8c82751b&amp;#92;RaptorDB&amp;#92;Views&amp;#92;ViewHandler.cs&amp;#58;line 141&amp;#10;   at RaptorDB.Views.ViewManager.&amp;#60;&amp;#62;c__DisplayClass2&amp;#96;1.&amp;#60;Insert&amp;#62;b__0&amp;#40;&amp;#41; in D&amp;#58;&amp;#92;backup&amp;#92;raptordb-772a8c82751b&amp;#92;RaptorDB&amp;#92;Views&amp;#92;ViewManager.cs&amp;#58;line 126&amp;#10;   at System.Threading.Tasks.Task.InnerInvoke&amp;#40;&amp;#41;&amp;#10;   at System.Threading.Tasks.Task.Execute&amp;#40;&amp;#41;&amp;#10;   --- End of inner exception stack trace ---&amp;#10;   at System.Threading.Tasks.Task.WaitAll&amp;#40;Task&amp;#91;&amp;#93; tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken&amp;#41;&amp;#10;   at RaptorDB.Views.TaskQueue.Shutdown&amp;#40;&amp;#41; in D&amp;#58;&amp;#92;backup&amp;#92;raptordb-772a8c82751b&amp;#92;RaptorDB&amp;#92;Views&amp;#92;TaskQueue.cs&amp;#58;line 64&amp;#10;   at RaptorDB.Views.ViewManager.ShutDown&amp;#40;&amp;#41; in D&amp;#58;&amp;#92;backup&amp;#92;raptordb-772a8c82751b&amp;#92;RaptorDB&amp;#92;Views&amp;#92;ViewManager.cs&amp;#58;line 216&amp;#10;   at RaptorDB.RaptorDB.Shutdown&amp;#40;&amp;#41; in D&amp;#58;&amp;#92;backup&amp;#92;raptordb-772a8c82751b&amp;#92;RaptorDB&amp;#92;RaptorDB.cs&amp;#58;line 294&amp;#10;   at datagridbinding.Form1.insert&amp;#40;&amp;#41; in D&amp;#58;&amp;#92;backup&amp;#92;raptordb-772a8c82751b&amp;#92;datagridbinding&amp;#92;Form1.cs&amp;#58;line 138&amp;#10;   at datagridbinding.Form1.insert100000DocumentsToolStripMenuItem_Click&amp;#40;Object sender, EventArgs e&amp;#41; in D&amp;#58;&amp;#92;backup&amp;#92;raptordb-772a8c82751b&amp;#92;datagridbinding&amp;#92;Form1.cs&amp;#58;line 96&amp;#10;   at System.Windows.Forms.ToolStripItem.RaiseEvent&amp;#40;Object key, EventArgs e&amp;#41;&amp;#10;   at System.Windows.Forms.ToolStripMenuItem.OnClick&amp;#40;EventArgs e&amp;#41;&amp;#10;   at System.Windows.Forms.ToolStripItem.HandleClick&amp;#40;EventArgs e&amp;#41;&amp;#10;   at System.Windows.Forms.ToolStripItem.HandleMouseUp&amp;#40;MouseEventArgs e&amp;#41;&amp;#10;   at System.Windows.Forms.ToolStripItem.FireEventInteractive&amp;#40;EventArgs e, ToolStripItemEventType met&amp;#41;&amp;#10;   at System.Windows.Forms.ToolStripItem.FireEvent&amp;#40;EventArgs e, ToolStripItemEventType met&amp;#41;&amp;#10;   at System.Windows.Forms.ToolStrip.OnMouseUp&amp;#40;MouseEventArgs mea&amp;#41;&amp;#10;   at System.Windows.Forms.Control.WmMouseUp&amp;#40;Message&amp;#38; m, MouseButtons button, Int32 clicks&amp;#41;&amp;#10;   at System.Windows.Forms.Control.WndProc&amp;#40;Message&amp;#38; m&amp;#41;&amp;#10;   at System.Windows.Forms.ScrollableControl.WndProc&amp;#40;Message&amp;#38; m&amp;#41;&amp;#10;   at System.Windows.Forms.ToolStrip.WndProc&amp;#40;Message&amp;#38; m&amp;#41;&amp;#10;   at System.Windows.Forms.MenuStrip.WndProc&amp;#40;Message&amp;#38; m&amp;#41;&amp;#10;   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage&amp;#40;Message&amp;#38; m&amp;#41;&amp;#10;   at System.Windows.Forms.Control.ControlNativeWindow.WndProc&amp;#40;Message&amp;#38; m&amp;#41;&amp;#10;   at System.Windows.Forms.NativeWindow.Callback&amp;#40;IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam&amp;#41;&amp;#10;---&amp;#62; &amp;#40;Inner Exception &amp;#35;0&amp;#41; System.ArgumentException&amp;#58; An entry with the same key already exists.&amp;#10;   at System.ThrowHelper.ThrowArgumentException&amp;#40;ExceptionResource resource&amp;#41;&amp;#10;   at System.Collections.Generic.SortedList&amp;#96;2.Add&amp;#40;TKey key, TValue value&amp;#41;&amp;#10;   at RaptorDB.Common.SafeSortedList&amp;#96;2.Add&amp;#40;T key, V val&amp;#41; in D&amp;#58;&amp;#92;backup&amp;#92;raptordb-772a8c82751b&amp;#92;RaptorDB.Common&amp;#92;SafeDictionary.cs&amp;#58;line 99&amp;#10;   at RaptorDB.MGIndex&amp;#96;1.SplitPage&amp;#40;Page&amp;#96;1 page&amp;#41; in D&amp;#58;&amp;#92;backup&amp;#92;raptordb-772a8c82751b&amp;#92;RaptorDB&amp;#92;Indexes&amp;#92;MGIndex.cs&amp;#58;line 391&amp;#10;   at RaptorDB.MGIndex&amp;#96;1.Set&amp;#40;T key, Int32 val&amp;#41; in D&amp;#58;&amp;#92;backup&amp;#92;raptordb-772a8c82751b&amp;#92;RaptorDB&amp;#92;Indexes&amp;#92;MGIndex.cs&amp;#58;line 159&amp;#10;   at RaptorDB.TypeIndexes&amp;#96;1.Set&amp;#40;Object key, Int32 recnum&amp;#41; in D&amp;#58;&amp;#92;backup&amp;#92;raptordb-772a8c82751b&amp;#92;RaptorDB&amp;#92;Indexes&amp;#92;Indexes.cs&amp;#58;line 23&amp;#10;   at RaptorDB.Views.ViewHandler.IndexRow&amp;#40;Guid docid, Object&amp;#91;&amp;#93; row, Int32 rownum&amp;#41; in D&amp;#58;&amp;#92;backup&amp;#92;raptordb-772a8c82751b&amp;#92;RaptorDB&amp;#92;Views&amp;#92;ViewHandler.cs&amp;#58;line 550&amp;#10;   at RaptorDB.Views.ViewHandler.InsertRowsWithIndexUpdate&amp;#40;Guid guid, List&amp;#96;1 rows&amp;#41; in D&amp;#58;&amp;#92;backup&amp;#92;raptordb-772a8c82751b&amp;#92;RaptorDB&amp;#92;Views&amp;#92;ViewHandler.cs&amp;#58;line 513&amp;#10;   at RaptorDB.Views.ViewHandler.SaveAndIndex&amp;#40;Dictionary&amp;#96;2 rows&amp;#41; in D&amp;#58;&amp;#92;backup&amp;#92;raptordb-772a8c82751b&amp;#92;RaptorDB&amp;#92;Views&amp;#92;ViewHandler.cs&amp;#58;line 149&amp;#10;   at RaptorDB.Views.ViewHandler.Insert&amp;#91;T&amp;#93;&amp;#40;Guid guid, T doc&amp;#41; in D&amp;#58;&amp;#92;backup&amp;#92;raptordb-772a8c82751b&amp;#92;RaptorDB&amp;#92;Views&amp;#92;ViewHandler.cs&amp;#58;line 141&amp;#10;   at RaptorDB.Views.ViewManager.&amp;#60;&amp;#62;c__DisplayClass2&amp;#96;1.&amp;#60;Insert&amp;#62;b__0&amp;#40;&amp;#41; in D&amp;#58;&amp;#92;backup&amp;#92;raptordb-772a8c82751b&amp;#92;RaptorDB&amp;#92;Views&amp;#92;ViewManager.cs&amp;#58;line 126&amp;#10;   at System.Threading.Tasks.Task.InnerInvoke&amp;#40;&amp;#41;&amp;#10;   at System.Threading.Tasks.Task.Execute&amp;#40;&amp;#41;&amp;#60;---</description><author>08520302</author><pubDate>Wed, 08 Aug 2012 08:20:11 GMT</pubDate><guid isPermaLink="false">Commented Issue: Error when inserting [1] 20120808082011A</guid></item><item><title>Commented Issue: Error when inserting [1]</title><link>http://raptordb.codeplex.com/workitem/1</link><description>When I ran &amp;#34;datagridbinding&amp;#34; project and selected &amp;#34;Insert 100,000 Documents&amp;#34; more than 3 times, the error occurred as the image attached below. Please consider it.&lt;br /&gt;Comments: Increase Globals.SaveIndexToDiskTimerSeconds to say 500 and let me know.</description><author>MGholam</author><pubDate>Tue, 07 Aug 2012 05:15:45 GMT</pubDate><guid isPermaLink="false">Commented Issue: Error when inserting [1] 20120807051545A</guid></item><item><title>Commented Issue: Error when inserting [1]</title><link>http://raptordb.codeplex.com/workitem/1</link><description>When I ran &amp;#34;datagridbinding&amp;#34; project and selected &amp;#34;Insert 100,000 Documents&amp;#34; more than 3 times, the error occurred as the image attached below. Please consider it.&lt;br /&gt;Comments: when I tried to insert 1000000 instead of 100000 records, this error also occurred.</description><author>08520302</author><pubDate>Tue, 07 Aug 2012 02:58:20 GMT</pubDate><guid isPermaLink="false">Commented Issue: Error when inserting [1] 20120807025820A</guid></item><item><title>Commented Issue: Error when inserting [1]</title><link>http://raptordb.codeplex.com/workitem/1</link><description>When I ran &amp;#34;datagridbinding&amp;#34; project and selected &amp;#34;Insert 100,000 Documents&amp;#34; more than 3 times, the error occurred as the image attached below. Please consider it.&lt;br /&gt;Comments: Here&amp;#39;s the stack trace&amp;#58;&amp;#10;at System.ThrowHelper.ThrowInvalidOperationException &amp;#40;ExceptionResource resource&amp;#41;&amp;#10;at System.Collections.Generic.Dictionary&amp;#96;2.Enumerator.MoveNext&amp;#40;&amp;#41;&amp;#10;at RaptorDB.BitmapIndex.Commit&amp;#40;Boolean freeMemory&amp;#41; in D&amp;#58;&amp;#92;raptordb-772a8c82751b&amp;#92;RaptorDB&amp;#92;Indexes&amp;#92;BitmapIndex.cs&amp;#58;line 92&amp;#10;&amp;#10;p&amp;#47;s&amp;#58; In my case, line 92 at BitmapIndex.cs is &amp;#34;foreach &amp;#40;KeyValuePair&amp;#60;int, WAHBitArray&amp;#62; kv in _cache&amp;#41;&amp;#34;</description><author>08520302</author><pubDate>Tue, 07 Aug 2012 02:36:20 GMT</pubDate><guid isPermaLink="false">Commented Issue: Error when inserting [1] 20120807023620A</guid></item><item><title>Commented Issue: Error when inserting [1]</title><link>http://raptordb.codeplex.com/workitem/1</link><description>When I ran &amp;#34;datagridbinding&amp;#34; project and selected &amp;#34;Insert 100,000 Documents&amp;#34; more than 3 times, the error occurred as the image attached below. Please consider it.&lt;br /&gt;Comments: Please send the stack trace.</description><author>MGholam</author><pubDate>Mon, 06 Aug 2012 09:54:10 GMT</pubDate><guid isPermaLink="false">Commented Issue: Error when inserting [1] 20120806095410A</guid></item></channel></rss>