jackson2.2.0 can not work on android2.2 - jackson

When using jackson2.2.0 on android2.2(API8), I got this error:
Could not find class java.util.concurrent.ConcurrentNavigableMap, referenced from method com.fasterxml.jackson.databind.deser.BasicDeserializerFactory.<clinit>
I've tested my code on android2.3.3(API10) and android4.0.3(API15), it both works.
Does any one knows how to fix this? Or I have to use another jason parser instead.

This has already been reported on Jackson's issue tracker. A fix is due in 2.2.2 next week or so.

Related

Set the RequestResponseSerializer in ElasticClient

We've seen a resurrection of this issue in a recent update of Elasticsearch (https://github.com/elastic/elasticsearch-net/issues/1937).
We set the SourceSerializer when creating the Client connection but that doesn't seem to help.
Debugging in, I see that RequestResponseSerializer defaults to Nest.InternalSerializer. This JSON serializer has the DateParseHandling field set to DateTime when we want DateTimeOffset. I suspect that this may be the cause of my problem.
Is there a way to set RequestResponseSerializer to verify my theory?
ADDITION: I was able to verify my theory above by altering the NEST code directly. I edited the InternalSerializer::CreateSettings() method to include DateParseHandling = DateParseHandling.DateTimeOffset and that solved the issue.
Now how to set/modify this value for RequestResponseSerializer without modifying NEST code directly...
Turns out my issue was the same as https://github.com/elastic/elasticsearch-net/issues/3164 and seemed to be fixed in v6.2.0 (https://github.com/elastic/elasticsearch-net/pull/3278).
I was running v6.1.0
Upgraded my version to v6.3.1 and all looks well.

How to fix: Error (use-package): org-projectile :config: Symbol’s function definition is void: org-projectile:per-repo

Running spacemacs 0.200.9#25.1.1
Everytime I start spacemacs I get the following error and not sure how to resolve it.
Error (use-package): org-projectile :config: Symbol’s function definition is void: org-projectile:per-repo
Tried googling the issue and some suggest to switch to the dev branch which I don't know how to do.
Thanks
It appears to be a known issue according to the #pmilosev
Thanks for pointing it out.

grammar.y error happended when compiled Cobalt

When compile Cobalt, the following error happend, is there anyone who knows why?
It said the 'ShadowType' is not a class or namespace in grammy.y:3421, I did not know what is used for grammy.y, and try to trace and modify the code, it does not work.
grammar.y error details
Your issue is that C++ version before C++0x does not support ShadowType::kBoxShadow(member in enum type) use at all, you can change the cflags_cc from "-std=gnu++98" to "-std=gnu++0x"in third_party/starboard/linux/shared/gyp_configuration.gypi, and try again.

LinkedInApi class with scope

I am trying out LinkedInExampleWithScopes.java example from scribe-java.
However, it errors out on .provider(LinkedInApi.withScopes("foo", "bar", "baz")).
withScopes() is not recognized as part of scribe-1.3.3.jar.
Please advise which scribe-java version is the withScopes() included in.
I had the same problem but 'scibe-1.3.5.jar' works well. Try it.
Download link: http://mvnrepository.com/artifact/org.scribe/scribe/1.3.5

Unable to cast object of type 'NHibernate.Caches.SysCache.SysCacheProvider' to type 'NHibernate.Cache.ICacheProvider'

I'm using NHibernate 2.1.2 via Castl ActiveRecord. I wanted to set up second level cache using SysCache. But I got error:
Unable to cast object of type 'NHibernate.Caches.SysCache.SysCacheProvider' to type 'NHibernate.Cache.ICacheProvider'.
How can I correct this?
I'm guessing that you have some assemblies locally in your project and others in the GAC which have a version mismatch as Mauricio is saying. Make sure that NHibernate.Caches.SysCache.dll is in your bin folder (for your website), is the correct version and check that you don't have it in the GAC.
I found the reason. It was a nasty problem from ours. My team have merged all Castle ActiveRecord related assemblies together with ilmerge.exe and suppose named it Company.NHibernate.dll. I have not merged NHibernate.Caches.SysCache.dll with Company.NHibernate.dll. I have just put NHibernate.Caches.SysCache.dll alongside of Company.NHibernate.dll and mentioned name of NHibernate.Caches.SysCache in provider_class.
When I merged NHibernate.Caches.SysCache.dll with Company.NHibernate.dll and mentioned name of Company.NHibernate.dll in provider_class instead, everything went OK.
Thanks all users that tried to help me.