-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
System.Object' to type 'System.Byte[] #17
Comments
Hi @craigvn, What's the full stack trace? Also, how are you configuring the cache provider? |
Configuration is
Stack trace is System.InvalidCastException: Unable to cast object of type 'System.Object' to type 'System.Byte[]'. |
According to your configuration, you're using |
Ah, I stuffed up. My config is actually NHibernate.Caches.Redis.RedisCacheProvider, Can this be related to lazy load properties? |
Ok.
|
Thanks. I will try and make a test case and get back to you once I find the exact Craig On Mon, May 16, 2016 at 10:13 PM, Adrian Phinney [email protected]
|
The query cache seems to be working no problems, I have just pushed it to production :-) The second-level cache still gives intermittent problems which I am looking into. It seems if an entity is loaded twice in a session, or something like that, it can give an error depending on the mapping. I need to investigate more. |
Ok, I'm interested in seeing what you can come up with to reproduce this problem. |
I added this nuget 3.0 beta 4 to an app and I get the error System.Object' to type 'System.Byte[]. Any ideas?
The text was updated successfully, but these errors were encountered: