It seems you have updated your Java? Restarting ES is inevitable in that
case.

Jörg


On Tue, Jul 29, 2014 at 12:32 PM, Bharvi Dixit <[email protected]>
wrote:

> I am unable to find out why this error is being throw. The same code was
> working an hour ago.. No changes made:: Please reply
>
> log4j:WARN No appenders could be found for logger
> (org.elasticsearch.plugins).
> log4j:WARN Please initialize the log4j system properly.
> log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for
> more info.
> Exception in thread "main"
> org.elasticsearch.common.util.concurrent.ExecutionError:
> java.lang.NoSuchMethodError:
> sun.reflect.annotation.AnnotationParser.parseParameterAnnotations([BLsun/reflect/ConstantPool;Ljava/lang/Class;)[[Ljava/lang/annotation/Annotation;
> at
> org.elasticsearch.common.cache.LocalCache$Segment.get(LocalCache.java:2199)
> at org.elasticsearch.common.cache.LocalCache.get(LocalCache.java:3934)
> at
> org.elasticsearch.common.cache.LocalCache.getOrLoad(LocalCache.java:3938)
> at
> org.elasticsearch.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4821)
> at
> org.elasticsearch.common.inject.internal.FailableCache.get(FailableCache.java:51)
> at
> org.elasticsearch.common.inject.ConstructorInjectorStore.get(ConstructorInjectorStore.java:50)
> at
> org.elasticsearch.common.inject.ConstructorBindingImpl.initialize(ConstructorBindingImpl.java:50)
> at
> org.elasticsearch.common.inject.InjectorImpl.initializeBinding(InjectorImpl.java:372)
> at
> org.elasticsearch.common.inject.BindingProcessor$1$1.run(BindingProcessor.java:148)
> at
> org.elasticsearch.common.inject.BindingProcessor.initializeBindings(BindingProcessor.java:204)
> at
> org.elasticsearch.common.inject.InjectorBuilder.initializeStatically(InjectorBuilder.java:119)
> at
> org.elasticsearch.common.inject.InjectorBuilder.build(InjectorBuilder.java:102)
> at org.elasticsearch.common.inject.Guice.createInjector(Guice.java:93)
> at org.elasticsearch.common.inject.Guice.createInjector(Guice.java:70)
> at
> org.elasticsearch.common.inject.ModulesBuilder.createInjector(ModulesBuilder.java:59)
> at
> org.elasticsearch.client.transport.TransportClient.<init>(TransportClient.java:187)
> at
> org.elasticsearch.client.transport.TransportClient.<init>(TransportClient.java:125)
> at
> com.orkash.newsmonitoring.MongoMonitoring.getEsConnection(MongoMonitoring.java:101)
> at
> com.orkash.newsmonitoring.MongoMonitoring.<init>(MongoMonitoring.java:132)
> at com.orkash.newsmonitoring.MongoMonitoring.main(MongoMonitoring.java:839)
> Caused by: java.lang.NoSuchMethodError:
> sun.reflect.annotation.AnnotationParser.parseParameterAnnotations([BLsun/reflect/ConstantPool;Ljava/lang/Class;)[[Ljava/lang/annotation/Annotation;
> at
> java.lang.reflect.Constructor.getParameterAnnotations(Constructor.java:658)
> at
> org.elasticsearch.common.inject.spi.InjectionPoint.<init>(InjectionPoint.java:67)
> at
> org.elasticsearch.common.inject.spi.InjectionPoint.forConstructorOf(InjectionPoint.java:196)
> at
> org.elasticsearch.common.inject.ConstructorInjectorStore.createConstructor(ConstructorInjectorStore.java:59)
> at
> org.elasticsearch.common.inject.ConstructorInjectorStore.access$000(ConstructorInjectorStore.java:29)
> at
> org.elasticsearch.common.inject.ConstructorInjectorStore$1.create(ConstructorInjectorStore.java:37)
> at
> org.elasticsearch.common.inject.ConstructorInjectorStore$1.create(ConstructorInjectorStore.java:33)
> at
> org.elasticsearch.common.inject.internal.FailableCache$1.load(FailableCache.java:39)
> at
> org.elasticsearch.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3524)
> at
> org.elasticsearch.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2317)
> at
> org.elasticsearch.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2280)
> at
> org.elasticsearch.common.cache.LocalCache$Segment.get(LocalCache.java:2195)
> ... 19 more
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "elasticsearch" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/elasticsearch/b20f091b-3a1a-4778-be9a-15b8233668f6%40googlegroups.com
> <https://groups.google.com/d/msgid/elasticsearch/b20f091b-3a1a-4778-be9a-15b8233668f6%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/CAKdsXoGsLi2zz824hO%2BssTrO6Fp7qW8WUEE%3DsxveJAoemdYz3g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to