Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Ettienne 4 posts 84 karma points
    Aug 06, 2019 @ 23:53
    Ettienne
    0

    Nucache explorer

    I am trying to open the Nucache db with the application linked here as documented in this blog post

    When I try to do so I get an error from the nucache app

    [2019-08-07 09:29:01.384] [error] Error from NuCache Server API = {"Message":"An error has occurred.","ExceptionMessage":"Cannot deserialize type 'p', expected 'S'.","ExceptionType":"System.NotSupportedException","StackTrace":"   at Nucache.Explorer.Server.Serializer.SerializerBase.ReadStringObject(Stream stream) in C:\\Code-Personal\\Nucache.Explorer\\Nucache.Explorer.Server\\Serializer\\SerializerBase.cs:line 31\r\n   at Nucache.Explorer.Server.Serializer.DictionaryOfCultureVariationSerializer.ReadFrom(Stream stream) in C:\\Code-Personal\\Nucache.Explorer\\Nucache.Explorer.Server\\Serializer\\DictionaryOfCultureVariationSerializer.cs:line 22\r\n   at Nucache.Explorer.Server.Serializer.ContentDataSerializer.ReadFrom(Stream stream) in C:\\Code-Personal\\Nucache.Explorer\\Nucache.Explorer.Server\\Serializer\\ContentDataSerializer.cs:line 14\r\n   at Nucache.Explorer.Server.Serializer.ContentNodeKitSerializer.ReadFrom(Stream stream) in C:\\Code-Personal\\Nucache.Explorer\\Nucache.Explorer.Server\\Serializer\\ContentNodeKitSerializer.cs:line 35\r\n   at CSharpTest.Net.Collections.BPlusTree`2.NodeSerializer.CSharpTest.Net.Serialization.ISerializer<CSharpTest.Net.Collections.BPlusTree<TKey,TValue>.Node>.ReadFrom(Stream stream)\r\n   at CSharpTest.Net.Storage.BTreeFileStoreV2.TryGetNode[TNode](IStorageHandle handleIn, TNode& node, ISerializer`1 serializer)\r\n   at CSharpTest.Net.Collections.BPlusTree`2.StorageCache.FetchFromStore`1.CreateValue(IStorageHandle key, Object& value)\r\n   at CSharpTest.Net.Collections.LurchTable`2.InternalInsert[T](Int32 hash, TKey key, Int32& added, T& value)\r\n   at CSharpTest.Net.Collections.LurchTable`2.Insert[T](TKey key, T& value)\r\n   at CSharpTest.Net.Collections.LurchTable`2.AddOrUpdate[T](TKey key, T& createOrUpdateValue)\r\n   at CSharpTest.Net.Collections.BPlusTree`2.StorageCache.TryGetNode[TNode](IStorageHandle handle, TNode& tnode, ISerializer`1 serializer)\r\n   at CSharpTest.Net.Collections.BPlusTree`2.NodeCacheNormal.Lock(NodePin parent, LockType ltype, NodeHandle child)\r\n   at CSharpTest.Net.Collections.BPlusTree`2.Enumerator.SeekFirst(NodePin thisLock, TKey& nextKey, Boolean& hasMore)\r\n   at CSharpTest.Net.Collections.BPlusTree`2.Enumerator.Reset()\r\n   at CSharpTest.Net.Collections.BPlusTree`2.Enumerator..ctor(BPlusTree`2 tree)\r\n   at CSharpTest.Net.Collections.BPlusTree`2.GetEnumerator()\r\n   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()\r\n   at System.Linq.Buffer`1..ctor(IEnumerable`1 source)\r\n   at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)\r\n   at Nucache.Explorer.Server.Controllers.NucacheController.GetNuCacheData(String filePath) in C:\\Code-Personal\\Nucache.Explorer\\Nucache.Explorer.Server\\Controllers\\NucacheController.cs:line 51\r\n   at lambda_method(Closure , Object , Object[] )\r\n   at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass6_1.<GetExecutor>b__3(Object instance, Object[] methodParameters)\r\n   at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.Execute(Object instance, Object[] arguments)\r\n   at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken)\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__1.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Dispatcher.HttpControllerDispatcher.<SendAsync>d__15.MoveNext()"}
    

    I wanted to raise an issue on the repo but it appears the author has archived the project in github.

    Can anyone help me with the above error?
    Are there any other Nucache debugging/visualisation tools?

Please Sign in or register to post replies

Write your reply to:

Draft