# ElasticSearch 5 - Error on transport client initialization

**URL:** <https://discuss.elastic.co/t/elasticsearch-5-error-on-transport-client-initialization/61419>\
**Category:** Elasticsearch\
**Created:** [September 23, 2016, 9:13pm UTC](https://discuss.elastic.co/t/elasticsearch-5-error-on-transport-client-initialization/61419 "2016-09-23T21:13:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Douglas\_Smith](https://avatars.discourse-cdn.com/v4/letter/d/d78d45/32.png) [@Douglas\_Smith](https://discuss.elastic.co/u/Douglas_Smith)\
**Post date:** [September 23, 2016, 9:13pm UTC](https://discuss.elastic.co/t/elasticsearch-5-error-on-transport-client-initialization/61419/1 "2016-09-23T21:13:41Z")

</div>

Hello everyone,

We get pages and pages of the below errors that show up in the console, when we first initialize the transportClient in groovy. However, the application does not stop running (errors do not bubble up), and it does not seem to affect behavior. After errors finish output in console, the search runs fine.

We are running ES 5 alpha5 servers  
We are including and calling the alpha5 java api library, since the groovy library is not ready yet for 5.0  
We are running Grails 2.3.11, and groovy compiler 2.3.10  
We are running grails on top of java 8.31

We are looking for ideas as to the root cause. Thanks!

org.springsource.loaded.agent.SpringLoadedPreProcessor Unexpected problem transforming call sites  
java.lang.IllegalStateException: Unexpected problem processing bytes for class  
at java.lang.ClassLoader.defineClass(ClassLoader.java:760)  
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)  
at java.net.URLClassLoader.defineClass(URLClassLoader.java:455)  
at java.net.URLClassLoader.access$100(URLClassLoader.java:73)  
at java.net.URLClassLoader$1.run(URLClassLoader.java:367)  
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)  
at java.net.URLClassLoader.findClass(URLClassLoader.java:360)  
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)  
at java.lang.Class.privateGetDeclaredMethods(Class.java:2693)  
at java.lang.Class.getDeclaredMethods(Class.java:1967)  
at org.codehaus.groovy.util.LazyReference.getLocked(LazyReference.java:46)  
at org.codehaus.groovy.util.LazyReference.get(LazyReference.java:33)  
at com.deltek.istech.search.EsSearchService.assembleQuery(EsSearchService.groovy:117)  
at com.deltek.istech.search.EsSearchService.$tt\_\_runAdvancedSearch(EsSearchService.groovy:32)  
at GrailsMelodyGrailsPlugin$\_closure4\_closure16\_closure17.doCall(GrailsMelodyGrailsPlugin.groovy:184)  
at com.deltek.istech.search.TaskOrderSearchService.runAdvancedSearch(TaskOrderSearchService.groovy:46)  
at GrailsMelodyGrailsPlugin$\_closure4\_closure16\_closure17.doCall(GrailsMelodyGrailsPlugin.groovy:184)  
at com.deltek.istech.client.web.search.server.EsTestController.testTaskOrderSearch(EsTestController.groovy:67)  
at grails.plugin.cache.web.filter.PageFragmentCachingFilter.doFilter(PageFragmentCachingFilter.java:198)  
at grails.plugin.cache.web.filter.AbstractFilter.doFilter(AbstractFilter.java:63)  
at net.bull.javamelody.JspWrapper.invoke(JspWrapper.java:150)  
at net.bull.javamelody.JdbcWrapper$DelegatingInvocationHandler.invoke(JdbcWrapper.java:285)  
at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:202)  
at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:180)  
at grails.plugin.springsecurity.web.filter.GrailsAnonymousAuthenticationFilter.doFilter(GrailsAnonymousAuthenticationFilter.java:53)  
at grails.plugin.springsecurity.web.authentication.RequestHolderAuthenticationFilter.doFilter(RequestHolderAuthenticationFilter.java:49)  
at com.deltek.istech.client.security.preauth.filter.ColdFusionPreAuthenticatedProcessingFilter.doFilter(ColdFusionPreAuthenticatedProcessingFilter.java:231)  
at net.bull.javamelody.MonitoringSpringInterceptor.invoke(MonitoringSpringInterceptor.java:73)  
at grails.plugin.springsecurity.web.authentication.logout.MutableLogoutFilter.doFilter(MutableLogoutFilter.java:82)  
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)  
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)  
at java.lang.Thread.run(Thread.java:745)  
Caused by: java.lang.IllegalStateException: Entry: 61 18  
... 32 more

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 5, 2017, 10:17pm UTC](https://discuss.elastic.co/t/elasticsearch-5-error-on-transport-client-initialization/61419/2 "2017-07-05T22:17:35Z")

</div>


