# Marvel 1.2.0 java.lang.IllegalStateException

**URL:** <https://discuss.elastic.co/t/marvel-1-2-0-java-lang-illegalstateexception/17921>\
**Category:** Elasticsearch\
**Created:** [June 5, 2014, 8:56am UTC](https://discuss.elastic.co/t/marvel-1-2-0-java-lang-illegalstateexception/17921 "2014-06-05T08:56:00Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pawel\_Krzaczkowski](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pawel_krzaczkowski/32/1404_2.png) [@Pawel\_Krzaczkowski](https://discuss.elastic.co/u/Pawel_Krzaczkowski)\
**Post date:** [June 5, 2014, 8:56am UTC](https://discuss.elastic.co/t/marvel-1-2-0-java-lang-illegalstateexception/17921/1 "2014-06-05T08:56:00Z")

</div>

Hi.

After upgrading Marvel to 1.2.0 (running on Elasticsearch 1.2.1) i'm  
getting errors like

[2014-06-05 10:47:25,346][INFO][node] [es-m-3]  
version[1.2.1], pid[68924], build[6c95b75/2014-06-03T15:02:52Z]  
[2014-06-05 10:47:25,347][INFO][node] [es-m-3]  
initializing ...  
[2014-06-05 10:47:25,367][INFO][plugins] [es-m-3] loaded  
[marvel, analysis-icu], sites [marvel, head, segmentspy, browser, paramedic]  
[2014-06-05 10:47:28,455][INFO][node] [es-m-3]  
initialized  
[2014-06-05 10:47:28,456][INFO][node] [es-m-3]  
starting ...  
[2014-06-05 10:47:28,597][INFO][transport] [es-m-3]  
bound\_address {inet[/0:0:0:0:0:0:0:0:9300]}, publish\_address  
{inet[/192.168.0.212:9300]}  
[2014-06-05 10:47:42,340][INFO][cluster.service] [es-m-3]  
new\_master  
[es-m-3][0H3grrJxTJunU1U6FmkIEg][es-m-3][inet[192.168.0.212/192.168.0.212:9300]]{data=false,  
master=true}, reason: zen-disco-join (elected\_as\_master)  
[2014-06-05 10:47:42,350][INFO][discovery] [es-m-3]  
freshmind/0H3grrJxTJunU1U6FmkIEg  
[2014-06-05 10:47:42,365][INFO][http] [es-m-3]  
bound\_address {inet[/0:0:0:0:0:0:0:0:9200]}, publish\_address  
{inet[/192.168.0.212:9200]}  
[2014-06-05 10:47:42,368][INFO][node] [es-m-3] started  
[2014-06-05 10:47:44,098][INFO][cluster.service] [es-m-3] added  
{[es-m-1][MHl5Ls-cRXCwc7OC-P0J5w][es-m-1][inet[/192.168.0.210:9300]]{data=false,  
machine=44454c4c-5300-1052-8038-b9c04f5a5a31, master=true},}, reason:  
zen-disco-receive(join from  
node[[es-m-1][MHl5Ls-cRXCwc7OC-P0J5w][es-m-1][inet[/192.168.0.210:9300]]{data=false,  
machine=44454c4c-5300-1052-8038-b9c04f5a5a31, master=true}])  
[2014-06-05 10:47:44,401][INFO][gateway] [es-m-3]  
recovered [28] indices into cluster\_state  
[2014-06-05 10:47:48,683][ERROR][marvel.agent] [es-m-3]  
exporter [es\_exporter] has thrown an exception:  
java.lang.IllegalStateException: array not available  
at  
org.elasticsearch.common.bytes.PagedBytesReference.array(PagedBytesReference.java:289)  
at  
org.elasticsearch.marvel.agent.exporter.ESExporter.addXContentRendererToConnection(ESExporter.java:209)  
at  
org.elasticsearch.marvel.agent.exporter.ESExporter.exportXContent(ESExporter.java:252)  
at  
org.elasticsearch.marvel.agent.exporter.ESExporter.exportEvents(ESExporter.java:161)  
at  
org.elasticsearch.marvel.agent.AgentService$ExportingWorker.exportEvents(AgentService.java:305)  
at  
org.elasticsearch.marvel.agent.AgentService$ExportingWorker.run(AgentService.java:240)  
at java.lang.Thread.run(Thread.java:745)  
[2014-06-05 10:47:58,738][ERROR][marvel.agent] [es-m-3]  
exporter [es\_exporter] has thrown an exception:  
java.lang.IllegalStateException: array not available  
at  
org.elasticsearch.common.bytes.PagedBytesReference.array(PagedBytesReference.java:289)  
at  
org.elasticsearch.marvel.agent.exporter.ESExporter.addXContentRendererToConnection(ESExporter.java:209)  
at  
org.elasticsearch.marvel.agent.exporter.ESExporter.exportXContent(ESExporter.java:252)  
at  
org.elasticsearch.marvel.agent.exporter.ESExporter.exportEvents(ESExporter.java:161)  
at  
org.elasticsearch.marvel.agent.AgentService$ExportingWorker.exportEvents(AgentService.java:305)  
at  
org.elasticsearch.marvel.agent.AgentService$ExportingWorker.run(AgentService.java:240)  
at java.lang.Thread.run(Thread.java:745)  
[2014-06-05 10:48:36,572][INFO][cluster.service] [es-m-3] added  
{[es-m-2][e5uEqGRhS7uEioNxaYkwTg][es-m-2][inet[/192.168.0.211:9300]]{data=false,  
master=true},}, reason: zen-disco-receive(join from  
node[[es-m-2][e5uEqGRhS7uEioNxaYkwTg][es-m-2][inet[/192.168.0.211:9300]]{data=false,  
master=true}])  
[2014-06-05 10:48:38,859][ERROR][marvel.agent] [es-m-3]  
exporter [es\_exporter] has thrown an exception:  
java.lang.IllegalStateException: array not available  
at  
org.elasticsearch.common.bytes.PagedBytesReference.array(PagedBytesReference.java:289)  
at  
org.elasticsearch.marvel.agent.exporter.ESExporter.addXContentRendererToConnection(ESExporter.java:209)  
at  
org.elasticsearch.marvel.agent.exporter.ESExporter.exportXContent(ESExporter.java:252)  
at  
org.elasticsearch.marvel.agent.exporter.ESExporter.exportEvents(ESExporter.java:161)  
at  
org.elasticsearch.marvel.agent.AgentService$ExportingWorker.exportEvents(AgentService.java:305)  
at  
org.elasticsearch.marvel.agent.AgentService$ExportingWorker.run(AgentService.java:240)  
at java.lang.Thread.run(Thread.java:745)  
[2014-06-05 10:49:47,283][INFO][cluster.service] [es-m-3] added  
{[es-d-1][9T5-BOVCSveOyh5dV9YvDg][es-d-1.localhost][inet[/192.168.0.213:9300]]{machine=44454c4c-5300-1052-8038-b9c04f5a5a31,  
master=false},}, reason: zen-disco-receive(join from  
node[[es-d-1][9T5-BOVCSveOyh5dV9YvDg][es-d-1.localhost][inet[/192.168.0.213:9300]]{machine=44454c4c-5300-1052-8038-b9c04f5a5a31,  
master=false}])  
[2014-06-05 10:49:47,350][INFO][cluster.service] [es-m-3] added  
{[es-d-2][ddoIhezQSjuGYWPmSWltIg][es-d-2][inet[/192.168.0.200:9300]]{machine=44454c4c-5200-1038-8030-c2c04f365931,  
master=false},}, reason: zen-disco-receive(join from  
node[[es-d-2][ddoIhezQSjuGYWPmSWltIg][es-d-2][inet[/192.168.0.200:9300]]{machine=44454c4c-5200-1038-8030-c2c04f365931,  
master=false}])  
[2014-06-05 10:49:49,055][ERROR][marvel.agent] [es-m-3]  
exporter [es\_exporter] has thrown an exception:  
java.lang.IllegalStateException: array not available  
at  
org.elasticsearch.common.bytes.PagedBytesReference.array(PagedBytesReference.java:289)  
at  
org.elasticsearch.marvel.agent.exporter.ESExporter.addXContentRendererToConnection(ESExporter.java:209)  
at  
org.elasticsearch.marvel.agent.exporter.ESExporter.exportXContent(ESExporter.java:252)  
at  
org.elasticsearch.marvel.agent.exporter.ESExporter.exportEvents(ESExporter.java:161)  
at  
org.elasticsearch.marvel.agent.AgentService$ExportingWorker.exportEvents(AgentService.java:305)  
at  
org.elasticsearch.marvel.agent.AgentService$ExportingWorker.run(AgentService.java:240)  
at java.lang.Thread.run(Thread.java:745)  
[2014-06-05 10:49:59,090][ERROR][marvel.agent] [es-m-3]  
exporter [es\_exporter] has thrown an exception:  
java.lang.IllegalStateException: array not available  
at  
org.elasticsearch.common.bytes.PagedBytesReference.array(PagedBytesReference.java:289)  
at  
org.elasticsearch.marvel.agent.exporter.ESExporter.addXContentRendererToConnection(ESExporter.java:209)  
at  
org.elasticsearch.marvel.agent.exporter.ESExporter.exportXContent(ESExporter.java:252)  
at  
org.elasticsearch.marvel.agent.exporter.ESExporter.exportEvents(ESExporter.java:161)  
at  
org.elasticsearch.marvel.agent.AgentService$ExportingWorker.exportEvents(AgentService.java:305)  
at  
org.elasticsearch.marvel.agent.AgentService$ExportingWorker.run(AgentService.java:240)  
at java.lang.Thread.run(Thread.java:745)  
[2014-06-05 10:50:09,267][ERROR][marvel.agent] [es-m-3]  
exporter [es\_exporter] has thrown an exception:  
java.lang.IllegalStateException: array not available  
at  
org.elasticsearch.common.bytes.PagedBytesReference.array(PagedBytesReference.java:289)  
at  
org.elasticsearch.marvel.agent.exporter.ESExporter.addXContentRendererToConnection(ESExporter.java:209)  
at  
org.elasticsearch.marvel.agent.exporter.ESExporter.exportXContent(ESExporter.java:252)  
at  
org.elasticsearch.marvel.agent.exporter.ESExporter.exportEvents(ESExporter.java:161)  
at  
org.elasticsearch.marvel.agent.AgentService$ExportingWorker.exportEvents(AgentService.java:305)  
at  
org.elasticsearch.marvel.agent.AgentService$ExportingWorker.run(AgentService.java:240)  
at java.lang.Thread.run(Thread.java:745)  
[root@es-m-3 ~]#

Marvel is running on a separate cluster.  
Cluster state is not being transmitted to marvel. Error occurs every time  
cluster state changes (node restart, shard allocation, etc.)

ENV on master node  
[root@es-m-3 ~]# env  
MANPATH=/opt/local/man:/usr/share/man:/opt/local/gcc47/man:/opt/local/java/sun6/man:/opt/local/lib/perl5/man:/opt/local/lib/perl5/vendor\_perl/man  
HZ=100  
SHELL=/usr/bin/bash  
TERM=xterm  
ES\_HEAP\_SIZE=512M  
ES\_JAVA\_OPTS=-d64 -server -Des.processors=1 -Des.node.name=es-m-3  
-Des.node.machine=44454c4c-5200-1038-8030-c2c04f365931  
COLUMNS=238  
PAGER=less  
MAIL=/var/mail/root  
PATH=/usr/local/sbin:/usr/local/bin:/opt/local/sbin:/opt/local/bin:/usr/sbin:/usr/bin:/sbin  
PWD=/root  
JAVA\_HOME=/opt/jdk1.7.0\_55/  
LINES=74  
SHLVL=1  
HOME=/root  
TERMINFO=/opt/local/share/lib/terminfo  
LOGNAME=root  
FTPMODE=auto  
\_=/opt/local/bin/env

[root@es-m-3 ~]# /opt/jdk1.7.0\_55/bin/java -d64 -version  
java version "1.7.0\_55"  
Java(TM) SE Runtime Environment (build 1.7.0\_55-b13)  
Java HotSpot(TM) 64-Bit Server VM (build 24.55-b03, mixed mode)

Marvel 1.1.1 worked without any problems.

Pawel

--  
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 [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/fcb736ce-a82f-4f14-9103-b4770f1b8b5f%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/fcb736ce-a82f-4f14-9103-b4770f1b8b5f%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Boaz\_Leskes](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/boaz_leskes/32/723_2.png) [@Boaz\_Leskes](https://discuss.elastic.co/u/Boaz_Leskes)\
**Post date:** [June 6, 2014, 7:28am UTC](https://discuss.elastic.co/t/marvel-1-2-0-java-lang-illegalstateexception/17921/2 "2014-06-06T07:28:30Z")

</div>

HI Pawel,

I see - your cluster state (nodes + routing only, not meta data), seems to  
be larger then 16KB when rendered to SMILE, which is quite big - does this  
make sense?

Above 16KB an underlying paging system introduced in the ES 1.x branch  
kicks in. At that breaks something in Marvel than normally ships very small  
documents.

I'll work on a fix. Can you confirm your cluster state (again, without the  
metadata) is indeed very large?

Cheers,  
Boaz

On Thursday, June 5, 2014 10:56:00 AM UTC+2, Paweł Krzaczkowski wrote:

> Hi.
> 
> After upgrading Marvel to 1.2.0 (running on Elasticsearch 1.2.1) i'm  
> getting errors like
> 
> [2014-06-05 10:47:25,346][INFO][node] [es-m-3]  
> version[1.2.1], pid[68924], build[6c95b75/2014-06-03T15:02:52Z]  
> [2014-06-05 10:47:25,347][INFO][node] [es-m-3]  
> initializing ...  
> [2014-06-05 10:47:25,367][INFO][plugins] [es-m-3]  
> loaded [marvel, analysis-icu], sites [marvel, head, segmentspy, browser,  
> paramedic]  
> [2014-06-05 10:47:28,455][INFO][node] [es-m-3]  
> initialized  
> [2014-06-05 10:47:28,456][INFO][node] [es-m-3]  
> starting ...  
> [2014-06-05 10:47:28,597][INFO][transport] [es-m-3]  
> bound\_address {inet[/0:0:0:0:0:0:0:0:9300]}, publish\_address {inet[/  
> 192.168.0.212:9300]}  
> [2014-06-05 10:47:42,340][INFO][cluster.service] [es-m-3]  
> new\_master [es-m-3][0H3grrJxTJunU1U6FmkIEg][es-m-3][inet[  
> 192.168.0.212/192.168.0.212:9300]]{data=false  
> [http://192.168.0.212/192.168.0.212:9300]]{data=false](http://192.168.0.212/192.168.0.212:9300%5D%5D%7Bdata=false),  
> master=true}, reason: zen-disco-join (elected\_as\_master)  
> [2014-06-05 10:47:42,350][INFO][discovery] [es-m-3]  
> freshmind/0H3grrJxTJunU1U6FmkIEg  
> [2014-06-05 10:47:42,365][INFO][http] [es-m-3]  
> bound\_address {inet[/0:0:0:0:0:0:0:0:9200]}, publish\_address {inet[/  
> 192.168.0.212:9200]}  
> [2014-06-05 10:47:42,368][INFO][node] [es-m-3]  
> started  
> [2014-06-05 10:47:44,098][INFO][cluster.service] [es-m-3] added  
> {[es-m-1][MHl5Ls-cRXCwc7OC-P0J5w][es-m-1][inet[/192.168.0.210:9300]]{data=false,  
> machine=44454c4c-5300-1052-8038-b9c04f5a5a31, master=true},}, reason:  
> zen-disco-receive(join from  
> node[[es-m-1][MHl5Ls-cRXCwc7OC-P0J5w][es-m-1][inet[/192.168.0.210:9300]]{data=false,  
> machine=44454c4c-5300-1052-8038-b9c04f5a5a31, master=true}])  
> [2014-06-05 10:47:44,401][INFO][gateway] [es-m-3]  
> recovered [28] indices into cluster\_state  
> [2014-06-05 10:47:48,683][ERROR][marvel.agent] [es-m-3]  
> exporter [es\_exporter] has thrown an exception:  
> java.lang.IllegalStateException: array not available  
> at  
> org.elasticsearch.common.bytes.PagedBytesReference.array(PagedBytesReference.java:289)  
> at  
> org.elasticsearch.marvel.agent.exporter.ESExporter.addXContentRendererToConnection(ESExporter.java:209)  
> at  
> org.elasticsearch.marvel.agent.exporter.ESExporter.exportXContent(ESExporter.java:252)  
> at  
> org.elasticsearch.marvel.agent.exporter.ESExporter.exportEvents(ESExporter.java:161)  
> at  
> org.elasticsearch.marvel.agent.AgentService$ExportingWorker.exportEvents(AgentService.java:305)  
> at  
> org.elasticsearch.marvel.agent.AgentService$ExportingWorker.run(AgentService.java:240)  
> at java.lang.Thread.run(Thread.java:745)  
> [2014-06-05 10:47:58,738][ERROR][marvel.agent] [es-m-3]  
> exporter [es\_exporter] has thrown an exception:  
> java.lang.IllegalStateException: array not available  
> at  
> org.elasticsearch.common.bytes.PagedBytesReference.array(PagedBytesReference.java:289)  
> at  
> org.elasticsearch.marvel.agent.exporter.ESExporter.addXContentRendererToConnection(ESExporter.java:209)  
> at  
> org.elasticsearch.marvel.agent.exporter.ESExporter.exportXContent(ESExporter.java:252)  
> at  
> org.elasticsearch.marvel.agent.exporter.ESExporter.exportEvents(ESExporter.java:161)  
> at  
> org.elasticsearch.marvel.agent.AgentService$ExportingWorker.exportEvents(AgentService.java:305)  
> at  
> org.elasticsearch.marvel.agent.AgentService$ExportingWorker.run(AgentService.java:240)  
> at java.lang.Thread.run(Thread.java:745)  
> [2014-06-05 10:48:36,572][INFO][cluster.service] [es-m-3] added  
> {[es-m-2][e5uEqGRhS7uEioNxaYkwTg][es-m-2][inet[/192.168.0.211:9300]]{data=false,  
> master=true},}, reason: zen-disco-receive(join from  
> node[[es-m-2][e5uEqGRhS7uEioNxaYkwTg][es-m-2][inet[/192.168.0.211:9300]]{data=false,  
> master=true}])  
> [2014-06-05 10:48:38,859][ERROR][marvel.agent] [es-m-3]  
> exporter [es\_exporter] has thrown an exception:  
> java.lang.IllegalStateException: array not available  
> at  
> org.elasticsearch.common.bytes.PagedBytesReference.array(PagedBytesReference.java:289)  
> at  
> org.elasticsearch.marvel.agent.exporter.ESExporter.addXContentRendererToConnection(ESExporter.java:209)  
> at  
> org.elasticsearch.marvel.agent.exporter.ESExporter.exportXContent(ESExporter.java:252)  
> at  
> org.elasticsearch.marvel.agent.exporter.ESExporter.exportEvents(ESExporter.java:161)  
> at  
> org.elasticsearch.marvel.agent.AgentService$ExportingWorker.exportEvents(AgentService.java:305)  
> at  
> org.elasticsearch.marvel.agent.AgentService$ExportingWorker.run(AgentService.java:240)  
> at java.lang.Thread.run(Thread.java:745)  
> [2014-06-05 10:49:47,283][INFO][cluster.service] [es-m-3] added  
> {[es-d-1][9T5-BOVCSveOyh5dV9YvDg][es-d-1.localhost][inet[/192.168.0.213:9300]]{machine=44454c4c-5300-1052-8038-b9c04f5a5a31,  
> master=false},}, reason: zen-disco-receive(join from  
> node[[es-d-1][9T5-BOVCSveOyh5dV9YvDg][es-d-1.localhost][inet[/192.168.0.213:9300]]{machine=44454c4c-5300-1052-8038-b9c04f5a5a31,  
> master=false}])  
> [2014-06-05 10:49:47,350][INFO][cluster.service] [es-m-3] added  
> {[es-d-2][ddoIhezQSjuGYWPmSWltIg][es-d-2][inet[/192.168.0.200:9300]]{machine=44454c4c-5200-1038-8030-c2c04f365931,  
> master=false},}, reason: zen-disco-receive(join from  
> node[[es-d-2][ddoIhezQSjuGYWPmSWltIg][es-d-2][inet[/192.168.0.200:9300]]{machine=44454c4c-5200-1038-8030-c2c04f365931,  
> master=false}])  
> [2014-06-05 10:49:49,055][ERROR][marvel.agent] [es-m-3]  
> exporter [es\_exporter] has thrown an exception:  
> java.lang.IllegalStateException: array not available  
> at  
> org.elasticsearch.common.bytes.PagedBytesReference.array(PagedBytesReference.java:289)  
> at  
> org.elasticsearch.marvel.agent.exporter.ESExporter.addXContentRendererToConnection(ESExporter.java:209)  
> at  
> org.elasticsearch.marvel.agent.exporter.ESExporter.exportXContent(ESExporter.java:252)  
> at  
> org.elasticsearch.marvel.agent.exporter.ESExporter.exportEvents(ESExporter.java:161)  
> at  
> org.elasticsearch.marvel.agent.AgentService$ExportingWorker.exportEvents(AgentService.java:305)  
> at  
> org.elasticsearch.marvel.agent.AgentService$ExportingWorker.run(AgentService.java:240)  
> at java.lang.Thread.run(Thread.java:745)  
> [2014-06-05 10:49:59,090][ERROR][marvel.agent] [es-m-3]  
> exporter [es\_exporter] has thrown an exception:  
> java.lang.IllegalStateException: array not available  
> at  
> org.elasticsearch.common.bytes.PagedBytesReference.array(PagedBytesReference.java:289)  
> at  
> org.elasticsearch.marvel.agent.exporter.ESExporter.addXContentRendererToConnection(ESExporter.java:209)  
> at  
> org.elasticsearch.marvel.agent.exporter.ESExporter.exportXContent(ESExporter.java:252)  
> at  
> org.elasticsearch.marvel.agent.exporter.ESExporter.exportEvents(ESExporter.java:161)  
> at  
> org.elasticsearch.marvel.agent.AgentService$ExportingWorker.exportEvents(AgentService.java:305)  
> at  
> org.elasticsearch.marvel.agent.AgentService$ExportingWorker.run(AgentService.java:240)  
> at java.lang.Thread.run(Thread.java:745)  
> [2014-06-05 10:50:09,267][ERROR][marvel.agent] [es-m-3]  
> exporter [es\_exporter] has thrown an exception:  
> java.lang.IllegalStateException: array not available  
> at  
> org.elasticsearch.common.bytes.PagedBytesReference.array(PagedBytesReference.java:289)  
> at  
> org.elasticsearch.marvel.agent.exporter.ESExporter.addXContentRendererToConnection(ESExporter.java:209)  
> at  
> org.elasticsearch.marvel.agent.exporter.ESExporter.exportXContent(ESExporter.java:252)  
> at  
> org.elasticsearch.marvel.agent.exporter.ESExporter.exportEvents(ESExporter.java:161)  
> at  
> org.elasticsearch.marvel.agent.AgentService$ExportingWorker.exportEvents(AgentService.java:305)  
> at  
> org.elasticsearch.marvel.agent.AgentService$ExportingWorker.run(AgentService.java:240)  
> at java.lang.Thread.run(Thread.java:745)  
> [root@es-m-3 ~]#
> 
> Marvel is running on a separate cluster.  
> Cluster state is not being transmitted to marvel. Error occurs every time  
> cluster state changes (node restart, shard allocation, etc.)
> 
> ENV on master node  
> [root@es-m-3 ~]# env
> 
> MANPATH=/opt/local/man:/usr/share/man:/opt/local/gcc47/man:/opt/local/java/sun6/man:/opt/local/lib/perl5/man:/opt/local/lib/perl5/vendor\_perl/man  
> HZ=100  
> SHELL=/usr/bin/bash  
> TERM=xterm  
> ES\_HEAP\_SIZE=512M  
> ES\_JAVA\_OPTS=-d64 -server -Des.processors=1 -Des.node.name=es-m-3  
> -Des.node.machine=44454c4c-5200-1038-8030-c2c04f365931  
> COLUMNS=238  
> PAGER=less  
> MAIL=/var/mail/root
> 
> PATH=/usr/local/sbin:/usr/local/bin:/opt/local/sbin:/opt/local/bin:/usr/sbin:/usr/bin:/sbin  
> PWD=/root  
> JAVA\_HOME=/opt/jdk1.7.0\_55/  
> LINES=74  
> SHLVL=1  
> HOME=/root  
> TERMINFO=/opt/local/share/lib/terminfo  
> LOGNAME=root  
> FTPMODE=auto  
> \_=/opt/local/bin/env
> 
> [root@es-m-3 ~]# /opt/jdk1.7.0\_55/bin/java -d64 -version  
> java version "1.7.0\_55"  
> Java(TM) SE Runtime Environment (build 1.7.0\_55-b13)  
> Java HotSpot(TM) 64-Bit Server VM (build 24.55-b03, mixed mode)
> 
> Marvel 1.1.1 worked without any problems.
> 
> Pawel

--  
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 [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/9dff903e-2597-43a4-9b0c-23a43b23ba04%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/9dff903e-2597-43a4-9b0c-23a43b23ba04%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Pawel\_Krzaczkowski](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pawel_krzaczkowski/32/1404_2.png) [@Pawel\_Krzaczkowski](https://discuss.elastic.co/u/Pawel_Krzaczkowski)\
**Post date:** [June 6, 2014, 8:04am UTC](https://discuss.elastic.co/t/marvel-1-2-0-java-lang-illegalstateexception/17921/3 "2014-06-06T08:04:45Z")

</div>

Hi Boaz

My cluster state from [http://192.168.0.211:9200/\_cluster/state?human&pretty](http://192.168.0.211:9200/_cluster/state?human&pretty)

[http://pastebin.com/ZEihQhc1](http://pastebin.com/ZEihQhc1) - well You may say it's big ...

Pawel

W dniu piątek, 6 czerwca 2014 09:28:30 UTC+2 użytkownik Boaz Leskes napisał:

> HI Pawel,
> 
> I see - your cluster state (nodes + routing only, not meta data), seems to  
> be larger then 16KB when rendered to SMILE, which is quite big - does this  
> make sense?
> 
> Above 16KB an underlying paging system introduced in the ES 1.x branch  
> kicks in. At that breaks something in Marvel than normally ships very small  
> documents.
> 
> I'll work on a fix. Can you confirm your cluster state (again, without the  
> metadata) is indeed very large?
> 
> Cheers,  
> Boaz
> 
> On Thursday, June 5, 2014 10:56:00 AM UTC+2, Paweł Krzaczkowski wrote:
> 
> > Hi.
> > 
> > After upgrading Marvel to 1.2.0 (running on Elasticsearch 1.2.1) i'm  
> > getting errors like
> > 
> > [2014-06-05 10:47:25,346][INFO][node] [es-m-3]  
> > version[1.2.1], pid[68924], build[6c95b75/2014-06-03T15:02:52Z]  
> > [2014-06-05 10:47:25,347][INFO][node] [es-m-3]  
> > initializing ...  
> > [2014-06-05 10:47:25,367][INFO][plugins] [es-m-3]  
> > loaded [marvel, analysis-icu], sites [marvel, head, segmentspy, browser,  
> > paramedic]  
> > [2014-06-05 10:47:28,455][INFO][node] [es-m-3]  
> > initialized  
> > [2014-06-05 10:47:28,456][INFO][node] [es-m-3]  
> > starting ...  
> > [2014-06-05 10:47:28,597][INFO][transport] [es-m-3]  
> > bound\_address {inet[/0:0:0:0:0:0:0:0:9300]}, publish\_address {inet[/  
> > 192.168.0.212:9300]}  
> > [2014-06-05 10:47:42,340][INFO][cluster.service] [es-m-3]  
> > new\_master [es-m-3][0H3grrJxTJunU1U6FmkIEg][es-m-3][inet[  
> > 192.168.0.212/192.168.0.212:9300]]{data=false  
> > [http://192.168.0.212/192.168.0.212:9300]]{data=false](http://192.168.0.212/192.168.0.212:9300%5D%5D%7Bdata=false),  
> > master=true}, reason: zen-disco-join (elected\_as\_master)  
> > [2014-06-05 10:47:42,350][INFO][discovery] [es-m-3]  
> > freshmind/0H3grrJxTJunU1U6FmkIEg  
> > [2014-06-05 10:47:42,365][INFO][http] [es-m-3]  
> > bound\_address {inet[/0:0:0:0:0:0:0:0:9200]}, publish\_address {inet[/  
> > 192.168.0.212:9200]}  
> > [2014-06-05 10:47:42,368][INFO][node] [es-m-3]  
> > started  
> > [2014-06-05 10:47:44,098][INFO][cluster.service] [es-m-3]  
> > added  
> > {[es-m-1][MHl5Ls-cRXCwc7OC-P0J5w][es-m-1][inet[/192.168.0.210:9300]]{data=false,  
> > machine=44454c4c-5300-1052-8038-b9c04f5a5a31, master=true},}, reason:  
> > zen-disco-receive(join from  
> > node[[es-m-1][MHl5Ls-cRXCwc7OC-P0J5w][es-m-1][inet[/192.168.0.210:9300]]{data=false,  
> > machine=44454c4c-5300-1052-8038-b9c04f5a5a31, master=true}])  
> > [2014-06-05 10:47:44,401][INFO][gateway] [es-m-3]  
> > recovered [28] indices into cluster\_state  
> > [2014-06-05 10:47:48,683][ERROR][marvel.agent] [es-m-3]  
> > exporter [es\_exporter] has thrown an exception:  
> > java.lang.IllegalStateException: array not available  
> > at  
> > org.elasticsearch.common.bytes.PagedBytesReference.array(PagedBytesReference.java:289)  
> > at  
> > org.elasticsearch.marvel.agent.exporter.ESExporter.addXContentRendererToConnection(ESExporter.java:209)  
> > at  
> > org.elasticsearch.marvel.agent.exporter.ESExporter.exportXContent(ESExporter.java:252)  
> > at  
> > org.elasticsearch.marvel.agent.exporter.ESExporter.exportEvents(ESExporter.java:161)  
> > at  
> > org.elasticsearch.marvel.agent.AgentService$ExportingWorker.exportEvents(AgentService.java:305)  
> > at  
> > org.elasticsearch.marvel.agent.AgentService$ExportingWorker.run(AgentService.java:240)  
> > at java.lang.Thread.run(Thread.java:745)  
> > [2014-06-05 10:47:58,738][ERROR][marvel.agent] [es-m-3]  
> > exporter [es\_exporter] has thrown an exception:  
> > java.lang.IllegalStateException: array not available  
> > at  
> > org.elasticsearch.common.bytes.PagedBytesReference.array(PagedBytesReference.java:289)  
> > at  
> > org.elasticsearch.marvel.agent.exporter.ESExporter.addXContentRendererToConnection(ESExporter.java:209)  
> > at  
> > org.elasticsearch.marvel.agent.exporter.ESExporter.exportXContent(ESExporter.java:252)  
> > at  
> > org.elasticsearch.marvel.agent.exporter.ESExporter.exportEvents(ESExporter.java:161)  
> > at  
> > org.elasticsearch.marvel.agent.AgentService$ExportingWorker.exportEvents(AgentService.java:305)  
> > at  
> > org.elasticsearch.marvel.agent.AgentService$ExportingWorker.run(AgentService.java:240)  
> > at java.lang.Thread.run(Thread.java:745)  
> > [2014-06-05 10:48:36,572][INFO][cluster.service] [es-m-3]  
> > added  
> > {[es-m-2][e5uEqGRhS7uEioNxaYkwTg][es-m-2][inet[/192.168.0.211:9300]]{data=false,  
> > master=true},}, reason: zen-disco-receive(join from  
> > node[[es-m-2][e5uEqGRhS7uEioNxaYkwTg][es-m-2][inet[/192.168.0.211:9300]]{data=false,  
> > master=true}])  
> > [2014-06-05 10:48:38,859][ERROR][marvel.agent] [es-m-3]  
> > exporter [es\_exporter] has thrown an exception:  
> > java.lang.IllegalStateException: array not available  
> > at  
> > org.elasticsearch.common.bytes.PagedBytesReference.array(PagedBytesReference.java:289)  
> > at  
> > org.elasticsearch.marvel.agent.exporter.ESExporter.addXContentRendererToConnection(ESExporter.java:209)  
> > at  
> > org.elasticsearch.marvel.agent.exporter.ESExporter.exportXContent(ESExporter.java:252)  
> > at  
> > org.elasticsearch.marvel.agent.exporter.ESExporter.exportEvents(ESExporter.java:161)  
> > at  
> > org.elasticsearch.marvel.agent.AgentService$ExportingWorker.exportEvents(AgentService.java:305)  
> > at  
> > org.elasticsearch.marvel.agent.AgentService$ExportingWorker.run(AgentService.java:240)  
> > at java.lang.Thread.run(Thread.java:745)  
> > [2014-06-05 10:49:47,283][INFO][cluster.service] [es-m-3]  
> > added  
> > {[es-d-1][9T5-BOVCSveOyh5dV9YvDg][es-d-1.localhost][inet[/192.168.0.213:9300]]{machine=44454c4c-5300-1052-8038-b9c04f5a5a31,  
> > master=false},}, reason: zen-disco-receive(join from  
> > node[[es-d-1][9T5-BOVCSveOyh5dV9YvDg][es-d-1.localhost][inet[/192.168.0.213:9300]]{machine=44454c4c-5300-1052-8038-b9c04f5a5a31,  
> > master=false}])  
> > [2014-06-05 10:49:47,350][INFO][cluster.service] [es-m-3]  
> > added  
> > {[es-d-2][ddoIhezQSjuGYWPmSWltIg][es-d-2][inet[/192.168.0.200:9300]]{machine=44454c4c-5200-1038-8030-c2c04f365931,  
> > master=false},}, reason: zen-disco-receive(join from  
> > node[[es-d-2][ddoIhezQSjuGYWPmSWltIg][es-d-2][inet[/192.168.0.200:9300]]{machine=44454c4c-5200-1038-8030-c2c04f365931,  
> > master=false}])  
> > [2014-06-05 10:49:49,055][ERROR][marvel.agent] [es-m-3]  
> > exporter [es\_exporter] has thrown an exception:  
> > java.lang.IllegalStateException: array not available  
> > at  
> > org.elasticsearch.common.bytes.PagedBytesReference.array(PagedBytesReference.java:289)  
> > at  
> > org.elasticsearch.marvel.agent.exporter.ESExporter.addXContentRendererToConnection(ESExporter.java:209)  
> > at  
> > org.elasticsearch.marvel.agent.exporter.ESExporter.exportXContent(ESExporter.java:252)  
> > at  
> > org.elasticsearch.marvel.agent.exporter.ESExporter.exportEvents(ESExporter.java:161)  
> > at  
> > org.elasticsearch.marvel.agent.AgentService$ExportingWorker.exportEvents(AgentService.java:305)  
> > at  
> > org.elasticsearch.marvel.agent.AgentService$ExportingWorker.run(AgentService.java:240)  
> > at java.lang.Thread.run(Thread.java:745)  
> > [2014-06-05 10:49:59,090][ERROR][marvel.agent] [es-m-3]  
> > exporter [es\_exporter] has thrown an exception:  
> > java.lang.IllegalStateException: array not available  
> > at  
> > org.elasticsearch.common.bytes.PagedBytesReference.array(PagedBytesReference.java:289)  
> > at  
> > org.elasticsearch.marvel.agent.exporter.ESExporter.addXContentRendererToConnection(ESExporter.java:209)  
> > at  
> > org.elasticsearch.marvel.agent.exporter.ESExporter.exportXContent(ESExporter.java:252)  
> > at  
> > org.elasticsearch.marvel.agent.exporter.ESExporter.exportEvents(ESExporter.java:161)  
> > at  
> > org.elasticsearch.marvel.agent.AgentService$ExportingWorker.exportEvents(AgentService.java:305)  
> > at  
> > org.elasticsearch.marvel.agent.AgentService$ExportingWorker.run(AgentService.java:240)  
> > at java.lang.Thread.run(Thread.java:745)  
> > [2014-06-05 10:50:09,267][ERROR][marvel.agent] [es-m-3]  
> > exporter [es\_exporter] has thrown an exception:  
> > java.lang.IllegalStateException: array not available  
> > at  
> > org.elasticsearch.common.bytes.PagedBytesReference.array(PagedBytesReference.java:289)  
> > at  
> > org.elasticsearch.marvel.agent.exporter.ESExporter.addXContentRendererToConnection(ESExporter.java:209)  
> > at  
> > org.elasticsearch.marvel.agent.exporter.ESExporter.exportXContent(ESExporter.java:252)  
> > at  
> > org.elasticsearch.marvel.agent.exporter.ESExporter.exportEvents(ESExporter.java:161)  
> > at  
> > org.elasticsearch.marvel.agent.AgentService$ExportingWorker.exportEvents(AgentService.java:305)  
> > at  
> > org.elasticsearch.marvel.agent.AgentService$ExportingWorker.run(AgentService.java:240)  
> > at java.lang.Thread.run(Thread.java:745)  
> > [root@es-m-3 ~]#
> > 
> > Marvel is running on a separate cluster.  
> > Cluster state is not being transmitted to marvel. Error occurs every time  
> > cluster state changes (node restart, shard allocation, etc.)
> > 
> > ENV on master node  
> > [root@es-m-3 ~]# env
> > 
> > MANPATH=/opt/local/man:/usr/share/man:/opt/local/gcc47/man:/opt/local/java/sun6/man:/opt/local/lib/perl5/man:/opt/local/lib/perl5/vendor\_perl/man  
> > HZ=100  
> > SHELL=/usr/bin/bash  
> > TERM=xterm  
> > ES\_HEAP\_SIZE=512M  
> > ES\_JAVA\_OPTS=-d64 -server -Des.processors=1 -Des.node.name=es-m-3  
> > -Des.node.machine=44454c4c-5200-1038-8030-c2c04f365931  
> > COLUMNS=238  
> > PAGER=less  
> > MAIL=/var/mail/root
> > 
> > PATH=/usr/local/sbin:/usr/local/bin:/opt/local/sbin:/opt/local/bin:/usr/sbin:/usr/bin:/sbin  
> > PWD=/root  
> > JAVA\_HOME=/opt/jdk1.7.0\_55/  
> > LINES=74  
> > SHLVL=1  
> > HOME=/root  
> > TERMINFO=/opt/local/share/lib/terminfo  
> > LOGNAME=root  
> > FTPMODE=auto  
> > \_=/opt/local/bin/env
> > 
> > [root@es-m-3 ~]# /opt/jdk1.7.0\_55/bin/java -d64 -version  
> > java version "1.7.0\_55"  
> > Java(TM) SE Runtime Environment (build 1.7.0\_55-b13)  
> > Java HotSpot(TM) 64-Bit Server VM (build 24.55-b03, mixed mode)
> > 
> > Marvel 1.1.1 worked without any problems.
> > 
> > Pawel

--  
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 [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/0bca571f-57e3-4fe7-9c98-5121c109b405%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/0bca571f-57e3-4fe7-9c98-5121c109b405%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Pawel\_Krzaczkowski](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pawel_krzaczkowski/32/1404_2.png) [@Pawel\_Krzaczkowski](https://discuss.elastic.co/u/Pawel_Krzaczkowski)\
**Post date:** [June 6, 2014, 8:10am UTC](https://discuss.elastic.co/t/marvel-1-2-0-java-lang-illegalstateexception/17921/4 "2014-06-06T08:10:44Z")

</div>

This one is without metadata

[http://pastebin.com/tmJGA5Kq](http://pastebin.com/tmJGA5Kq)  
[http://xxx:9200/\_cluster/state/version,master\_node,nodes,routing\_table,blocks/?human&pretty](http://xxx:9200/_cluster/state/version,master_node,nodes,routing_table,blocks/?human&pretty)

Pawel

W dniu piątek, 6 czerwca 2014 09:28:30 UTC+2 użytkownik Boaz Leskes napisał:

> HI Pawel,
> 
> I see - your cluster state (nodes + routing only, not meta data), seems to  
> be larger then 16KB when rendered to SMILE, which is quite big - does this  
> make sense?
> 
> Above 16KB an underlying paging system introduced in the ES 1.x branch  
> kicks in. At that breaks something in Marvel than normally ships very small  
> documents.
> 
> I'll work on a fix. Can you confirm your cluster state (again, without the  
> metadata) is indeed very large?
> 
> Cheers,  
> Boaz
> 
> On Thursday, June 5, 2014 10:56:00 AM UTC+2, Paweł Krzaczkowski wrote:
> 
> > Hi.
> > 
> > After upgrading Marvel to 1.2.0 (running on Elasticsearch 1.2.1) i'm  
> > getting errors like
> > 
> > [2014-06-05 10:47:25,346][INFO][node] [es-m-3]  
> > version[1.2.1], pid[68924], build[6c95b75/2014-06-03T15:02:52Z]  
> > [2014-06-05 10:47:25,347][INFO][node] [es-m-3]  
> > initializing ...  
> > [2014-06-05 10:47:25,367][INFO][plugins] [es-m-3]  
> > loaded [marvel, analysis-icu], sites [marvel, head, segmentspy, browser,  
> > paramedic]  
> > [2014-06-05 10:47:28,455][INFO][node] [es-m-3]  
> > initialized  
> > [2014-06-05 10:47:28,456][INFO][node] [es-m-3]  
> > starting ...  
> > [2014-06-05 10:47:28,597][INFO][transport] [es-m-3]  
> > bound\_address {inet[/0:0:0:0:0:0:0:0:9300]}, publish\_address {inet[/  
> > 192.168.0.212:9300]}  
> > [2014-06-05 10:47:42,340][INFO][cluster.service] [es-m-3]  
> > new\_master [es-m-3][0H3grrJxTJunU1U6FmkIEg][es-m-3][inet[  
> > 192.168.0.212/192.168.0.212:9300]]{data=false  
> > [http://192.168.0.212/192.168.0.212:9300]]{data=false](http://192.168.0.212/192.168.0.212:9300%5D%5D%7Bdata=false),  
> > master=true}, reason: zen-disco-join (elected\_as\_master)  
> > [2014-06-05 10:47:42,350][INFO][discovery] [es-m-3]  
> > freshmind/0H3grrJxTJunU1U6FmkIEg  
> > [2014-06-05 10:47:42,365][INFO][http] [es-m-3]  
> > bound\_address {inet[/0:0:0:0:0:0:0:0:9200]}, publish\_address {inet[/  
> > 192.168.0.212:9200]}  
> > [2014-06-05 10:47:42,368][INFO][node] [es-m-3]  
> > started  
> > [2014-06-05 10:47:44,098][INFO][cluster.service] [es-m-3]  
> > added  
> > {[es-m-1][MHl5Ls-cRXCwc7OC-P0J5w][es-m-1][inet[/192.168.0.210:9300]]{data=false,  
> > machine=44454c4c-5300-1052-8038-b9c04f5a5a31, master=true},}, reason:  
> > zen-disco-receive(join from  
> > node[[es-m-1][MHl5Ls-cRXCwc7OC-P0J5w][es-m-1][inet[/192.168.0.210:9300]]{data=false,  
> > machine=44454c4c-5300-1052-8038-b9c04f5a5a31, master=true}])  
> > [2014-06-05 10:47:44,401][INFO][gateway] [es-m-3]  
> > recovered [28] indices into cluster\_state  
> > [2014-06-05 10:47:48,683][ERROR][marvel.agent] [es-m-3]  
> > exporter [es\_exporter] has thrown an exception:  
> > java.lang.IllegalStateException: array not available  
> > at  
> > org.elasticsearch.common.bytes.PagedBytesReference.array(PagedBytesReference.java:289)  
> > at  
> > org.elasticsearch.marvel.agent.exporter.ESExporter.addXContentRendererToConnection(ESExporter.java:209)  
> > at  
> > org.elasticsearch.marvel.agent.exporter.ESExporter.exportXContent(ESExporter.java:252)  
> > at  
> > org.elasticsearch.marvel.agent.exporter.ESExporter.exportEvents(ESExporter.java:161)  
> > at  
> > org.elasticsearch.marvel.agent.AgentService$ExportingWorker.exportEvents(AgentService.java:305)  
> > at  
> > org.elasticsearch.marvel.agent.AgentService$ExportingWorker.run(AgentService.java:240)  
> > at java.lang.Thread.run(Thread.java:745)  
> > [2014-06-05 10:47:58,738][ERROR][marvel.agent] [es-m-3]  
> > exporter [es\_exporter] has thrown an exception:  
> > java.lang.IllegalStateException: array not available  
> > at  
> > org.elasticsearch.common.bytes.PagedBytesReference.array(PagedBytesReference.java:289)  
> > at  
> > org.elasticsearch.marvel.agent.exporter.ESExporter.addXContentRendererToConnection(ESExporter.java:209)  
> > at  
> > org.elasticsearch.marvel.agent.exporter.ESExporter.exportXContent(ESExporter.java:252)  
> > at  
> > org.elasticsearch.marvel.agent.exporter.ESExporter.exportEvents(ESExporter.java:161)  
> > at  
> > org.elasticsearch.marvel.agent.AgentService$ExportingWorker.exportEvents(AgentService.java:305)  
> > at  
> > org.elasticsearch.marvel.agent.AgentService$ExportingWorker.run(AgentService.java:240)  
> > at java.lang.Thread.run(Thread.java:745)  
> > [2014-06-05 10:48:36,572][INFO][cluster.service] [es-m-3]  
> > added  
> > {[es-m-2][e5uEqGRhS7uEioNxaYkwTg][es-m-2][inet[/192.168.0.211:9300]]{data=false,  
> > master=true},}, reason: zen-disco-receive(join from  
> > node[[es-m-2][e5uEqGRhS7uEioNxaYkwTg][es-m-2][inet[/192.168.0.211:9300]]{data=false,  
> > master=true}])  
> > [2014-06-05 10:48:38,859][ERROR][marvel.agent] [es-m-3]  
> > exporter [es\_exporter] has thrown an exception:  
> > java.lang.IllegalStateException: array not available  
> > at  
> > org.elasticsearch.common.bytes.PagedBytesReference.array(PagedBytesReference.java:289)  
> > at  
> > org.elasticsearch.marvel.agent.exporter.ESExporter.addXContentRendererToConnection(ESExporter.java:209)  
> > at  
> > org.elasticsearch.marvel.agent.exporter.ESExporter.exportXContent(ESExporter.java:252)  
> > at  
> > org.elasticsearch.marvel.agent.exporter.ESExporter.exportEvents(ESExporter.java:161)  
> > at  
> > org.elasticsearch.marvel.agent.AgentService$ExportingWorker.exportEvents(AgentService.java:305)  
> > at  
> > org.elasticsearch.marvel.agent.AgentService$ExportingWorker.run(AgentService.java:240)  
> > at java.lang.Thread.run(Thread.java:745)  
> > [2014-06-05 10:49:47,283][INFO][cluster.service] [es-m-3]  
> > added  
> > {[es-d-1][9T5-BOVCSveOyh5dV9YvDg][es-d-1.localhost][inet[/192.168.0.213:9300]]{machine=44454c4c-5300-1052-8038-b9c04f5a5a31,  
> > master=false},}, reason: zen-disco-receive(join from  
> > node[[es-d-1][9T5-BOVCSveOyh5dV9YvDg][es-d-1.localhost][inet[/192.168.0.213:9300]]{machine=44454c4c-5300-1052-8038-b9c04f5a5a31,  
> > master=false}])  
> > [2014-06-05 10:49:47,350][INFO][cluster.service] [es-m-3]  
> > added  
> > {[es-d-2][ddoIhezQSjuGYWPmSWltIg][es-d-2][inet[/192.168.0.200:9300]]{machine=44454c4c-5200-1038-8030-c2c04f365931,  
> > master=false},}, reason: zen-disco-receive(join from  
> > node[[es-d-2][ddoIhezQSjuGYWPmSWltIg][es-d-2][inet[/192.168.0.200:9300]]{machine=44454c4c-5200-1038-8030-c2c04f365931,  
> > master=false}])  
> > [2014-06-05 10:49:49,055][ERROR][marvel.agent] [es-m-3]  
> > exporter [es\_exporter] has thrown an exception:  
> > java.lang.IllegalStateException: array not available  
> > at  
> > org.elasticsearch.common.bytes.PagedBytesReference.array(PagedBytesReference.java:289)  
> > at  
> > org.elasticsearch.marvel.agent.exporter.ESExporter.addXContentRendererToConnection(ESExporter.java:209)  
> > at  
> > org.elasticsearch.marvel.agent.exporter.ESExporter.exportXContent(ESExporter.java:252)  
> > at  
> > org.elasticsearch.marvel.agent.exporter.ESExporter.exportEvents(ESExporter.java:161)  
> > at  
> > org.elasticsearch.marvel.agent.AgentService$ExportingWorker.exportEvents(AgentService.java:305)  
> > at  
> > org.elasticsearch.marvel.agent.AgentService$ExportingWorker.run(AgentService.java:240)  
> > at java.lang.Thread.run(Thread.java:745)  
> > [2014-06-05 10:49:59,090][ERROR][marvel.agent] [es-m-3]  
> > exporter [es\_exporter] has thrown an exception:  
> > java.lang.IllegalStateException: array not available  
> > at  
> > org.elasticsearch.common.bytes.PagedBytesReference.array(PagedBytesReference.java:289)  
> > at  
> > org.elasticsearch.marvel.agent.exporter.ESExporter.addXContentRendererToConnection(ESExporter.java:209)  
> > at  
> > org.elasticsearch.marvel.agent.exporter.ESExporter.exportXContent(ESExporter.java:252)  
> > at  
> > org.elasticsearch.marvel.agent.exporter.ESExporter.exportEvents(ESExporter.java:161)  
> > at  
> > org.elasticsearch.marvel.agent.AgentService$ExportingWorker.exportEvents(AgentService.java:305)  
> > at  
> > org.elasticsearch.marvel.agent.AgentService$ExportingWorker.run(AgentService.java:240)  
> > at java.lang.Thread.run(Thread.java:745)  
> > [2014-06-05 10:50:09,267][ERROR][marvel.agent] [es-m-3]  
> > exporter [es\_exporter] has thrown an exception:  
> > java.lang.IllegalStateException: array not available  
> > at  
> > org.elasticsearch.common.bytes.PagedBytesReference.array(PagedBytesReference.java:289)  
> > at  
> > org.elasticsearch.marvel.agent.exporter.ESExporter.addXContentRendererToConnection(ESExporter.java:209)  
> > at  
> > org.elasticsearch.marvel.agent.exporter.ESExporter.exportXContent(ESExporter.java:252)  
> > at  
> > org.elasticsearch.marvel.agent.exporter.ESExporter.exportEvents(ESExporter.java:161)  
> > at  
> > org.elasticsearch.marvel.agent.AgentService$ExportingWorker.exportEvents(AgentService.java:305)  
> > at  
> > org.elasticsearch.marvel.agent.AgentService$ExportingWorker.run(AgentService.java:240)  
> > at java.lang.Thread.run(Thread.java:745)  
> > [root@es-m-3 ~]#
> > 
> > Marvel is running on a separate cluster.  
> > Cluster state is not being transmitted to marvel. Error occurs every time  
> > cluster state changes (node restart, shard allocation, etc.)
> > 
> > ENV on master node  
> > [root@es-m-3 ~]# env
> > 
> > MANPATH=/opt/local/man:/usr/share/man:/opt/local/gcc47/man:/opt/local/java/sun6/man:/opt/local/lib/perl5/man:/opt/local/lib/perl5/vendor\_perl/man  
> > HZ=100  
> > SHELL=/usr/bin/bash  
> > TERM=xterm  
> > ES\_HEAP\_SIZE=512M  
> > ES\_JAVA\_OPTS=-d64 -server -Des.processors=1 -Des.node.name=es-m-3  
> > -Des.node.machine=44454c4c-5200-1038-8030-c2c04f365931  
> > COLUMNS=238  
> > PAGER=less  
> > MAIL=/var/mail/root
> > 
> > PATH=/usr/local/sbin:/usr/local/bin:/opt/local/sbin:/opt/local/bin:/usr/sbin:/usr/bin:/sbin  
> > PWD=/root  
> > JAVA\_HOME=/opt/jdk1.7.0\_55/  
> > LINES=74  
> > SHLVL=1  
> > HOME=/root  
> > TERMINFO=/opt/local/share/lib/terminfo  
> > LOGNAME=root  
> > FTPMODE=auto  
> > \_=/opt/local/bin/env
> > 
> > [root@es-m-3 ~]# /opt/jdk1.7.0\_55/bin/java -d64 -version  
> > java version "1.7.0\_55"  
> > Java(TM) SE Runtime Environment (build 1.7.0\_55-b13)  
> > Java HotSpot(TM) 64-Bit Server VM (build 24.55-b03, mixed mode)
> > 
> > Marvel 1.1.1 worked without any problems.
> > 
> > Pawel

--  
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 [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/5ec4f619-aa88-4d1f-a6ad-34af4be05264%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/5ec4f619-aa88-4d1f-a6ad-34af4be05264%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Boaz\_Leskes](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/boaz_leskes/32/723_2.png) [@Boaz\_Leskes](https://discuss.elastic.co/u/Boaz_Leskes)\
**Post date:** [June 6, 2014, 10:01am UTC](https://discuss.elastic.co/t/marvel-1-2-0-java-lang-illegalstateexception/17921/5 "2014-06-06T10:01:52Z")

</div>

Thx Pawel,

Note huge but larger then limit. Working on a fix.

On Friday, June 6, 2014 10:10:45 AM UTC+2, Paweł Krzaczkowski wrote:

> This one is without metadata
> 
> [http://pastebin.com/tmJGA5Kq](http://pastebin.com/tmJGA5Kq)
> 
> [http://xxx:9200/\_cluster/state/version,master\_node,nodes,routing\_table,blocks/?human&pretty](http://xxx:9200/_cluster/state/version,master_node,nodes,routing_table,blocks/?human&pretty)
> 
> Pawel
> 
> W dniu piątek, 6 czerwca 2014 09:28:30 UTC+2 użytkownik Boaz Leskes  
> napisał:
> 
> > HI Pawel,
> > 
> > I see - your cluster state (nodes + routing only, not meta data), seems  
> > to be larger then 16KB when rendered to SMILE, which is quite big - does  
> > this make sense?
> > 
> > Above 16KB an underlying paging system introduced in the ES 1.x branch  
> > kicks in. At that breaks something in Marvel than normally ships very small  
> > documents.
> > 
> > I'll work on a fix. Can you confirm your cluster state (again, without  
> > the metadata) is indeed very large?
> > 
> > Cheers,  
> > Boaz
> > 
> > On Thursday, June 5, 2014 10:56:00 AM UTC+2, Paweł Krzaczkowski wrote:
> > 
> > > Hi.
> > > 
> > > After upgrading Marvel to 1.2.0 (running on Elasticsearch 1.2.1) i'm  
> > > getting errors like
> > > 
> > > [2014-06-05 10:47:25,346][INFO][node] [es-m-3]  
> > > version[1.2.1], pid[68924], build[6c95b75/2014-06-03T15:02:52Z]  
> > > [2014-06-05 10:47:25,347][INFO][node] [es-m-3]  
> > > initializing ...  
> > > [2014-06-05 10:47:25,367][INFO][plugins] [es-m-3]  
> > > loaded [marvel, analysis-icu], sites [marvel, head, segmentspy, browser,  
> > > paramedic]  
> > > [2014-06-05 10:47:28,455][INFO][node] [es-m-3]  
> > > initialized  
> > > [2014-06-05 10:47:28,456][INFO][node] [es-m-3]  
> > > starting ...  
> > > [2014-06-05 10:47:28,597][INFO][transport] [es-m-3]  
> > > bound\_address {inet[/0:0:0:0:0:0:0:0:9300]}, publish\_address {inet[/  
> > > 192.168.0.212:9300]}  
> > > [2014-06-05 10:47:42,340][INFO][cluster.service] [es-m-3]  
> > > new\_master [es-m-3][0H3grrJxTJunU1U6FmkIEg][es-m-3][inet[  
> > > 192.168.0.212/192.168.0.212:9300]]{data=false  
> > > [http://192.168.0.212/192.168.0.212:9300]]{data=false](http://192.168.0.212/192.168.0.212:9300%5D%5D%7Bdata=false),  
> > > master=true}, reason: zen-disco-join (elected\_as\_master)  
> > > [2014-06-05 10:47:42,350][INFO][discovery] [es-m-3]  
> > > freshmind/0H3grrJxTJunU1U6FmkIEg  
> > > [2014-06-05 10:47:42,365][INFO][http] [es-m-3]  
> > > bound\_address {inet[/0:0:0:0:0:0:0:0:9200]}, publish\_address {inet[/  
> > > 192.168.0.212:9200]}  
> > > [2014-06-05 10:47:42,368][INFO][node] [es-m-3]  
> > > started  
> > > [2014-06-05 10:47:44,098][INFO][cluster.service] [es-m-3]  
> > > added  
> > > {[es-m-1][MHl5Ls-cRXCwc7OC-P0J5w][es-m-1][inet[/192.168.0.210:9300]]{data=false,  
> > > machine=44454c4c-5300-1052-8038-b9c04f5a5a31, master=true},}, reason:  
> > > zen-disco-receive(join from  
> > > node[[es-m-1][MHl5Ls-cRXCwc7OC-P0J5w][es-m-1][inet[/192.168.0.210:9300]]{data=false,  
> > > machine=44454c4c-5300-1052-8038-b9c04f5a5a31, master=true}])  
> > > [2014-06-05 10:47:44,401][INFO][gateway] [es-m-3]  
> > > recovered [28] indices into cluster\_state  
> > > [2014-06-05 10:47:48,683][ERROR][marvel.agent] [es-m-3]  
> > > exporter [es\_exporter] has thrown an exception:  
> > > java.lang.IllegalStateException: array not available  
> > > at  
> > > org.elasticsearch.common.bytes.PagedBytesReference.array(PagedBytesReference.java:289)  
> > > at  
> > > org.elasticsearch.marvel.agent.exporter.ESExporter.addXContentRendererToConnection(ESExporter.java:209)  
> > > at  
> > > org.elasticsearch.marvel.agent.exporter.ESExporter.exportXContent(ESExporter.java:252)  
> > > at  
> > > org.elasticsearch.marvel.agent.exporter.ESExporter.exportEvents(ESExporter.java:161)  
> > > at  
> > > org.elasticsearch.marvel.agent.AgentService$ExportingWorker.exportEvents(AgentService.java:305)  
> > > at  
> > > org.elasticsearch.marvel.agent.AgentService$ExportingWorker.run(AgentService.java:240)  
> > > at java.lang.Thread.run(Thread.java:745)  
> > > [2014-06-05 10:47:58,738][ERROR][marvel.agent] [es-m-3]  
> > > exporter [es\_exporter] has thrown an exception:  
> > > java.lang.IllegalStateException: array not available  
> > > at  
> > > org.elasticsearch.common.bytes.PagedBytesReference.array(PagedBytesReference.java:289)  
> > > at  
> > > org.elasticsearch.marvel.agent.exporter.ESExporter.addXContentRendererToConnection(ESExporter.java:209)  
> > > at  
> > > org.elasticsearch.marvel.agent.exporter.ESExporter.exportXContent(ESExporter.java:252)  
> > > at  
> > > org.elasticsearch.marvel.agent.exporter.ESExporter.exportEvents(ESExporter.java:161)  
> > > at  
> > > org.elasticsearch.marvel.agent.AgentService$ExportingWorker.exportEvents(AgentService.java:305)  
> > > at  
> > > org.elasticsearch.marvel.agent.AgentService$ExportingWorker.run(AgentService.java:240)  
> > > at java.lang.Thread.run(Thread.java:745)  
> > > [2014-06-05 10:48:36,572][INFO][cluster.service] [es-m-3]  
> > > added  
> > > {[es-m-2][e5uEqGRhS7uEioNxaYkwTg][es-m-2][inet[/192.168.0.211:9300]]{data=false,  
> > > master=true},}, reason: zen-disco-receive(join from  
> > > node[[es-m-2][e5uEqGRhS7uEioNxaYkwTg][es-m-2][inet[/192.168.0.211:9300]]{data=false,  
> > > master=true}])  
> > > [2014-06-05 10:48:38,859][ERROR][marvel.agent] [es-m-3]  
> > > exporter [es\_exporter] has thrown an exception:  
> > > java.lang.IllegalStateException: array not available  
> > > at  
> > > org.elasticsearch.common.bytes.PagedBytesReference.array(PagedBytesReference.java:289)  
> > > at  
> > > org.elasticsearch.marvel.agent.exporter.ESExporter.addXContentRendererToConnection(ESExporter.java:209)  
> > > at  
> > > org.elasticsearch.marvel.agent.exporter.ESExporter.exportXContent(ESExporter.java:252)  
> > > at  
> > > org.elasticsearch.marvel.agent.exporter.ESExporter.exportEvents(ESExporter.java:161)  
> > > at  
> > > org.elasticsearch.marvel.agent.AgentService$ExportingWorker.exportEvents(AgentService.java:305)  
> > > at  
> > > org.elasticsearch.marvel.agent.AgentService$ExportingWorker.run(AgentService.java:240)  
> > > at java.lang.Thread.run(Thread.java:745)  
> > > [2014-06-05 10:49:47,283][INFO][cluster.service] [es-m-3]  
> > > added  
> > > {[es-d-1][9T5-BOVCSveOyh5dV9YvDg][es-d-1.localhost][inet[/192.168.0.213:9300]]{machine=44454c4c-5300-1052-8038-b9c04f5a5a31,  
> > > master=false},}, reason: zen-disco-receive(join from  
> > > node[[es-d-1][9T5-BOVCSveOyh5dV9YvDg][es-d-1.localhost][inet[/192.168.0.213:9300]]{machine=44454c4c-5300-1052-8038-b9c04f5a5a31,  
> > > master=false}])  
> > > [2014-06-05 10:49:47,350][INFO][cluster.service] [es-m-3]  
> > > added  
> > > {[es-d-2][ddoIhezQSjuGYWPmSWltIg][es-d-2][inet[/192.168.0.200:9300]]{machine=44454c4c-5200-1038-8030-c2c04f365931,  
> > > master=false},}, reason: zen-disco-receive(join from  
> > > node[[es-d-2][ddoIhezQSjuGYWPmSWltIg][es-d-2][inet[/192.168.0.200:9300]]{machine=44454c4c-5200-1038-8030-c2c04f365931,  
> > > master=false}])  
> > > [2014-06-05 10:49:49,055][ERROR][marvel.agent] [es-m-3]  
> > > exporter [es\_exporter] has thrown an exception:  
> > > java.lang.IllegalStateException: array not available  
> > > at  
> > > org.elasticsearch.common.bytes.PagedBytesReference.array(PagedBytesReference.java:289)  
> > > at  
> > > org.elasticsearch.marvel.agent.exporter.ESExporter.addXContentRendererToConnection(ESExporter.java:209)  
> > > at  
> > > org.elasticsearch.marvel.agent.exporter.ESExporter.exportXContent(ESExporter.java:252)  
> > > at  
> > > org.elasticsearch.marvel.agent.exporter.ESExporter.exportEvents(ESExporter.java:161)  
> > > at  
> > > org.elasticsearch.marvel.agent.AgentService$ExportingWorker.exportEvents(AgentService.java:305)  
> > > at  
> > > org.elasticsearch.marvel.agent.AgentService$ExportingWorker.run(AgentService.java:240)  
> > > at java.lang.Thread.run(Thread.java:745)  
> > > [2014-06-05 10:49:59,090][ERROR][marvel.agent] [es-m-3]  
> > > exporter [es\_exporter] has thrown an exception:  
> > > java.lang.IllegalStateException: array not available  
> > > at  
> > > org.elasticsearch.common.bytes.PagedBytesReference.array(PagedBytesReference.java:289)  
> > > at  
> > > org.elasticsearch.marvel.agent.exporter.ESExporter.addXContentRendererToConnection(ESExporter.java:209)  
> > > at  
> > > org.elasticsearch.marvel.agent.exporter.ESExporter.exportXContent(ESExporter.java:252)  
> > > at  
> > > org.elasticsearch.marvel.agent.exporter.ESExporter.exportEvents(ESExporter.java:161)  
> > > at  
> > > org.elasticsearch.marvel.agent.AgentService$ExportingWorker.exportEvents(AgentService.java:305)  
> > > at  
> > > org.elasticsearch.marvel.agent.AgentService$ExportingWorker.run(AgentService.java:240)  
> > > at java.lang.Thread.run(Thread.java:745)  
> > > [2014-06-05 10:50:09,267][ERROR][marvel.agent] [es-m-3]  
> > > exporter [es\_exporter] has thrown an exception:  
> > > java.lang.IllegalStateException: array not available  
> > > at  
> > > org.elasticsearch.common.bytes.PagedBytesReference.array(PagedBytesReference.java:289)  
> > > at  
> > > org.elasticsearch.marvel.agent.exporter.ESExporter.addXContentRendererToConnection(ESExporter.java:209)  
> > > at  
> > > org.elasticsearch.marvel.agent.exporter.ESExporter.exportXContent(ESExporter.java:252)  
> > > at  
> > > org.elasticsearch.marvel.agent.exporter.ESExporter.exportEvents(ESExporter.java:161)  
> > > at  
> > > org.elasticsearch.marvel.agent.AgentService$ExportingWorker.exportEvents(AgentService.java:305)  
> > > at  
> > > org.elasticsearch.marvel.agent.AgentService$ExportingWorker.run(AgentService.java:240)  
> > > at java.lang.Thread.run(Thread.java:745)  
> > > [root@es-m-3 ~]#
> > > 
> > > Marvel is running on a separate cluster.  
> > > Cluster state is not being transmitted to marvel. Error occurs every  
> > > time cluster state changes (node restart, shard allocation, etc.)
> > > 
> > > ENV on master node  
> > > [root@es-m-3 ~]# env
> > > 
> > > MANPATH=/opt/local/man:/usr/share/man:/opt/local/gcc47/man:/opt/local/java/sun6/man:/opt/local/lib/perl5/man:/opt/local/lib/perl5/vendor\_perl/man  
> > > HZ=100  
> > > SHELL=/usr/bin/bash  
> > > TERM=xterm  
> > > ES\_HEAP\_SIZE=512M  
> > > ES\_JAVA\_OPTS=-d64 -server -Des.processors=1 -Des.node.name=es-m-3  
> > > -Des.node.machine=44454c4c-5200-1038-8030-c2c04f365931  
> > > COLUMNS=238  
> > > PAGER=less  
> > > MAIL=/var/mail/root
> > > 
> > > PATH=/usr/local/sbin:/usr/local/bin:/opt/local/sbin:/opt/local/bin:/usr/sbin:/usr/bin:/sbin  
> > > PWD=/root  
> > > JAVA\_HOME=/opt/jdk1.7.0\_55/  
> > > LINES=74  
> > > SHLVL=1  
> > > HOME=/root  
> > > TERMINFO=/opt/local/share/lib/terminfo  
> > > LOGNAME=root  
> > > FTPMODE=auto  
> > > \_=/opt/local/bin/env
> > > 
> > > [root@es-m-3 ~]# /opt/jdk1.7.0\_55/bin/java -d64 -version  
> > > java version "1.7.0\_55"  
> > > Java(TM) SE Runtime Environment (build 1.7.0\_55-b13)  
> > > Java HotSpot(TM) 64-Bit Server VM (build 24.55-b03, mixed mode)
> > > 
> > > Marvel 1.1.1 worked without any problems.
> > > 
> > > Pawel

--  
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 [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/a19525e2-273f-4b1e-a950-f93362e76e1a%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/a19525e2-273f-4b1e-a950-f93362e76e1a%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Boaz\_Leskes](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/boaz_leskes/32/723_2.png) [@Boaz\_Leskes](https://discuss.elastic.co/u/Boaz_Leskes)\
**Post date:** [June 9, 2014, 3:40pm UTC](https://discuss.elastic.co/t/marvel-1-2-0-java-lang-illegalstateexception/17921/6 "2014-06-09T15:40:19Z")

</div>

Hi Pawel,

We just did a quick minor release to marvel with a fix for this. Would be  
great if you can give it a try and confirm how it goes.

Cheers,  
Boaz

On Friday, June 6, 2014 12:01:52 PM UTC+2, Boaz Leskes wrote:

> Thx Pawel,
> 
> Note huge but larger then limit. Working on a fix.
> 
> On Friday, June 6, 2014 10:10:45 AM UTC+2, Paweł Krzaczkowski wrote:
> 
> > This one is without metadata
> > 
> > [http://pastebin.com/tmJGA5Kq](http://pastebin.com/tmJGA5Kq)
> > 
> > [http://xxx:9200/\_cluster/state/version,master\_node,nodes,routing\_table,blocks/?human&pretty](http://xxx:9200/_cluster/state/version,master_node,nodes,routing_table,blocks/?human&pretty)
> > 
> > Pawel
> > 
> > W dniu piątek, 6 czerwca 2014 09:28:30 UTC+2 użytkownik Boaz Leskes  
> > napisał:
> > 
> > > HI Pawel,
> > > 
> > > I see - your cluster state (nodes + routing only, not meta data), seems  
> > > to be larger then 16KB when rendered to SMILE, which is quite big - does  
> > > this make sense?
> > > 
> > > Above 16KB an underlying paging system introduced in the ES 1.x branch  
> > > kicks in. At that breaks something in Marvel than normally ships very small  
> > > documents.
> > > 
> > > I'll work on a fix. Can you confirm your cluster state (again, without  
> > > the metadata) is indeed very large?
> > > 
> > > Cheers,  
> > > Boaz
> > > 
> > > On Thursday, June 5, 2014 10:56:00 AM UTC+2, Paweł Krzaczkowski wrote:
> > > 
> > > > Hi.
> > > > 
> > > > After upgrading Marvel to 1.2.0 (running on Elasticsearch 1.2.1) i'm  
> > > > getting errors like
> > > > 
> > > > [2014-06-05 10:47:25,346][INFO][node] [es-m-3]  
> > > > version[1.2.1], pid[68924], build[6c95b75/2014-06-03T15:02:52Z]  
> > > > [2014-06-05 10:47:25,347][INFO][node] [es-m-3]  
> > > > initializing ...  
> > > > [2014-06-05 10:47:25,367][INFO][plugins] [es-m-3]  
> > > > loaded [marvel, analysis-icu], sites [marvel, head, segmentspy, browser,  
> > > > paramedic]  
> > > > [2014-06-05 10:47:28,455][INFO][node] [es-m-3]  
> > > > initialized  
> > > > [2014-06-05 10:47:28,456][INFO][node] [es-m-3]  
> > > > starting ...  
> > > > [2014-06-05 10:47:28,597][INFO][transport] [es-m-3]  
> > > > bound\_address {inet[/0:0:0:0:0:0:0:0:9300]}, publish\_address {inet[/  
> > > > 192.168.0.212:9300]}  
> > > > [2014-06-05 10:47:42,340][INFO][cluster.service] [es-m-3]  
> > > > new\_master [es-m-3][0H3grrJxTJunU1U6FmkIEg][es-m-3][inet[  
> > > > 192.168.0.212/192.168.0.212:9300]]{data=false  
> > > > [http://192.168.0.212/192.168.0.212:9300]]{data=false](http://192.168.0.212/192.168.0.212:9300%5D%5D%7Bdata=false),  
> > > > master=true}, reason: zen-disco-join (elected\_as\_master)  
> > > > [2014-06-05 10:47:42,350][INFO][discovery] [es-m-3]  
> > > > freshmind/0H3grrJxTJunU1U6FmkIEg  
> > > > [2014-06-05 10:47:42,365][INFO][http] [es-m-3]  
> > > > bound\_address {inet[/0:0:0:0:0:0:0:0:9200]}, publish\_address {inet[/  
> > > > 192.168.0.212:9200]}  
> > > > [2014-06-05 10:47:42,368][INFO][node] [es-m-3]  
> > > > started  
> > > > [2014-06-05 10:47:44,098][INFO][cluster.service] [es-m-3]  
> > > > added  
> > > > {[es-m-1][MHl5Ls-cRXCwc7OC-P0J5w][es-m-1][inet[/192.168.0.210:9300]]{data=false,  
> > > > machine=44454c4c-5300-1052-8038-b9c04f5a5a31, master=true},}, reason:  
> > > > zen-disco-receive(join from  
> > > > node[[es-m-1][MHl5Ls-cRXCwc7OC-P0J5w][es-m-1][inet[/192.168.0.210:9300]]{data=false,  
> > > > machine=44454c4c-5300-1052-8038-b9c04f5a5a31, master=true}])  
> > > > [2014-06-05 10:47:44,401][INFO][gateway] [es-m-3]  
> > > > recovered [28] indices into cluster\_state  
> > > > [2014-06-05 10:47:48,683][ERROR][marvel.agent] [es-m-3]  
> > > > exporter [es\_exporter] has thrown an exception:  
> > > > java.lang.IllegalStateException: array not available  
> > > > at  
> > > > org.elasticsearch.common.bytes.PagedBytesReference.array(PagedBytesReference.java:289)  
> > > > at  
> > > > org.elasticsearch.marvel.agent.exporter.ESExporter.addXContentRendererToConnection(ESExporter.java:209)  
> > > > at  
> > > > org.elasticsearch.marvel.agent.exporter.ESExporter.exportXContent(ESExporter.java:252)  
> > > > at  
> > > > org.elasticsearch.marvel.agent.exporter.ESExporter.exportEvents(ESExporter.java:161)  
> > > > at  
> > > > org.elasticsearch.marvel.agent.AgentService$ExportingWorker.exportEvents(AgentService.java:305)  
> > > > at  
> > > > org.elasticsearch.marvel.agent.AgentService$ExportingWorker.run(AgentService.java:240)  
> > > > at java.lang.Thread.run(Thread.java:745)  
> > > > [2014-06-05 10:47:58,738][ERROR][marvel.agent] [es-m-3]  
> > > > exporter [es\_exporter] has thrown an exception:  
> > > > java.lang.IllegalStateException: array not available  
> > > > at  
> > > > org.elasticsearch.common.bytes.PagedBytesReference.array(PagedBytesReference.java:289)  
> > > > at  
> > > > org.elasticsearch.marvel.agent.exporter.ESExporter.addXContentRendererToConnection(ESExporter.java:209)  
> > > > at  
> > > > org.elasticsearch.marvel.agent.exporter.ESExporter.exportXContent(ESExporter.java:252)  
> > > > at  
> > > > org.elasticsearch.marvel.agent.exporter.ESExporter.exportEvents(ESExporter.java:161)  
> > > > at  
> > > > org.elasticsearch.marvel.agent.AgentService$ExportingWorker.exportEvents(AgentService.java:305)  
> > > > at  
> > > > org.elasticsearch.marvel.agent.AgentService$ExportingWorker.run(AgentService.java:240)  
> > > > at java.lang.Thread.run(Thread.java:745)  
> > > > [2014-06-05 10:48:36,572][INFO][cluster.service] [es-m-3]  
> > > > added  
> > > > {[es-m-2][e5uEqGRhS7uEioNxaYkwTg][es-m-2][inet[/192.168.0.211:9300]]{data=false,  
> > > > master=true},}, reason: zen-disco-receive(join from  
> > > > node[[es-m-2][e5uEqGRhS7uEioNxaYkwTg][es-m-2][inet[/192.168.0.211:9300]]{data=false,  
> > > > master=true}])  
> > > > [2014-06-05 10:48:38,859][ERROR][marvel.agent] [es-m-3]  
> > > > exporter [es\_exporter] has thrown an exception:  
> > > > java.lang.IllegalStateException: array not available  
> > > > at  
> > > > org.elasticsearch.common.bytes.PagedBytesReference.array(PagedBytesReference.java:289)  
> > > > at  
> > > > org.elasticsearch.marvel.agent.exporter.ESExporter.addXContentRendererToConnection(ESExporter.java:209)  
> > > > at  
> > > > org.elasticsearch.marvel.agent.exporter.ESExporter.exportXContent(ESExporter.java:252)  
> > > > at  
> > > > org.elasticsearch.marvel.agent.exporter.ESExporter.exportEvents(ESExporter.java:161)  
> > > > at  
> > > > org.elasticsearch.marvel.agent.AgentService$ExportingWorker.exportEvents(AgentService.java:305)  
> > > > at  
> > > > org.elasticsearch.marvel.agent.AgentService$ExportingWorker.run(AgentService.java:240)  
> > > > at java.lang.Thread.run(Thread.java:745)  
> > > > [2014-06-05 10:49:47,283][INFO][cluster.service] [es-m-3]  
> > > > added  
> > > > {[es-d-1][9T5-BOVCSveOyh5dV9YvDg][es-d-1.localhost][inet[/192.168.0.213:9300]]{machine=44454c4c-5300-1052-8038-b9c04f5a5a31,  
> > > > master=false},}, reason: zen-disco-receive(join from  
> > > > node[[es-d-1][9T5-BOVCSveOyh5dV9YvDg][es-d-1.localhost][inet[/192.168.0.213:9300]]{machine=44454c4c-5300-1052-8038-b9c04f5a5a31,  
> > > > master=false}])  
> > > > [2014-06-05 10:49:47,350][INFO][cluster.service] [es-m-3]  
> > > > added  
> > > > {[es-d-2][ddoIhezQSjuGYWPmSWltIg][es-d-2][inet[/192.168.0.200:9300]]{machine=44454c4c-5200-1038-8030-c2c04f365931,  
> > > > master=false},}, reason: zen-disco-receive(join from  
> > > > node[[es-d-2][ddoIhezQSjuGYWPmSWltIg][es-d-2][inet[/192.168.0.200:9300]]{machine=44454c4c-5200-1038-8030-c2c04f365931,  
> > > > master=false}])  
> > > > [2014-06-05 10:49:49,055][ERROR][marvel.agent] [es-m-3]  
> > > > exporter [es\_exporter] has thrown an exception:  
> > > > java.lang.IllegalStateException: array not available  
> > > > at  
> > > > org.elasticsearch.common.bytes.PagedBytesReference.array(PagedBytesReference.java:289)  
> > > > at  
> > > > org.elasticsearch.marvel.agent.exporter.ESExporter.addXContentRendererToConnection(ESExporter.java:209)  
> > > > at  
> > > > org.elasticsearch.marvel.agent.exporter.ESExporter.exportXContent(ESExporter.java:252)  
> > > > at  
> > > > org.elasticsearch.marvel.agent.exporter.ESExporter.exportEvents(ESExporter.java:161)  
> > > > at  
> > > > org.elasticsearch.marvel.agent.AgentService$ExportingWorker.exportEvents(AgentService.java:305)  
> > > > at  
> > > > org.elasticsearch.marvel.agent.AgentService$ExportingWorker.run(AgentService.java:240)  
> > > > at java.lang.Thread.run(Thread.java:745)  
> > > > [2014-06-05 10:49:59,090][ERROR][marvel.agent] [es-m-3]  
> > > > exporter [es\_exporter] has thrown an exception:  
> > > > java.lang.IllegalStateException: array not available  
> > > > at  
> > > > org.elasticsearch.common.bytes.PagedBytesReference.array(PagedBytesReference.java:289)  
> > > > at  
> > > > org.elasticsearch.marvel.agent.exporter.ESExporter.addXContentRendererToConnection(ESExporter.java:209)  
> > > > at  
> > > > org.elasticsearch.marvel.agent.exporter.ESExporter.exportXContent(ESExporter.java:252)  
> > > > at  
> > > > org.elasticsearch.marvel.agent.exporter.ESExporter.exportEvents(ESExporter.java:161)  
> > > > at  
> > > > org.elasticsearch.marvel.agent.AgentService$ExportingWorker.exportEvents(AgentService.java:305)  
> > > > at  
> > > > org.elasticsearch.marvel.agent.AgentService$ExportingWorker.run(AgentService.java:240)  
> > > > at java.lang.Thread.run(Thread.java:745)  
> > > > [2014-06-05 10:50:09,267][ERROR][marvel.agent] [es-m-3]  
> > > > exporter [es\_exporter] has thrown an exception:  
> > > > java.lang.IllegalStateException: array not available  
> > > > at  
> > > > org.elasticsearch.common.bytes.PagedBytesReference.array(PagedBytesReference.java:289)  
> > > > at  
> > > > org.elasticsearch.marvel.agent.exporter.ESExporter.addXContentRendererToConnection(ESExporter.java:209)  
> > > > at  
> > > > org.elasticsearch.marvel.agent.exporter.ESExporter.exportXContent(ESExporter.java:252)  
> > > > at  
> > > > org.elasticsearch.marvel.agent.exporter.ESExporter.exportEvents(ESExporter.java:161)  
> > > > at  
> > > > org.elasticsearch.marvel.agent.AgentService$ExportingWorker.exportEvents(AgentService.java:305)  
> > > > at  
> > > > org.elasticsearch.marvel.agent.AgentService$ExportingWorker.run(AgentService.java:240)  
> > > > at java.lang.Thread.run(Thread.java:745)  
> > > > [root@es-m-3 ~]#
> > > > 
> > > > Marvel is running on a separate cluster.  
> > > > Cluster state is not being transmitted to marvel. Error occurs every  
> > > > time cluster state changes (node restart, shard allocation, etc.)
> > > > 
> > > > ENV on master node  
> > > > [root@es-m-3 ~]# env
> > > > 
> > > > MANPATH=/opt/local/man:/usr/share/man:/opt/local/gcc47/man:/opt/local/java/sun6/man:/opt/local/lib/perl5/man:/opt/local/lib/perl5/vendor\_perl/man  
> > > > HZ=100  
> > > > SHELL=/usr/bin/bash  
> > > > TERM=xterm  
> > > > ES\_HEAP\_SIZE=512M  
> > > > ES\_JAVA\_OPTS=-d64 -server -Des.processors=1 -Des.node.name=es-m-3  
> > > > -Des.node.machine=44454c4c-5200-1038-8030-c2c04f365931  
> > > > COLUMNS=238  
> > > > PAGER=less  
> > > > MAIL=/var/mail/root
> > > > 
> > > > PATH=/usr/local/sbin:/usr/local/bin:/opt/local/sbin:/opt/local/bin:/usr/sbin:/usr/bin:/sbin  
> > > > PWD=/root  
> > > > JAVA\_HOME=/opt/jdk1.7.0\_55/  
> > > > LINES=74  
> > > > SHLVL=1  
> > > > HOME=/root  
> > > > TERMINFO=/opt/local/share/lib/terminfo  
> > > > LOGNAME=root  
> > > > FTPMODE=auto  
> > > > \_=/opt/local/bin/env
> > > > 
> > > > [root@es-m-3 ~]# /opt/jdk1.7.0\_55/bin/java -d64 -version  
> > > > java version "1.7.0\_55"  
> > > > Java(TM) SE Runtime Environment (build 1.7.0\_55-b13)  
> > > > Java HotSpot(TM) 64-Bit Server VM (build 24.55-b03, mixed mode)
> > > > 
> > > > Marvel 1.1.1 worked without any problems.
> > > > 
> > > > Pawel

--  
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 [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/1679343b-80e9-4124-a60c-1de35ae1066d%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/1679343b-80e9-4124-a60c-1de35ae1066d%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Pawel\_Krzaczkowski](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pawel_krzaczkowski/32/1404_2.png) [@Pawel\_Krzaczkowski](https://discuss.elastic.co/u/Pawel_Krzaczkowski)\
**Post date:** [June 9, 2014, 3:48pm UTC](https://discuss.elastic.co/t/marvel-1-2-0-java-lang-illegalstateexception/17921/7 "2014-06-09T15:48:36Z")

</div>

Im out of office for today so ill test it tomorrow morning and let You know if it works

pawel (at) mobile

> On 9 cze 2014, at 17:40, Boaz Leskes [b.leskes@gmail.com](mailto:b.leskes@gmail.com) wrote:
> 
> Hi Pawel,
> 
> We just did a quick minor release to marvel with a fix for this. Would be great if you can give it a try and confirm how it goes.
> 
> Cheers,  
> Boaz
> 
> > On Friday, June 6, 2014 12:01:52 PM UTC+2, Boaz Leskes wrote:  
> > Thx Pawel,
> > 
> > Note huge but larger then limit. Working on a fix.
> > 
> > > On Friday, June 6, 2014 10:10:45 AM UTC+2, Paweł Krzaczkowski wrote:  
> > > This one is without metadata
> > > 
> > > [http://pastebin.com/tmJGA5Kq](http://pastebin.com/tmJGA5Kq)  
> > > [http://xxx:9200/\_cluster/state/version,master\_node,nodes,routing\_table,blocks/?human&pretty](http://xxx:9200/_cluster/state/version,master_node,nodes,routing_table,blocks/?human&pretty)
> > > 
> > > Pawel
> > > 
> > > W dniu piątek, 6 czerwca 2014 09:28:30 UTC+2 użytkownik Boaz Leskes napisał:
> > > 
> > > > HI Pawel,
> > > > 
> > > > I see - your cluster state (nodes + routing only, not meta data), seems to be larger then 16KB when rendered to SMILE, which is quite big - does this make sense?
> > > > 
> > > > Above 16KB an underlying paging system introduced in the ES 1.x branch kicks in. At that breaks something in Marvel than normally ships very small documents.
> > > > 
> > > > I'll work on a fix. Can you confirm your cluster state (again, without the metadata) is indeed very large?
> > > > 
> > > > Cheers,  
> > > > Boaz
> > > > 
> > > > > On Thursday, June 5, 2014 10:56:00 AM UTC+2, Paweł Krzaczkowski wrote:  
> > > > > Hi.
> > > > > 
> > > > > After upgrading Marvel to 1.2.0 (running on Elasticsearch 1.2.1) i'm getting errors like
> > > > > 
> > > > > [2014-06-05 10:47:25,346][INFO][node] [es-m-3] version[1.2.1], pid[68924], build[6c95b75/2014-06-03T15:02:52Z]  
> > > > > [2014-06-05 10:47:25,347][INFO][node] [es-m-3] initializing ...  
> > > > > [2014-06-05 10:47:25,367][INFO][plugins] [es-m-3] loaded [marvel, analysis-icu], sites [marvel, head, segmentspy, browser, paramedic]  
> > > > > [2014-06-05 10:47:28,455][INFO][node] [es-m-3] initialized  
> > > > > [2014-06-05 10:47:28,456][INFO][node] [es-m-3] starting ...  
> > > > > [2014-06-05 10:47:28,597][INFO][transport] [es-m-3] bound\_address {inet[/0:0:0:0:0:0:0:0:9300]}, publish\_address {inet[/192.168.0.212:9300]}  
> > > > > [2014-06-05 10:47:42,340][INFO][cluster.service] [es-m-3] new\_master [es-m-3][0H3grrJxTJunU1U6FmkIEg][es-m-3][inet[192.168.0.212/192.168.0.212:9300]]{data=false, master=true}, reason: zen-disco-join (elected\_as\_master)  
> > > > > [2014-06-05 10:47:42,350][INFO][discovery] [es-m-3] freshmind/0H3grrJxTJunU1U6FmkIEg  
> > > > > [2014-06-05 10:47:42,365][INFO][http] [es-m-3] bound\_address {inet[/0:0:0:0:0:0:0:0:9200]}, publish\_address {inet[/192.168.0.212:9200]}  
> > > > > [2014-06-05 10:47:42,368][INFO][node] [es-m-3] started  
> > > > > [2014-06-05 10:47:44,098][INFO][cluster.service] [es-m-3] added {[es-m-1][MHl5Ls-cRXCwc7OC-P0J5w][es-m-1][inet[/192.168.0.210:9300]]{data=false, machine=44454c4c-5300-1052-8038-b9c04f5a5a31, master=true},}, reason: zen-disco-receive(join from node[[es-m-1][MHl5Ls-cRXCwc7OC-P0J5w][es-m-1][inet[/192.168.0.210:9300]]{data=false, machine=44454c4c-5300-1052-8038-b9c04f5a5a31, master=true}])  
> > > > > [2014-06-05 10:47:44,401][INFO][gateway] [es-m-3] recovered [28] indices into cluster\_state  
> > > > > [2014-06-05 10:47:48,683][ERROR][marvel.agent] [es-m-3] exporter [es\_exporter] has thrown an exception:  
> > > > > java.lang.IllegalStateException: array not available  
> > > > > at org.elasticsearch.common.bytes.PagedBytesReference.array(PagedBytesReference.java:289)  
> > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.addXContentRendererToConnection(ESExporter.java:209)  
> > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.exportXContent(ESExporter.java:252)  
> > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.exportEvents(ESExporter.java:161)  
> > > > > at org.elasticsearch.marvel.agent.AgentService$ExportingWorker.exportEvents(AgentService.java:305)  
> > > > > at org.elasticsearch.marvel.agent.AgentService$ExportingWorker.run(AgentService.java:240)  
> > > > > at java.lang.Thread.run(Thread.java:745)  
> > > > > [2014-06-05 10:47:58,738][ERROR][marvel.agent] [es-m-3] exporter [es\_exporter] has thrown an exception:  
> > > > > java.lang.IllegalStateException: array not available  
> > > > > at org.elasticsearch.common.bytes.PagedBytesReference.array(PagedBytesReference.java:289)  
> > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.addXContentRendererToConnection(ESExporter.java:209)  
> > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.exportXContent(ESExporter.java:252)  
> > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.exportEvents(ESExporter.java:161)  
> > > > > at org.elasticsearch.marvel.agent.AgentService$ExportingWorker.exportEvents(AgentService.java:305)  
> > > > > at org.elasticsearch.marvel.agent.AgentService$ExportingWorker.run(AgentService.java:240)  
> > > > > at java.lang.Thread.run(Thread.java:745)  
> > > > > [2014-06-05 10:48:36,572][INFO][cluster.service] [es-m-3] added {[es-m-2][e5uEqGRhS7uEioNxaYkwTg][es-m-2][inet[/192.168.0.211:9300]]{data=false, master=true},}, reason: zen-disco-receive(join from node[[es-m-2][e5uEqGRhS7uEioNxaYkwTg][es-m-2][inet[/192.168.0.211:9300]]{data=false, master=true}])  
> > > > > [2014-06-05 10:48:38,859][ERROR][marvel.agent] [es-m-3] exporter [es\_exporter] has thrown an exception:  
> > > > > java.lang.IllegalStateException: array not available  
> > > > > at org.elasticsearch.common.bytes.PagedBytesReference.array(PagedBytesReference.java:289)  
> > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.addXContentRendererToConnection(ESExporter.java:209)  
> > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.exportXContent(ESExporter.java:252)  
> > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.exportEvents(ESExporter.java:161)  
> > > > > at org.elasticsearch.marvel.agent.AgentService$ExportingWorker.exportEvents(AgentService.java:305)  
> > > > > at org.elasticsearch.marvel.agent.AgentService$ExportingWorker.run(AgentService.java:240)  
> > > > > at java.lang.Thread.run(Thread.java:745)  
> > > > > [2014-06-05 10:49:47,283][INFO][cluster.service] [es-m-3] added {[es-d-1][9T5-BOVCSveOyh5dV9YvDg][es-d-1.localhost][inet[/192.168.0.213:9300]]{machine=44454c4c-5300-1052-8038-b9c04f5a5a31, master=false},}, reason: zen-disco-receive(join from node[[es-d-1][9T5-BOVCSveOyh5dV9YvDg][es-d-1.localhost][inet[/192.168.0.213:9300]]{machine=44454c4c-5300-1052-8038-b9c04f5a5a31, master=false}])  
> > > > > [2014-06-05 10:49:47,350][INFO][cluster.service] [es-m-3] added {[es-d-2][ddoIhezQSjuGYWPmSWltIg][es-d-2][inet[/192.168.0.200:9300]]{machine=44454c4c-5200-1038-8030-c2c04f365931, master=false},}, reason: zen-disco-receive(join from node[[es-d-2][ddoIhezQSjuGYWPmSWltIg][es-d-2][inet[/192.168.0.200:9300]]{machine=44454c4c-5200-1038-8030-c2c04f365931, master=false}])  
> > > > > [2014-06-05 10:49:49,055][ERROR][marvel.agent] [es-m-3] exporter [es\_exporter] has thrown an exception:  
> > > > > java.lang.IllegalStateException: array not available  
> > > > > at org.elasticsearch.common.bytes.PagedBytesReference.array(PagedBytesReference.java:289)  
> > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.addXContentRendererToConnection(ESExporter.java:209)  
> > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.exportXContent(ESExporter.java:252)  
> > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.exportEvents(ESExporter.java:161)  
> > > > > at org.elasticsearch.marvel.agent.AgentService$ExportingWorker.exportEvents(AgentService.java:305)  
> > > > > at org.elasticsearch.marvel.agent.AgentService$ExportingWorker.run(AgentService.java:240)  
> > > > > at java.lang.Thread.run(Thread.java:745)  
> > > > > [2014-06-05 10:49:59,090][ERROR][marvel.agent] [es-m-3] exporter [es\_exporter] has thrown an exception:  
> > > > > java.lang.IllegalStateException: array not available  
> > > > > at org.elasticsearch.common.bytes.PagedBytesReference.array(PagedBytesReference.java:289)  
> > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.addXContentRendererToConnection(ESExporter.java:209)  
> > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.exportXContent(ESExporter.java:252)  
> > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.exportEvents(ESExporter.java:161)  
> > > > > at org.elasticsearch.marvel.agent.AgentService$ExportingWorker.exportEvents(AgentService.java:305)  
> > > > > at org.elasticsearch.marvel.agent.AgentService$ExportingWorker.run(AgentService.java:240)  
> > > > > at java.lang.Thread.run(Thread.java:745)  
> > > > > [2014-06-05 10:50:09,267][ERROR][marvel.agent] [es-m-3] exporter [es\_exporter] has thrown an exception:  
> > > > > java.lang.IllegalStateException: array not available  
> > > > > at org.elasticsearch.common.bytes.PagedBytesReference.array(PagedBytesReference.java:289)  
> > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.addXContentRendererToConnection(ESExporter.java:209)  
> > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.exportXContent(ESExporter.java:252)  
> > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.exportEvents(ESExporter.java:161)  
> > > > > at org.elasticsearch.marvel.agent.AgentService$ExportingWorker.exportEvents(AgentService.java:305)  
> > > > > at org.elasticsearch.marvel.agent.AgentService$ExportingWorker.run(AgentService.java:240)  
> > > > > at java.lang.Thread.run(Thread.java:745)  
> > > > > [root@es-m-3 ~]#
> > > > > 
> > > > > Marvel is running on a separate cluster.  
> > > > > Cluster state is not being transmitted to marvel. Error occurs every time cluster state changes (node restart, shard allocation, etc.)
> > > > > 
> > > > > ENV on master node  
> > > > > [root@es-m-3 ~]# env  
> > > > > MANPATH=/opt/local/man:/usr/share/man:/opt/local/gcc47/man:/opt/local/java/sun6/man:/opt/local/lib/perl5/man:/opt/local/lib/perl5/vendor\_perl/man  
> > > > > HZ=100  
> > > > > SHELL=/usr/bin/bash  
> > > > > TERM=xterm  
> > > > > ES\_HEAP\_SIZE=512M  
> > > > > ES\_JAVA\_OPTS=-d64 -server -Des.processors=1 -Des.node.name=es-m-3 -Des.node.machine=44454c4c-5200-1038-8030-c2c04f365931  
> > > > > COLUMNS=238  
> > > > > PAGER=less  
> > > > > MAIL=/var/mail/root  
> > > > > PATH=/usr/local/sbin:/usr/local/bin:/opt/local/sbin:/opt/local/bin:/usr/sbin:/usr/bin:/sbin  
> > > > > PWD=/root  
> > > > > JAVA\_HOME=/opt/jdk1.7.0\_55/  
> > > > > LINES=74  
> > > > > SHLVL=1  
> > > > > HOME=/root  
> > > > > TERMINFO=/opt/local/share/lib/terminfo  
> > > > > LOGNAME=root  
> > > > > FTPMODE=auto  
> > > > > \_=/opt/local/bin/env
> > > > > 
> > > > > [root@es-m-3 ~]# /opt/jdk1.7.0\_55/bin/java -d64 -version  
> > > > > java version "1.7.0\_55"  
> > > > > Java(TM) SE Runtime Environment (build 1.7.0\_55-b13)  
> > > > > Java HotSpot(TM) 64-Bit Server VM (build 24.55-b03, mixed mode)
> > > > > 
> > > > > Marvel 1.1.1 worked without any problems.
> > > > > 
> > > > > Pawel
> 
> --  
> You received this message because you are subscribed to a topic in the Google Groups "elasticsearch" group.  
> To unsubscribe from this topic, visit [https://groups.google.com/d/topic/elasticsearch/WQL0viovt4Y/unsubscribe](https://groups.google.com/d/topic/elasticsearch/WQL0viovt4Y/unsubscribe).  
> To unsubscribe from this group and all its topics, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/1679343b-80e9-4124-a60c-1de35ae1066d%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/1679343b-80e9-4124-a60c-1de35ae1066d%40googlegroups.com).  
> For more options, visit [https://groups.google.com/d/optout](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 [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/6498D5FB-080C-42D7-96A5-7ABAD177FE31%40krzaczkowski.pl](https://groups.google.com/d/msgid/elasticsearch/6498D5FB-080C-42D7-96A5-7ABAD177FE31%40krzaczkowski.pl).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Pawel\_Krzaczkowski](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pawel_krzaczkowski/32/1404_2.png) [@Pawel\_Krzaczkowski](https://discuss.elastic.co/u/Pawel_Krzaczkowski)\
**Post date:** [June 9, 2014, 6:44pm UTC](https://discuss.elastic.co/t/marvel-1-2-0-java-lang-illegalstateexception/17921/8 "2014-06-09T18:44:06Z")

</div>

It works .. thx for a quick fix

2014-06-09 17:48 GMT+02:00 Paweł Krzaczkowski [pawel@krzaczkowski.pl](mailto:pawel@krzaczkowski.pl):

> Im out of office for today so ill test it tomorrow morning and let You  
> know if it works
> 
> pawel (at) mobile
> 
> On 9 cze 2014, at 17:40, Boaz Leskes [b.leskes@gmail.com](mailto:b.leskes@gmail.com) wrote:
> 
> Hi Pawel,
> 
> We just did a quick minor release to marvel with a fix for this. Would be  
> great if you can give it a try and confirm how it goes.
> 
> Cheers,  
> Boaz
> 
> On Friday, June 6, 2014 12:01:52 PM UTC+2, Boaz Leskes wrote:
> 
> > Thx Pawel,
> > 
> > Note huge but larger then limit. Working on a fix.
> > 
> > On Friday, June 6, 2014 10:10:45 AM UTC+2, Paweł Krzaczkowski wrote:
> > 
> > > This one is without metadata
> > > 
> > > [http://pastebin.com/tmJGA5Kq](http://pastebin.com/tmJGA5Kq)  
> > > [http://xxx:9200/\_cluster/state/version,master\_node](http://xxx:9200/_cluster/state/version,master_node),  
> > > nodes,routing\_table,blocks/?human&pretty
> > > 
> > > Pawel
> > > 
> > > W dniu piątek, 6 czerwca 2014 09:28:30 UTC+2 użytkownik Boaz Leskes  
> > > napisał:
> > > 
> > > > HI Pawel,
> > > > 
> > > > I see - your cluster state (nodes + routing only, not meta data), seems  
> > > > to be larger then 16KB when rendered to SMILE, which is quite big - does  
> > > > this make sense?
> > > > 
> > > > Above 16KB an underlying paging system introduced in the ES 1.x branch  
> > > > kicks in. At that breaks something in Marvel than normally ships very small  
> > > > documents.
> > > > 
> > > > I'll work on a fix. Can you confirm your cluster state (again, without  
> > > > the metadata) is indeed very large?
> > > > 
> > > > Cheers,  
> > > > Boaz
> > > > 
> > > > On Thursday, June 5, 2014 10:56:00 AM UTC+2, Paweł Krzaczkowski wrote:
> > > > 
> > > > > Hi.
> > > > > 
> > > > > After upgrading Marvel to 1.2.0 (running on Elasticsearch 1.2.1) i'm  
> > > > > getting errors like
> > > > > 
> > > > > [2014-06-05 10:47:25,346][INFO][node] [es-m-3]  
> > > > > version[1.2.1], pid[68924], build[6c95b75/2014-06-03T15:02:52Z]  
> > > > > [2014-06-05 10:47:25,347][INFO][node] [es-m-3]  
> > > > > initializing ...  
> > > > > [2014-06-05 10:47:25,367][INFO][plugins] [es-m-3]  
> > > > > loaded [marvel, analysis-icu], sites [marvel, head, segmentspy, browser,  
> > > > > paramedic]  
> > > > > [2014-06-05 10:47:28,455][INFO][node] [es-m-3]  
> > > > > initialized  
> > > > > [2014-06-05 10:47:28,456][INFO][node] [es-m-3]  
> > > > > starting ...  
> > > > > [2014-06-05 10:47:28,597][INFO][transport] [es-m-3]  
> > > > > bound\_address {inet[/0:0:0:0:0:0:0:0:9300]}, publish\_address {inet[/  
> > > > > 192.168.0.212:9300]}  
> > > > > [2014-06-05 10:47:42,340][INFO][cluster.service] [es-m-3]  
> > > > > new\_master [es-m-3][0H3grrJxTJunU1U6FmkIEg][es-m-3][inet[  
> > > > > 192.168.0.212/192.168.0.212:9300]]{data=false  
> > > > > [http://192.168.0.212/192.168.0.212:9300]]{data=false](http://192.168.0.212/192.168.0.212:9300%5D%5D%7Bdata=false),  
> > > > > master=true}, reason: zen-disco-join (elected\_as\_master)  
> > > > > [2014-06-05 10:47:42,350][INFO][discovery] [es-m-3]  
> > > > > freshmind/0H3grrJxTJunU1U6FmkIEg  
> > > > > [2014-06-05 10:47:42,365][INFO][http] [es-m-3]  
> > > > > bound\_address {inet[/0:0:0:0:0:0:0:0:9200]}, publish\_address {inet[/  
> > > > > 192.168.0.212:9200]}  
> > > > > [2014-06-05 10:47:42,368][INFO][node] [es-m-3]  
> > > > > started  
> > > > > [2014-06-05 10:47:44,098][INFO][cluster.service] [es-m-3]  
> > > > > added {[es-m-1][MHl5Ls-cRXCwc7OC-P0J5w][es-m-1][inet[/192.168.0.210:9300]]{data=false,  
> > > > > machine=44454c4c-5300-1052-8038-b9c04f5a5a31, master=true},}, reason:  
> > > > > zen-disco-receive(join from node[[es-m-1][MHl5Ls-  
> > > > > cRXCwc7OC-P0J5w][es-m-1][inet[/192.168.0.210:9300]]{data=false,  
> > > > > machine=44454c4c-5300-1052-8038-b9c04f5a5a31, master=true}])  
> > > > > [2014-06-05 10:47:44,401][INFO][gateway] [es-m-3]  
> > > > > recovered [28] indices into cluster\_state  
> > > > > [2014-06-05 10:47:48,683][ERROR][marvel.agent] [es-m-3]  
> > > > > exporter [es\_exporter] has thrown an exception:  
> > > > > java.lang.IllegalStateException: array not available  
> > > > > at org.elasticsearch.common.bytes.PagedBytesReference.  
> > > > > array(PagedBytesReference.java:289)  
> > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.  
> > > > > addXContentRendererToConnection(ESExporter.java:209)  
> > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.  
> > > > > exportXContent(ESExporter.java:252)  
> > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.  
> > > > > exportEvents(ESExporter.java:161)  
> > > > > at org.elasticsearch.marvel.agent.AgentService$  
> > > > > ExportingWorker.exportEvents(AgentService.java:305)  
> > > > > at org.elasticsearch.marvel.agent.AgentService$  
> > > > > ExportingWorker.run(AgentService.java:240)  
> > > > > at java.lang.Thread.run(Thread.java:745)  
> > > > > [2014-06-05 10:47:58,738][ERROR][marvel.agent] [es-m-3]  
> > > > > exporter [es\_exporter] has thrown an exception:  
> > > > > java.lang.IllegalStateException: array not available  
> > > > > at org.elasticsearch.common.bytes.PagedBytesReference.  
> > > > > array(PagedBytesReference.java:289)  
> > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.  
> > > > > addXContentRendererToConnection(ESExporter.java:209)  
> > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.  
> > > > > exportXContent(ESExporter.java:252)  
> > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.  
> > > > > exportEvents(ESExporter.java:161)  
> > > > > at org.elasticsearch.marvel.agent.AgentService$  
> > > > > ExportingWorker.exportEvents(AgentService.java:305)  
> > > > > at org.elasticsearch.marvel.agent.AgentService$  
> > > > > ExportingWorker.run(AgentService.java:240)  
> > > > > at java.lang.Thread.run(Thread.java:745)  
> > > > > [2014-06-05 10:48:36,572][INFO][cluster.service] [es-m-3]  
> > > > > added {[es-m-2][e5uEqGRhS7uEioNxaYkwTg][es-m-  
> > > > > 2][inet[/192.168.0.211:9300]]{data=false, master=true},}, reason:  
> > > > > zen-disco-receive(join from node[[es-m-2][  
> > > > > e5uEqGRhS7uEioNxaYkwTg][es-m-2][inet[/192.168.0.211:9300]]{data=false,  
> > > > > master=true}])  
> > > > > [2014-06-05 10:48:38,859][ERROR][marvel.agent] [es-m-3]  
> > > > > exporter [es\_exporter] has thrown an exception:  
> > > > > java.lang.IllegalStateException: array not available  
> > > > > at org.elasticsearch.common.bytes.PagedBytesReference.  
> > > > > array(PagedBytesReference.java:289)  
> > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.  
> > > > > addXContentRendererToConnection(ESExporter.java:209)  
> > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.  
> > > > > exportXContent(ESExporter.java:252)  
> > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.  
> > > > > exportEvents(ESExporter.java:161)  
> > > > > at org.elasticsearch.marvel.agent.AgentService$  
> > > > > ExportingWorker.exportEvents(AgentService.java:305)  
> > > > > at org.elasticsearch.marvel.agent.AgentService$  
> > > > > ExportingWorker.run(AgentService.java:240)  
> > > > > at java.lang.Thread.run(Thread.java:745)  
> > > > > [2014-06-05 10:49:47,283][INFO][cluster.service] [es-m-3]  
> > > > > added {[es-d-1][9T5-BOVCSveOyh5dV9YvDg][es-d-1.localhost][inet[/  
> > > > > 192.168.0.213:9300]]{machine=44454c4c-5300-1052-8038-b9c04f5a5a31,  
> > > > > master=false},}, reason: zen-disco-receive(join from node[[es-d-1][9T5-  
> > > > > BOVCSveOyh5dV9YvDg][es-d-1.localhost][inet[/192.168.0.  
> > > > > 213:9300]]{machine=44454c4c-5300-1052-8038-b9c04f5a5a31,  
> > > > > master=false}])  
> > > > > [2014-06-05 10:49:47,350][INFO][cluster.service] [es-m-3]  
> > > > > added {[es-d-2][ddoIhezQSjuGYWPmSWltIg][es-d-  
> > > > > 2][inet[/192.168.0.200:9300]]{machine=44454c4c-5200-1038-8030-c2c04f365931,  
> > > > > master=false},}, reason: zen-disco-receive(join from node[[es-d-2][  
> > > > > ddoIhezQSjuGYWPmSWltIg][es-d-2][inet[/192.168.0.200:9300]]{  
> > > > > machine=44454c4c-5200-1038-8030-c2c04f365931, master=false}])  
> > > > > [2014-06-05 10:49:49,055][ERROR][marvel.agent] [es-m-3]  
> > > > > exporter [es\_exporter] has thrown an exception:  
> > > > > java.lang.IllegalStateException: array not available  
> > > > > at org.elasticsearch.common.bytes.PagedBytesReference.  
> > > > > array(PagedBytesReference.java:289)  
> > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.  
> > > > > addXContentRendererToConnection(ESExporter.java:209)  
> > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.  
> > > > > exportXContent(ESExporter.java:252)  
> > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.  
> > > > > exportEvents(ESExporter.java:161)  
> > > > > at org.elasticsearch.marvel.agent.AgentService$  
> > > > > ExportingWorker.exportEvents(AgentService.java:305)  
> > > > > at org.elasticsearch.marvel.agent.AgentService$  
> > > > > ExportingWorker.run(AgentService.java:240)  
> > > > > at java.lang.Thread.run(Thread.java:745)  
> > > > > [2014-06-05 10:49:59,090][ERROR][marvel.agent] [es-m-3]  
> > > > > exporter [es\_exporter] has thrown an exception:  
> > > > > java.lang.IllegalStateException: array not available  
> > > > > at org.elasticsearch.common.bytes.PagedBytesReference.  
> > > > > array(PagedBytesReference.java:289)  
> > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.  
> > > > > addXContentRendererToConnection(ESExporter.java:209)  
> > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.  
> > > > > exportXContent(ESExporter.java:252)  
> > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.  
> > > > > exportEvents(ESExporter.java:161)  
> > > > > at org.elasticsearch.marvel.agent.AgentService$  
> > > > > ExportingWorker.exportEvents(AgentService.java:305)  
> > > > > at org.elasticsearch.marvel.agent.AgentService$  
> > > > > ExportingWorker.run(AgentService.java:240)  
> > > > > at java.lang.Thread.run(Thread.java:745)  
> > > > > [2014-06-05 10:50:09,267][ERROR][marvel.agent] [es-m-3]  
> > > > > exporter [es\_exporter] has thrown an exception:  
> > > > > java.lang.IllegalStateException: array not available  
> > > > > at org.elasticsearch.common.bytes.PagedBytesReference.  
> > > > > array(PagedBytesReference.java:289)  
> > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.  
> > > > > addXContentRendererToConnection(ESExporter.java:209)  
> > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.  
> > > > > exportXContent(ESExporter.java:252)  
> > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.  
> > > > > exportEvents(ESExporter.java:161)  
> > > > > at org.elasticsearch.marvel.agent.AgentService$  
> > > > > ExportingWorker.exportEvents(AgentService.java:305)  
> > > > > at org.elasticsearch.marvel.agent.AgentService$  
> > > > > ExportingWorker.run(AgentService.java:240)  
> > > > > at java.lang.Thread.run(Thread.java:745)  
> > > > > [root@es-m-3 ~]#
> > > > > 
> > > > > Marvel is running on a separate cluster.  
> > > > > Cluster state is not being transmitted to marvel. Error occurs every  
> > > > > time cluster state changes (node restart, shard allocation, etc.)
> > > > > 
> > > > > ENV on master node  
> > > > > [root@es-m-3 ~]# env  
> > > > > MANPATH=/opt/local/man:/usr/share/man:/opt/local/gcc47/  
> > > > > man:/opt/local/java/sun6/man:/opt/local/lib/perl5/man:/opt/  
> > > > > local/lib/perl5/vendor\_perl/man  
> > > > > HZ=100  
> > > > > SHELL=/usr/bin/bash  
> > > > > TERM=xterm  
> > > > > ES\_HEAP\_SIZE=512M  
> > > > > ES\_JAVA\_OPTS=-d64 -server -Des.processors=1 -Des.node.name=es-m-3  
> > > > > -Des.node.machine=44454c4c-5200-1038-8030-c2c04f365931  
> > > > > COLUMNS=238  
> > > > > PAGER=less  
> > > > > MAIL=/var/mail/root  
> > > > > PATH=/usr/local/sbin:/usr/local/bin:/opt/local/sbin:/  
> > > > > opt/local/bin:/usr/sbin:/usr/bin:/sbin  
> > > > > PWD=/root  
> > > > > JAVA\_HOME=/opt/jdk1.7.0\_55/  
> > > > > LINES=74  
> > > > > SHLVL=1  
> > > > > HOME=/root  
> > > > > TERMINFO=/opt/local/share/lib/terminfo  
> > > > > LOGNAME=root  
> > > > > FTPMODE=auto  
> > > > > \_=/opt/local/bin/env
> > > > > 
> > > > > [root@es-m-3 ~]# /opt/jdk1.7.0\_55/bin/java -d64 -version  
> > > > > java version "1.7.0\_55"  
> > > > > Java(TM) SE Runtime Environment (build 1.7.0\_55-b13)  
> > > > > Java HotSpot(TM) 64-Bit Server VM (build 24.55-b03, mixed mode)
> > > > > 
> > > > > Marvel 1.1.1 worked without any problems.
> > > > > 
> > > > > Pawel
> > > > > 
> > > > > --  
> > > > > You received this message because you are subscribed to a topic in the  
> > > > > Google Groups "elasticsearch" group.  
> > > > > To unsubscribe from this topic, visit  
> > > > > [https://groups.google.com/d/topic/elasticsearch/WQL0viovt4Y/unsubscribe](https://groups.google.com/d/topic/elasticsearch/WQL0viovt4Y/unsubscribe).  
> > > > > To unsubscribe from this group and all its topics, send an email to  
> > > > > [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> > > > > To view this discussion on the web visit  
> > > > > [https://groups.google.com/d/msgid/elasticsearch/1679343b-80e9-4124-a60c-1de35ae1066d%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/1679343b-80e9-4124-a60c-1de35ae1066d%40googlegroups.com)  
> > > > > [https://groups.google.com/d/msgid/elasticsearch/1679343b-80e9-4124-a60c-1de35ae1066d%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/1679343b-80e9-4124-a60c-1de35ae1066d%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > > > > .  
> > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--

P.

--  
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 [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAL24%3Dd97u92ThJYYfmMxRosef1GkSiAcA1R\_0D7C7zUtzRYpBw%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAL24%3Dd97u92ThJYYfmMxRosef1GkSiAcA1R_0D7C7zUtzRYpBw%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![javadevmtl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/javadevmtl/32/45613_2.png) [@javadevmtl](https://discuss.elastic.co/u/javadevmtl)\
**Post date:** [June 13, 2014, 2:01pm UTC](https://discuss.elastic.co/t/marvel-1-2-0-java-lang-illegalstateexception/17921/9 "2014-06-13T14:01:08Z")

</div>

Is the released? Or it's still in github?

Experiencing the same thing...

Ran the commands from above...

> **[ES Status - Pastebin.com](https://pastebin.com/WUTTLgsS)**
>
> Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.

On Monday, 9 June 2014 14:44:17 UTC-4, Paweł Krzaczkowski wrote:

> It works .. thx for a quick fix
> 
> 2014-06-09 17:48 GMT+02:00 Paweł Krzaczkowski \<pa...@krzaczkowski.pl  
> \<javascript:\>\>:
> 
> > Im out of office for today so ill test it tomorrow morning and let You  
> > know if it works
> > 
> > pawel (at) mobile
> > 
> > On 9 cze 2014, at 17:40, Boaz Leskes \<[b.le...@gmail.com](mailto:b.le...@gmail.com) \<javascript:\>\>  
> > wrote:
> > 
> > Hi Pawel,
> > 
> > We just did a quick minor release to marvel with a fix for this. Would be  
> > great if you can give it a try and confirm how it goes.
> > 
> > Cheers,  
> > Boaz
> > 
> > On Friday, June 6, 2014 12:01:52 PM UTC+2, Boaz Leskes wrote:
> > 
> > > Thx Pawel,
> > > 
> > > Note huge but larger then limit. Working on a fix.
> > > 
> > > On Friday, June 6, 2014 10:10:45 AM UTC+2, Paweł Krzaczkowski wrote:
> > > 
> > > > This one is without metadata
> > > > 
> > > > [http://pastebin.com/tmJGA5Kq](http://pastebin.com/tmJGA5Kq)  
> > > > [http://xxx:9200/\_cluster/state/version,master\_node](http://xxx:9200/_cluster/state/version,master_node),  
> > > > nodes,routing\_table,blocks/?human&pretty
> > > > 
> > > > Pawel
> > > > 
> > > > W dniu piątek, 6 czerwca 2014 09:28:30 UTC+2 użytkownik Boaz Leskes  
> > > > napisał:
> > > > 
> > > > > HI Pawel,
> > > > > 
> > > > > I see - your cluster state (nodes + routing only, not meta data),  
> > > > > seems to be larger then 16KB when rendered to SMILE, which is quite big -  
> > > > > does this make sense?
> > > > > 
> > > > > Above 16KB an underlying paging system introduced in the ES 1.x branch  
> > > > > kicks in. At that breaks something in Marvel than normally ships very small  
> > > > > documents.
> > > > > 
> > > > > I'll work on a fix. Can you confirm your cluster state (again, without  
> > > > > the metadata) is indeed very large?
> > > > > 
> > > > > Cheers,  
> > > > > Boaz
> > > > > 
> > > > > On Thursday, June 5, 2014 10:56:00 AM UTC+2, Paweł Krzaczkowski wrote:
> > > > > 
> > > > > > Hi.
> > > > > > 
> > > > > > After upgrading Marvel to 1.2.0 (running on Elasticsearch 1.2.1) i'm  
> > > > > > getting errors like
> > > > > > 
> > > > > > [2014-06-05 10:47:25,346][INFO][node] [es-m-3]  
> > > > > > version[1.2.1], pid[68924], build[6c95b75/2014-06-03T15:02:52Z]  
> > > > > > [2014-06-05 10:47:25,347][INFO][node] [es-m-3]  
> > > > > > initializing ...  
> > > > > > [2014-06-05 10:47:25,367][INFO][plugins] [es-m-3]  
> > > > > > loaded [marvel, analysis-icu], sites [marvel, head, segmentspy, browser,  
> > > > > > paramedic]  
> > > > > > [2014-06-05 10:47:28,455][INFO][node] [es-m-3]  
> > > > > > initialized  
> > > > > > [2014-06-05 10:47:28,456][INFO][node] [es-m-3]  
> > > > > > starting ...  
> > > > > > [2014-06-05 10:47:28,597][INFO][transport] [es-m-3]  
> > > > > > bound\_address {inet[/0:0:0:0:0:0:0:0:9300]}, publish\_address {inet[/  
> > > > > > 192.168.0.212:9300]}  
> > > > > > [2014-06-05 10:47:42,340][INFO][cluster.service] [es-m-3]  
> > > > > > new\_master [es-m-3][0H3grrJxTJunU1U6FmkIEg][es-m-3][inet[  
> > > > > > 192.168.0.212/192.168.0.212:9300]]{data=false  
> > > > > > [http://192.168.0.212/192.168.0.212:9300]]{data=false](http://192.168.0.212/192.168.0.212:9300%5D%5D%7Bdata=false),  
> > > > > > master=true}, reason: zen-disco-join (elected\_as\_master)  
> > > > > > [2014-06-05 10:47:42,350][INFO][discovery] [es-m-3]  
> > > > > > freshmind/0H3grrJxTJunU1U6FmkIEg  
> > > > > > [2014-06-05 10:47:42,365][INFO][http] [es-m-3]  
> > > > > > bound\_address {inet[/0:0:0:0:0:0:0:0:9200]}, publish\_address {inet[/  
> > > > > > 192.168.0.212:9200]}  
> > > > > > [2014-06-05 10:47:42,368][INFO][node] [es-m-3]  
> > > > > > started  
> > > > > > [2014-06-05 10:47:44,098][INFO][cluster.service] [es-m-3]  
> > > > > > added {[es-m-1][MHl5Ls-cRXCwc7OC-P0J5w][es-m-1][inet[/192.168.0.210:9300]]{data=false,  
> > > > > > machine=44454c4c-5300-1052-8038-b9c04f5a5a31, master=true},},  
> > > > > > reason: zen-disco-receive(join from node[[es-m-1][MHl5Ls-  
> > > > > > cRXCwc7OC-P0J5w][es-m-1][inet[/192.168.0.210:9300]]{data=false,  
> > > > > > machine=44454c4c-5300-1052-8038-b9c04f5a5a31, master=true}])  
> > > > > > [2014-06-05 10:47:44,401][INFO][gateway] [es-m-3]  
> > > > > > recovered [28] indices into cluster\_state  
> > > > > > [2014-06-05 10:47:48,683][ERROR][marvel.agent] [es-m-3]  
> > > > > > exporter [es\_exporter] has thrown an exception:  
> > > > > > java.lang.IllegalStateException: array not available  
> > > > > > at org.elasticsearch.common.bytes.PagedBytesReference.  
> > > > > > array(PagedBytesReference.java:289)  
> > > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.  
> > > > > > addXContentRendererToConnection(ESExporter.java:209)  
> > > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.  
> > > > > > exportXContent(ESExporter.java:252)  
> > > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.  
> > > > > > exportEvents(ESExporter.java:161)  
> > > > > > at org.elasticsearch.marvel.agent.AgentService$  
> > > > > > ExportingWorker.exportEvents(AgentService.java:305)  
> > > > > > at org.elasticsearch.marvel.agent.AgentService$  
> > > > > > ExportingWorker.run(AgentService.java:240)  
> > > > > > at java.lang.Thread.run(Thread.java:745)  
> > > > > > [2014-06-05 10:47:58,738][ERROR][marvel.agent] [es-m-3]  
> > > > > > exporter [es\_exporter] has thrown an exception:  
> > > > > > java.lang.IllegalStateException: array not available  
> > > > > > at org.elasticsearch.common.bytes.PagedBytesReference.  
> > > > > > array(PagedBytesReference.java:289)  
> > > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.  
> > > > > > addXContentRendererToConnection(ESExporter.java:209)  
> > > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.  
> > > > > > exportXContent(ESExporter.java:252)  
> > > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.  
> > > > > > exportEvents(ESExporter.java:161)  
> > > > > > at org.elasticsearch.marvel.agent.AgentService$  
> > > > > > ExportingWorker.exportEvents(AgentService.java:305)  
> > > > > > at org.elasticsearch.marvel.agent.AgentService$  
> > > > > > ExportingWorker.run(AgentService.java:240)  
> > > > > > at java.lang.Thread.run(Thread.java:745)  
> > > > > > [2014-06-05 10:48:36,572][INFO][cluster.service] [es-m-3]  
> > > > > > added {[es-m-2][e5uEqGRhS7uEioNxaYkwTg][es-m-  
> > > > > > 2][inet[/192.168.0.211:9300]]{data=false, master=true},}, reason:  
> > > > > > zen-disco-receive(join from node[[es-m-2][  
> > > > > > e5uEqGRhS7uEioNxaYkwTg][es-m-2][inet[/192.168.0.211:9300]]{data=false,  
> > > > > > master=true}])  
> > > > > > [2014-06-05 10:48:38,859][ERROR][marvel.agent] [es-m-3]  
> > > > > > exporter [es\_exporter] has thrown an exception:  
> > > > > > java.lang.IllegalStateException: array not available  
> > > > > > at org.elasticsearch.common.bytes.PagedBytesReference.  
> > > > > > array(PagedBytesReference.java:289)  
> > > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.  
> > > > > > addXContentRendererToConnection(ESExporter.java:209)  
> > > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.  
> > > > > > exportXContent(ESExporter.java:252)  
> > > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.  
> > > > > > exportEvents(ESExporter.java:161)  
> > > > > > at org.elasticsearch.marvel.agent.AgentService$  
> > > > > > ExportingWorker.exportEvents(AgentService.java:305)  
> > > > > > at org.elasticsearch.marvel.agent.AgentService$  
> > > > > > ExportingWorker.run(AgentService.java:240)  
> > > > > > at java.lang.Thread.run(Thread.java:745)  
> > > > > > [2014-06-05 10:49:47,283][INFO][cluster.service] [es-m-3]  
> > > > > > added {[es-d-1][9T5-BOVCSveOyh5dV9YvDg][es-d-1.localhost][inet[/  
> > > > > > 192.168.0.213:9300]]{machine=44454c4c-5300-1052-8038-b9c04f5a5a31,  
> > > > > > master=false},}, reason: zen-disco-receive(join from node[[es-d-1][9T5-  
> > > > > > BOVCSveOyh5dV9YvDg][es-d-1.localhost][inet[/192.168.0.  
> > > > > > 213:9300]]{machine=44454c4c-5300-1052-8038-b9c04f5a5a31,  
> > > > > > master=false}])  
> > > > > > [2014-06-05 10:49:47,350][INFO][cluster.service] [es-m-3]  
> > > > > > added {[es-d-2][ddoIhezQSjuGYWPmSWltIg][es-d-  
> > > > > > 2][inet[/192.168.0.200:9300]]{machine=44454c4c-5200-1038-8030-c2c04f365931,  
> > > > > > master=false},}, reason: zen-disco-receive(join from node[[es-d-2][  
> > > > > > ddoIhezQSjuGYWPmSWltIg][es-d-2][inet[/192.168.0.200:9300]]{  
> > > > > > machine=44454c4c-5200-1038-8030-c2c04f365931, master=false}])  
> > > > > > [2014-06-05 10:49:49,055][ERROR][marvel.agent] [es-m-3]  
> > > > > > exporter [es\_exporter] has thrown an exception:  
> > > > > > java.lang.IllegalStateException: array not available  
> > > > > > at org.elasticsearch.common.bytes.PagedBytesReference.  
> > > > > > array(PagedBytesReference.java:289)  
> > > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.  
> > > > > > addXContentRendererToConnection(ESExporter.java:209)  
> > > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.  
> > > > > > exportXContent(ESExporter.java:252)  
> > > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.  
> > > > > > exportEvents(ESExporter.java:161)  
> > > > > > at org.elasticsearch.marvel.agent.AgentService$  
> > > > > > ExportingWorker.exportEvents(AgentService.java:305)  
> > > > > > at org.elasticsearch.marvel.agent.AgentService$  
> > > > > > ExportingWorker.run(AgentService.java:240)  
> > > > > > at java.lang.Thread.run(Thread.java:745)  
> > > > > > [2014-06-05 10:49:59,090][ERROR][marvel.agent] [es-m-3]  
> > > > > > exporter [es\_exporter] has thrown an exception:  
> > > > > > java.lang.IllegalStateException: array not available  
> > > > > > at org.elasticsearch.common.bytes.PagedBytesReference.  
> > > > > > array(PagedBytesReference.java:289)  
> > > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.  
> > > > > > addXContentRendererToConnection(ESExporter.java:209)  
> > > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.  
> > > > > > exportXContent(ESExporter.java:252)  
> > > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.  
> > > > > > exportEvents(ESExporter.java:161)  
> > > > > > at org.elasticsearch.marvel.agent.AgentService$  
> > > > > > ExportingWorker.exportEvents(AgentService.java:305)  
> > > > > > at org.elasticsearch.marvel.agent.AgentService$  
> > > > > > ExportingWorker.run(AgentService.java:240)  
> > > > > > at java.lang.Thread.run(Thread.java:745)  
> > > > > > [2014-06-05 10:50:09,267][ERROR][marvel.agent] [es-m-3]  
> > > > > > exporter [es\_exporter] has thrown an exception:  
> > > > > > java.lang.IllegalStateException: array not available  
> > > > > > at org.elasticsearch.common.bytes.PagedBytesReference.  
> > > > > > array(PagedBytesReference.java:289)  
> > > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.  
> > > > > > addXContentRendererToConnection(ESExporter.java:209)  
> > > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.  
> > > > > > exportXContent(ESExporter.java:252)  
> > > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.  
> > > > > > exportEvents(ESExporter.java:161)  
> > > > > > at org.elasticsearch.marvel.agent.AgentService$  
> > > > > > ExportingWorker.exportEvents(AgentService.java:305)  
> > > > > > at org.elasticsearch.marvel.agent.AgentService$  
> > > > > > ExportingWorker.run(AgentService.java:240)  
> > > > > > at java.lang.Thread.run(Thread.java:745)  
> > > > > > [root@es-m-3 ~]#
> > > > > > 
> > > > > > Marvel is running on a separate cluster.  
> > > > > > Cluster state is not being transmitted to marvel. Error occurs every  
> > > > > > time cluster state changes (node restart, shard allocation, etc.)
> > > > > > 
> > > > > > ENV on master node  
> > > > > > [root@es-m-3 ~]# env  
> > > > > > MANPATH=/opt/local/man:/usr/share/man:/opt/local/gcc47/  
> > > > > > man:/opt/local/java/sun6/man:/opt/local/lib/perl5/man:/opt/  
> > > > > > local/lib/perl5/vendor\_perl/man  
> > > > > > HZ=100  
> > > > > > SHELL=/usr/bin/bash  
> > > > > > TERM=xterm  
> > > > > > ES\_HEAP\_SIZE=512M  
> > > > > > ES\_JAVA\_OPTS=-d64 -server -Des.processors=1 -Des.node.name=es-m-3  
> > > > > > -Des.node.machine=44454c4c-5200-1038-8030-c2c04f365931  
> > > > > > COLUMNS=238  
> > > > > > PAGER=less  
> > > > > > MAIL=/var/mail/root  
> > > > > > PATH=/usr/local/sbin:/usr/local/bin:/opt/local/sbin:/  
> > > > > > opt/local/bin:/usr/sbin:/usr/bin:/sbin  
> > > > > > PWD=/root  
> > > > > > JAVA\_HOME=/opt/jdk1.7.0\_55/  
> > > > > > LINES=74  
> > > > > > SHLVL=1  
> > > > > > HOME=/root  
> > > > > > TERMINFO=/opt/local/share/lib/terminfo  
> > > > > > LOGNAME=root  
> > > > > > FTPMODE=auto  
> > > > > > \_=/opt/local/bin/env
> > > > > > 
> > > > > > [root@es-m-3 ~]# /opt/jdk1.7.0\_55/bin/java -d64 -version  
> > > > > > java version "1.7.0\_55"  
> > > > > > Java(TM) SE Runtime Environment (build 1.7.0\_55-b13)  
> > > > > > Java HotSpot(TM) 64-Bit Server VM (build 24.55-b03, mixed mode)
> > > > > > 
> > > > > > Marvel 1.1.1 worked without any problems.
> > > > > > 
> > > > > > Pawel
> > > > > > 
> > > > > > --  
> > > > > > You received this message because you are subscribed to a topic in the  
> > > > > > Google Groups "elasticsearch" group.  
> > > > > > To unsubscribe from this topic, visit  
> > > > > > [https://groups.google.com/d/topic/elasticsearch/WQL0viovt4Y/unsubscribe](https://groups.google.com/d/topic/elasticsearch/WQL0viovt4Y/unsubscribe).  
> > > > > > To unsubscribe from this group and all its topics, send an email to  
> > > > > > [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > > > > > To view this discussion on the web visit  
> > > > > > [https://groups.google.com/d/msgid/elasticsearch/1679343b-80e9-4124-a60c-1de35ae1066d%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/1679343b-80e9-4124-a60c-1de35ae1066d%40googlegroups.com)  
> > > > > > [https://groups.google.com/d/msgid/elasticsearch/1679343b-80e9-4124-a60c-1de35ae1066d%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/1679343b-80e9-4124-a60c-1de35ae1066d%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > > > > > .  
> > > > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> 
> --
> 
> P.

--  
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 [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/e57a7d9b-fdea-4bb4-ba84-76f42e987e31%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/e57a7d9b-fdea-4bb4-ba84-76f42e987e31%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Pawel\_Krzaczkowski](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pawel_krzaczkowski/32/1404_2.png) [@Pawel\_Krzaczkowski](https://discuss.elastic.co/u/Pawel_Krzaczkowski)\
**Post date:** [June 13, 2014, 2:01pm UTC](https://discuss.elastic.co/t/marvel-1-2-0-java-lang-illegalstateexception/17921/10 "2014-06-13T14:01:54Z")

</div>

Hi,

Yes it's been released as Marvel 1.2.1

2014-06-13 16:01 GMT+02:00 John Smith [java.dev.mtl@gmail.com](mailto:java.dev.mtl@gmail.com):

> Is the released? Or it's still in github?
> 
> Experiencing the same thing...
> 
> Ran the commands from above...
> 
> [ES Status - Pastebin.com](http://pastebin.com/WUTTLgsS)
> 
> On Monday, 9 June 2014 14:44:17 UTC-4, Paweł Krzaczkowski wrote:
> 
> > It works .. thx for a quick fix
> > 
> > 2014-06-09 17:48 GMT+02:00 Paweł Krzaczkowski [pa...@krzaczkowski.pl](mailto:pa...@krzaczkowski.pl):
> > 
> > > Im out of office for today so ill test it tomorrow morning and let You  
> > > know if it works
> > > 
> > > pawel (at) mobile
> > > 
> > > On 9 cze 2014, at 17:40, Boaz Leskes [b.le...@gmail.com](mailto:b.le...@gmail.com) wrote:
> > > 
> > > Hi Pawel,
> > > 
> > > We just did a quick minor release to marvel with a fix for this. Would  
> > > be great if you can give it a try and confirm how it goes.
> > > 
> > > Cheers,  
> > > Boaz
> > > 
> > > On Friday, June 6, 2014 12:01:52 PM UTC+2, Boaz Leskes wrote:
> > > 
> > > > Thx Pawel,
> > > > 
> > > > Note huge but larger then limit. Working on a fix.
> > > > 
> > > > On Friday, June 6, 2014 10:10:45 AM UTC+2, Paweł Krzaczkowski wrote:
> > > > 
> > > > > This one is without metadata
> > > > > 
> > > > > [http://pastebin.com/tmJGA5Kq](http://pastebin.com/tmJGA5Kq)  
> > > > > [http://xxx:9200/\_cluster/state/version,master\_node,nodes](http://xxx:9200/_cluster/state/version,master_node,nodes),  
> > > > > routing\_table,blocks/?human&pretty
> > > > > 
> > > > > Pawel
> > > > > 
> > > > > W dniu piątek, 6 czerwca 2014 09:28:30 UTC+2 użytkownik Boaz Leskes  
> > > > > napisał:
> > > > > 
> > > > > > HI Pawel,
> > > > > > 
> > > > > > I see - your cluster state (nodes + routing only, not meta data),  
> > > > > > seems to be larger then 16KB when rendered to SMILE, which is quite big -  
> > > > > > does this make sense?
> > > > > > 
> > > > > > Above 16KB an underlying paging system introduced in the ES 1.x  
> > > > > > branch kicks in. At that breaks something in Marvel than normally ships  
> > > > > > very small documents.
> > > > > > 
> > > > > > I'll work on a fix. Can you confirm your cluster state (again,  
> > > > > > without the metadata) is indeed very large?
> > > > > > 
> > > > > > Cheers,  
> > > > > > Boaz
> > > > > > 
> > > > > > On Thursday, June 5, 2014 10:56:00 AM UTC+2, Paweł Krzaczkowski wrote:
> > > > > > 
> > > > > > > Hi.
> > > > > > > 
> > > > > > > After upgrading Marvel to 1.2.0 (running on Elasticsearch 1.2.1) i'm  
> > > > > > > getting errors like
> > > > > > > 
> > > > > > > [2014-06-05 10:47:25,346][INFO][node] [es-m-3]  
> > > > > > > version[1.2.1], pid[68924], build[6c95b75/2014-06-03T15:02:52Z]  
> > > > > > > [2014-06-05 10:47:25,347][INFO][node] [es-m-3]  
> > > > > > > initializing ...  
> > > > > > > [2014-06-05 10:47:25,367][INFO][plugins] [es-m-3]  
> > > > > > > loaded [marvel, analysis-icu], sites [marvel, head, segmentspy, browser,  
> > > > > > > paramedic]  
> > > > > > > [2014-06-05 10:47:28,455][INFO][node] [es-m-3]  
> > > > > > > initialized  
> > > > > > > [2014-06-05 10:47:28,456][INFO][node] [es-m-3]  
> > > > > > > starting ...  
> > > > > > > [2014-06-05 10:47:28,597][INFO][transport] [es-m-3]  
> > > > > > > bound\_address {inet[/0:0:0:0:0:0:0:0:9300]}, publish\_address {inet[/  
> > > > > > > 192.168.0.212:9300]}  
> > > > > > > [2014-06-05 10:47:42,340][INFO][cluster.service] [es-m-3]  
> > > > > > > new\_master [es-m-3][0H3grrJxTJunU1U6FmkIEg][es-m-3][inet[  
> > > > > > > 192.168.0.212/192.168.0.212:9300]]{data=false  
> > > > > > > [http://192.168.0.212/192.168.0.212:9300]]{data=false](http://192.168.0.212/192.168.0.212:9300%5D%5D%7Bdata=false),  
> > > > > > > master=true}, reason: zen-disco-join (elected\_as\_master)  
> > > > > > > [2014-06-05 10:47:42,350][INFO][discovery] [es-m-3]  
> > > > > > > freshmind/0H3grrJxTJunU1U6FmkIEg  
> > > > > > > [2014-06-05 10:47:42,365][INFO][http] [es-m-3]  
> > > > > > > bound\_address {inet[/0:0:0:0:0:0:0:0:9200]}, publish\_address {inet[/  
> > > > > > > 192.168.0.212:9200]}  
> > > > > > > [2014-06-05 10:47:42,368][INFO][node] [es-m-3]  
> > > > > > > started  
> > > > > > > [2014-06-05 10:47:44,098][INFO][cluster.service] [es-m-3]  
> > > > > > > added {[es-m-1][MHl5Ls-cRXCwc7OC-P0J5w][es-m-1][inet[/192.168.0.210:9300]]{data=false,  
> > > > > > > machine=44454c4c-5300-1052-8038-b9c04f5a5a31, master=true},},  
> > > > > > > reason: zen-disco-receive(join from node[[es-m-1][MHl5Ls-cRXCwc7OC  
> > > > > > > -P0J5w][es-m-1][inet[/192.168.0.210:9300]]{data=false,  
> > > > > > > machine=44454c4c-5300-1052-8038-b9c04f5a5a31, master=true}])  
> > > > > > > [2014-06-05 10:47:44,401][INFO][gateway] [es-m-3]  
> > > > > > > recovered [28] indices into cluster\_state  
> > > > > > > [2014-06-05 10:47:48,683][ERROR][marvel.agent]  
> > > > > > > [es-m-3] exporter [es\_exporter] has thrown an exception:  
> > > > > > > java.lang.IllegalStateException: array not available  
> > > > > > > at org.elasticsearch.common.bytes.PagedBytesReference.array(  
> > > > > > > PagedBytesReference.java:289)  
> > > > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.  
> > > > > > > addXContentRendererToConnection(ESExporter.java:209)  
> > > > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.  
> > > > > > > exportXContent(ESExporter.java:252)  
> > > > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.  
> > > > > > > exportEvents(ESExporter.java:161)  
> > > > > > > at org.elasticsearch.marvel.agent.AgentService$  
> > > > > > > ExportingWorker.exportEvents(AgentService.java:305)  
> > > > > > > at org.elasticsearch.marvel.agent.AgentService$  
> > > > > > > ExportingWorker.run(AgentService.java:240)  
> > > > > > > at java.lang.Thread.run(Thread.java:745)  
> > > > > > > [2014-06-05 10:47:58,738][ERROR][marvel.agent]  
> > > > > > > [es-m-3] exporter [es\_exporter] has thrown an exception:  
> > > > > > > java.lang.IllegalStateException: array not available  
> > > > > > > at org.elasticsearch.common.bytes.PagedBytesReference.array(  
> > > > > > > PagedBytesReference.java:289)  
> > > > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.  
> > > > > > > addXContentRendererToConnection(ESExporter.java:209)  
> > > > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.  
> > > > > > > exportXContent(ESExporter.java:252)  
> > > > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.  
> > > > > > > exportEvents(ESExporter.java:161)  
> > > > > > > at org.elasticsearch.marvel.agent.AgentService$  
> > > > > > > ExportingWorker.exportEvents(AgentService.java:305)  
> > > > > > > at org.elasticsearch.marvel.agent.AgentService$  
> > > > > > > ExportingWorker.run(AgentService.java:240)  
> > > > > > > at java.lang.Thread.run(Thread.java:745)  
> > > > > > > [2014-06-05 10:48:36,572][INFO][cluster.service] [es-m-3]  
> > > > > > > added {[es-m-2][e5uEqGRhS7uEioNxaYkwTg][es-m-2][inet[/192.168.0.  
> > > > > > > 211:9300]]{data=false, master=true},}, reason:  
> > > > > > > zen-disco-receive(join from node[[es-m-2][e5uEqGRhS7uEioNx  
> > > > > > > aYkwTg][es-m-2][inet[/192.168.0.211:9300]]{data=false,  
> > > > > > > master=true}])  
> > > > > > > [2014-06-05 10:48:38,859][ERROR][marvel.agent]  
> > > > > > > [es-m-3] exporter [es\_exporter] has thrown an exception:  
> > > > > > > java.lang.IllegalStateException: array not available  
> > > > > > > at org.elasticsearch.common.bytes.PagedBytesReference.array(  
> > > > > > > PagedBytesReference.java:289)  
> > > > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.  
> > > > > > > addXContentRendererToConnection(ESExporter.java:209)  
> > > > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.  
> > > > > > > exportXContent(ESExporter.java:252)  
> > > > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.  
> > > > > > > exportEvents(ESExporter.java:161)  
> > > > > > > at org.elasticsearch.marvel.agent.AgentService$  
> > > > > > > ExportingWorker.exportEvents(AgentService.java:305)  
> > > > > > > at org.elasticsearch.marvel.agent.AgentService$  
> > > > > > > ExportingWorker.run(AgentService.java:240)  
> > > > > > > at java.lang.Thread.run(Thread.java:745)  
> > > > > > > [2014-06-05 10:49:47,283][INFO][cluster.service] [es-m-3]  
> > > > > > > added {[es-d-1][9T5-BOVCSveOyh5dV9YvDg][es-d-1.localhost][inet[/19  
> > > > > > > 2.168.0.213:9300]]{machine=44454c4c-5300-1052-8038-b9c04f5a5a31,  
> > > > > > > master=false},}, reason: zen-disco-receive(join from node[[es-d-1][9T5-  
> > > > > > > BOVCSveOyh5dV9YvDg][es-d-1.localhost][inet[/192.168.0.213:9300]]{  
> > > > > > > machine=44454c4c-5300-1052-8038-b9c04f5a5a31, master=false}])  
> > > > > > > [2014-06-05 10:49:47,350][INFO][cluster.service] [es-m-3]  
> > > > > > > added {[es-d-2][ddoIhezQSjuGYWPmSWltIg][es-d-2][inet[/192.168.0.  
> > > > > > > 200:9300]]{machine=44454c4c-5200-1038-8030-c2c04f365931,  
> > > > > > > master=false},}, reason: zen-disco-receive(join from node[[es-d-2][  
> > > > > > > ddoIhezQSjuGYWPmSWltIg][es-d-2][inet[/192.168.0.200:9300]]{  
> > > > > > > machine=44454c4c-5200-1038-8030-c2c04f365931, master=false}])  
> > > > > > > [2014-06-05 10:49:49,055][ERROR][marvel.agent]  
> > > > > > > [es-m-3] exporter [es\_exporter] has thrown an exception:  
> > > > > > > java.lang.IllegalStateException: array not available  
> > > > > > > at org.elasticsearch.common.bytes.PagedBytesReference.array(  
> > > > > > > PagedBytesReference.java:289)  
> > > > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.  
> > > > > > > addXContentRendererToConnection(ESExporter.java:209)  
> > > > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.  
> > > > > > > exportXContent(ESExporter.java:252)  
> > > > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.  
> > > > > > > exportEvents(ESExporter.java:161)  
> > > > > > > at org.elasticsearch.marvel.agent.AgentService$  
> > > > > > > ExportingWorker.exportEvents(AgentService.java:305)  
> > > > > > > at org.elasticsearch.marvel.agent.AgentService$  
> > > > > > > ExportingWorker.run(AgentService.java:240)  
> > > > > > > at java.lang.Thread.run(Thread.java:745)  
> > > > > > > [2014-06-05 10:49:59,090][ERROR][marvel.agent]  
> > > > > > > [es-m-3] exporter [es\_exporter] has thrown an exception:  
> > > > > > > java.lang.IllegalStateException: array not available  
> > > > > > > at org.elasticsearch.common.bytes.PagedBytesReference.array(  
> > > > > > > PagedBytesReference.java:289)  
> > > > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.  
> > > > > > > addXContentRendererToConnection(ESExporter.java:209)  
> > > > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.  
> > > > > > > exportXContent(ESExporter.java:252)  
> > > > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.  
> > > > > > > exportEvents(ESExporter.java:161)  
> > > > > > > at org.elasticsearch.marvel.agent.AgentService$  
> > > > > > > ExportingWorker.exportEvents(AgentService.java:305)  
> > > > > > > at org.elasticsearch.marvel.agent.AgentService$  
> > > > > > > ExportingWorker.run(AgentService.java:240)  
> > > > > > > at java.lang.Thread.run(Thread.java:745)  
> > > > > > > [2014-06-05 10:50:09,267][ERROR][marvel.agent]  
> > > > > > > [es-m-3] exporter [es\_exporter] has thrown an exception:  
> > > > > > > java.lang.IllegalStateException: array not available  
> > > > > > > at org.elasticsearch.common.bytes.PagedBytesReference.array(  
> > > > > > > PagedBytesReference.java:289)  
> > > > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.  
> > > > > > > addXContentRendererToConnection(ESExporter.java:209)  
> > > > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.  
> > > > > > > exportXContent(ESExporter.java:252)  
> > > > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.  
> > > > > > > exportEvents(ESExporter.java:161)  
> > > > > > > at org.elasticsearch.marvel.agent.AgentService$  
> > > > > > > ExportingWorker.exportEvents(AgentService.java:305)  
> > > > > > > at org.elasticsearch.marvel.agent.AgentService$  
> > > > > > > ExportingWorker.run(AgentService.java:240)  
> > > > > > > at java.lang.Thread.run(Thread.java:745)  
> > > > > > > [root@es-m-3 ~]#
> > > > > > > 
> > > > > > > Marvel is running on a separate cluster.  
> > > > > > > Cluster state is not being transmitted to marvel. Error occurs every  
> > > > > > > time cluster state changes (node restart, shard allocation, etc.)
> > > > > > > 
> > > > > > > ENV on master node  
> > > > > > > [root@es-m-3 ~]# env  
> > > > > > > MANPATH=/opt/local/man:/usr/share/man:/opt/local/gcc47/man:/  
> > > > > > > opt/local/java/sun6/man:/opt/local/lib/perl5/man:/opt/local  
> > > > > > > /lib/perl5/vendor\_perl/man  
> > > > > > > HZ=100  
> > > > > > > SHELL=/usr/bin/bash  
> > > > > > > TERM=xterm  
> > > > > > > ES\_HEAP\_SIZE=512M  
> > > > > > > ES\_JAVA\_OPTS=-d64 -server -Des.processors=1 -Des.node.name=es-m-3  
> > > > > > > -Des.node.machine=44454c4c-5200-1038-8030-c2c04f365931  
> > > > > > > COLUMNS=238  
> > > > > > > PAGER=less  
> > > > > > > MAIL=/var/mail/root  
> > > > > > > PATH=/usr/local/sbin:/usr/local/bin:/opt/local/sbin:/opt/  
> > > > > > > local/bin:/usr/sbin:/usr/bin:/sbin  
> > > > > > > PWD=/root  
> > > > > > > JAVA\_HOME=/opt/jdk1.7.0\_55/  
> > > > > > > LINES=74  
> > > > > > > SHLVL=1  
> > > > > > > HOME=/root  
> > > > > > > TERMINFO=/opt/local/share/lib/terminfo  
> > > > > > > LOGNAME=root  
> > > > > > > FTPMODE=auto  
> > > > > > > \_=/opt/local/bin/env
> > > > > > > 
> > > > > > > [root@es-m-3 ~]# /opt/jdk1.7.0\_55/bin/java -d64 -version  
> > > > > > > java version "1.7.0\_55"  
> > > > > > > Java(TM) SE Runtime Environment (build 1.7.0\_55-b13)  
> > > > > > > Java HotSpot(TM) 64-Bit Server VM (build 24.55-b03, mixed mode)
> > > > > > > 
> > > > > > > Marvel 1.1.1 worked without any problems.
> > > > > > > 
> > > > > > > Pawel
> > > > > > > 
> > > > > > > --  
> > > > > > > You received this message because you are subscribed to a topic in the  
> > > > > > > Google Groups "elasticsearch" group.  
> > > > > > > To unsubscribe from this topic, visit [https://groups.google.com/d/](https://groups.google.com/d/)  
> > > > > > > topic/elasticsearch/WQL0viovt4Y/unsubscribe.  
> > > > > > > To unsubscribe from this group and all its topics, send an email to  
> > > > > > > [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).
> > > 
> > > To view this discussion on the web visit [https://groups.google.com/d/](https://groups.google.com/d/)  
> > > msgid/elasticsearch/1679343b-80e9-4124-a60c-1de35ae1066d%  
> > > [40googlegroups.com](http://40googlegroups.com)  
> > > [https://groups.google.com/d/msgid/elasticsearch/1679343b-80e9-4124-a60c-1de35ae1066d%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/1679343b-80e9-4124-a60c-1de35ae1066d%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > > .  
> > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > 
> > --
> > 
> > P.
> 
> --  
> You received this message because you are subscribed to a topic in the  
> Google Groups "elasticsearch" group.  
> To unsubscribe from this topic, visit  
> [https://groups.google.com/d/topic/elasticsearch/WQL0viovt4Y/unsubscribe](https://groups.google.com/d/topic/elasticsearch/WQL0viovt4Y/unsubscribe).  
> To unsubscribe from this group and all its topics, send an email to  
> [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/e57a7d9b-fdea-4bb4-ba84-76f42e987e31%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/e57a7d9b-fdea-4bb4-ba84-76f42e987e31%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/e57a7d9b-fdea-4bb4-ba84-76f42e987e31%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/e57a7d9b-fdea-4bb4-ba84-76f42e987e31%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .
> 
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--

P.

--  
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 [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAL24%3Dd-H2UouZvOU\_jLr2oJMjaVuNy5z2ahgkrDTD4rqmN%2BC%3DQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAL24%3Dd-H2UouZvOU_jLr2oJMjaVuNy5z2ahgkrDTD4rqmN%2BC%3DQ%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![javadevmtl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/javadevmtl/32/45613_2.png) [@javadevmtl](https://discuss.elastic.co/u/javadevmtl)\
**Post date:** [June 13, 2014, 2:11pm UTC](https://discuss.elastic.co/t/marvel-1-2-0-java-lang-illegalstateexception/17921/11 "2014-06-13T14:11:27Z")

</div>

Ok works thanks

On Friday, 13 June 2014 10:02:06 UTC-4, Paweł Krzaczkowski wrote:

> Hi,
> 
> Yes it's been released as Marvel 1.2.1
> 
> 2014-06-13 16:01 GMT+02:00 John Smith \<[java.d...@gmail.com](mailto:java.d...@gmail.com) \<javascript:\>\>:
> 
> > Is the released? Or it's still in github?
> > 
> > Experiencing the same thing...
> > 
> > Ran the commands from above...
> > 
> > [ES Status - Pastebin.com](http://pastebin.com/WUTTLgsS)
> > 
> > On Monday, 9 June 2014 14:44:17 UTC-4, Paweł Krzaczkowski wrote:
> > 
> > > It works .. thx for a quick fix
> > > 
> > > 2014-06-09 17:48 GMT+02:00 Paweł Krzaczkowski [pa...@krzaczkowski.pl](mailto:pa...@krzaczkowski.pl):
> > > 
> > > > Im out of office for today so ill test it tomorrow morning and let You  
> > > > know if it works
> > > > 
> > > > pawel (at) mobile
> > > > 
> > > > On 9 cze 2014, at 17:40, Boaz Leskes [b.le...@gmail.com](mailto:b.le...@gmail.com) wrote:
> > > > 
> > > > Hi Pawel,
> > > > 
> > > > We just did a quick minor release to marvel with a fix for this. Would  
> > > > be great if you can give it a try and confirm how it goes.
> > > > 
> > > > Cheers,  
> > > > Boaz
> > > > 
> > > > On Friday, June 6, 2014 12:01:52 PM UTC+2, Boaz Leskes wrote:
> > > > 
> > > > > Thx Pawel,
> > > > > 
> > > > > Note huge but larger then limit. Working on a fix.
> > > > > 
> > > > > On Friday, June 6, 2014 10:10:45 AM UTC+2, Paweł Krzaczkowski wrote:
> > > > > 
> > > > > > This one is without metadata
> > > > > > 
> > > > > > [http://pastebin.com/tmJGA5Kq](http://pastebin.com/tmJGA5Kq)  
> > > > > > [http://xxx:9200/\_cluster/state/version,master\_node,nodes](http://xxx:9200/_cluster/state/version,master_node,nodes),  
> > > > > > routing\_table,blocks/?human&pretty
> > > > > > 
> > > > > > Pawel
> > > > > > 
> > > > > > W dniu piątek, 6 czerwca 2014 09:28:30 UTC+2 użytkownik Boaz Leskes  
> > > > > > napisał:
> > > > > > 
> > > > > > > HI Pawel,
> > > > > > > 
> > > > > > > I see - your cluster state (nodes + routing only, not meta data),  
> > > > > > > seems to be larger then 16KB when rendered to SMILE, which is quite big -  
> > > > > > > does this make sense?
> > > > > > > 
> > > > > > > Above 16KB an underlying paging system introduced in the ES 1.x  
> > > > > > > branch kicks in. At that breaks something in Marvel than normally ships  
> > > > > > > very small documents.
> > > > > > > 
> > > > > > > I'll work on a fix. Can you confirm your cluster state (again,  
> > > > > > > without the metadata) is indeed very large?
> > > > > > > 
> > > > > > > Cheers,  
> > > > > > > Boaz
> > > > > > > 
> > > > > > > On Thursday, June 5, 2014 10:56:00 AM UTC+2, Paweł Krzaczkowski  
> > > > > > > wrote:
> > > > > > > 
> > > > > > > > Hi.
> > > > > > > > 
> > > > > > > > After upgrading Marvel to 1.2.0 (running on Elasticsearch 1.2.1)  
> > > > > > > > i'm getting errors like
> > > > > > > > 
> > > > > > > > [2014-06-05 10:47:25,346][INFO][node]  
> > > > > > > > [es-m-3] version[1.2.1], pid[68924], build[6c95b75/2014-06-03T15:02  
> > > > > > > > :52Z]  
> > > > > > > > [2014-06-05 10:47:25,347][INFO][node]  
> > > > > > > > [es-m-3] initializing ...  
> > > > > > > > [2014-06-05 10:47:25,367][INFO][plugins]  
> > > > > > > > [es-m-3] loaded [marvel, analysis-icu], sites [marvel, head, segmentspy,  
> > > > > > > > browser, paramedic]  
> > > > > > > > [2014-06-05 10:47:28,455][INFO][node]  
> > > > > > > > [es-m-3] initialized  
> > > > > > > > [2014-06-05 10:47:28,456][INFO][node]  
> > > > > > > > [es-m-3] starting ...  
> > > > > > > > [2014-06-05 10:47:28,597][INFO][transport]  
> > > > > > > > [es-m-3] bound\_address {inet[/0:0:0:0:0:0:0:0:9300]}, publish\_address  
> > > > > > > > {inet[/192.168.0.212:9300]}  
> > > > > > > > [2014-06-05 10:47:42,340][INFO][cluster.service]  
> > > > > > > > [es-m-3] new\_master [es-m-3][0H3grrJxTJunU1U6FmkIEg][es-m-3][inet[  
> > > > > > > > 192.168.0.212/192.168.0.212:9300]]{data=false  
> > > > > > > > [http://192.168.0.212/192.168.0.212:9300]]{data=false](http://192.168.0.212/192.168.0.212:9300%5D%5D%7Bdata=false),  
> > > > > > > > master=true}, reason: zen-disco-join (elected\_as\_master)  
> > > > > > > > [2014-06-05 10:47:42,350][INFO][discovery]  
> > > > > > > > [es-m-3] freshmind/0H3grrJxTJunU1U6FmkIEg  
> > > > > > > > [2014-06-05 10:47:42,365][INFO][http]  
> > > > > > > > [es-m-3] bound\_address {inet[/0:0:0:0:0:0:0:0:9200]}, publish\_address  
> > > > > > > > {inet[/192.168.0.212:9200]}  
> > > > > > > > [2014-06-05 10:47:42,368][INFO][node]  
> > > > > > > > [es-m-3] started  
> > > > > > > > [2014-06-05 10:47:44,098][INFO][cluster.service]  
> > > > > > > > [es-m-3] added {[es-m-1][MHl5Ls-cRXCwc7OC-P0J  
> > > > > > > > 5w][es-m-1][inet[/192.168.0.210:9300]]{data=false,  
> > > > > > > > machine=44454c4c-5300-1052-8038-b9c04f5a5a31, master=true},},  
> > > > > > > > reason: zen-disco-receive(join from node[[es-m-1][MHl5Ls-cRXCwc7OC  
> > > > > > > > -P0J5w][es-m-1][inet[/192.168.0.210:9300]]{data=false,  
> > > > > > > > machine=44454c4c-5300-1052-8038-b9c04f5a5a31, master=true}])  
> > > > > > > > [2014-06-05 10:47:44,401][INFO][gateway]  
> > > > > > > > [es-m-3] recovered [28] indices into cluster\_state  
> > > > > > > > [2014-06-05 10:47:48,683][ERROR][marvel.agent]  
> > > > > > > > [es-m-3] exporter [es\_exporter] has thrown an exception:  
> > > > > > > > java.lang.IllegalStateException: array not available  
> > > > > > > > at org.elasticsearch.common.bytes.PagedBytesReference.  
> > > > > > > > array(PagedBytesReference.java:289)  
> > > > > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.  
> > > > > > > > addXContentRendererToConnection(ESExporter.java:209)  
> > > > > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.  
> > > > > > > > exportXContent(ESExporter.java:252)  
> > > > > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.  
> > > > > > > > exportEvents(ESExporter.java:161)  
> > > > > > > > at org.elasticsearch.marvel.agent.AgentService$  
> > > > > > > > ExportingWorker.exportEvents(AgentService.java:305)  
> > > > > > > > at org.elasticsearch.marvel.agent.AgentService$  
> > > > > > > > ExportingWorker.run(AgentService.java:240)  
> > > > > > > > at java.lang.Thread.run(Thread.java:745)  
> > > > > > > > [2014-06-05 10:47:58,738][ERROR][marvel.agent]  
> > > > > > > > [es-m-3] exporter [es\_exporter] has thrown an exception:  
> > > > > > > > java.lang.IllegalStateException: array not available  
> > > > > > > > at org.elasticsearch.common.bytes.PagedBytesReference.  
> > > > > > > > array(PagedBytesReference.java:289)  
> > > > > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.  
> > > > > > > > addXContentRendererToConnection(ESExporter.java:209)  
> > > > > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.  
> > > > > > > > exportXContent(ESExporter.java:252)  
> > > > > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.  
> > > > > > > > exportEvents(ESExporter.java:161)  
> > > > > > > > at org.elasticsearch.marvel.agent.AgentService$  
> > > > > > > > ExportingWorker.exportEvents(AgentService.java:305)  
> > > > > > > > at org.elasticsearch.marvel.agent.AgentService$  
> > > > > > > > ExportingWorker.run(AgentService.java:240)  
> > > > > > > > at java.lang.Thread.run(Thread.java:745)  
> > > > > > > > [2014-06-05 10:48:36,572][INFO][cluster.service]  
> > > > > > > > [es-m-3] added {[es-m-2][e5uEqGRhS7uEioNxaYkwTg][es-m-2][inet[/  
> > > > > > > > 192.168.0.211:9300]]{data=false, master=true},}, reason:  
> > > > > > > > zen-disco-receive(join from node[[es-m-2][e5uEqGRhS7uEioNx  
> > > > > > > > aYkwTg][es-m-2][inet[/192.168.0.211:9300]]{data=false,  
> > > > > > > > master=true}])  
> > > > > > > > [2014-06-05 10:48:38,859][ERROR][marvel.agent]  
> > > > > > > > [es-m-3] exporter [es\_exporter] has thrown an exception:  
> > > > > > > > java.lang.IllegalStateException: array not available  
> > > > > > > > at org.elasticsearch.common.bytes.PagedBytesReference.  
> > > > > > > > array(PagedBytesReference.java:289)  
> > > > > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.  
> > > > > > > > addXContentRendererToConnection(ESExporter.java:209)  
> > > > > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.  
> > > > > > > > exportXContent(ESExporter.java:252)  
> > > > > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.  
> > > > > > > > exportEvents(ESExporter.java:161)  
> > > > > > > > at org.elasticsearch.marvel.agent.AgentService$  
> > > > > > > > ExportingWorker.exportEvents(AgentService.java:305)  
> > > > > > > > at org.elasticsearch.marvel.agent.AgentService$  
> > > > > > > > ExportingWorker.run(AgentService.java:240)  
> > > > > > > > at java.lang.Thread.run(Thread.java:745)  
> > > > > > > > [2014-06-05 10:49:47,283][INFO][cluster.service]  
> > > > > > > > [es-m-3] added {[es-d-1][9T5-BOVCSveOyh5dV9YvDg][es-d-1.  
> > > > > > > > localhost][inet[/192.168.0.213:9300]]{machine=44454c4c-  
> > > > > > > > 5300-1052-8038-b9c04f5a5a31, master=false},}, reason:  
> > > > > > > > zen-disco-receive(join from node[[es-d-1][9T5-BOVCSveOyh5d  
> > > > > > > > V9YvDg][es-d-1.localhost][inet[/192.168.0.213:9300]]{  
> > > > > > > > machine=44454c4c-5300-1052-8038-b9c04f5a5a31, master=false}])  
> > > > > > > > [2014-06-05 10:49:47,350][INFO][cluster.service]  
> > > > > > > > [es-m-3] added {[es-d-2][ddoIhezQSjuGYWPmSWltIg][es-d-2][inet[/  
> > > > > > > > 192.168.0.200:9300]]{machine=44454c4c-5200-1038-8030-c2c04f365931,  
> > > > > > > > master=false},}, reason: zen-disco-receive(join from node[[es-d-2][  
> > > > > > > > ddoIhezQSjuGYWPmSWltIg][es-d-2][inet[/192.168.0.200:9300]]{  
> > > > > > > > machine=44454c4c-5200-1038-8030-c2c04f365931, master=false}])  
> > > > > > > > [2014-06-05 10:49:49,055][ERROR][marvel.agent]  
> > > > > > > > [es-m-3] exporter [es\_exporter] has thrown an exception:  
> > > > > > > > java.lang.IllegalStateException: array not available  
> > > > > > > > at org.elasticsearch.common.bytes.PagedBytesReference.  
> > > > > > > > array(PagedBytesReference.java:289)  
> > > > > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.  
> > > > > > > > addXContentRendererToConnection(ESExporter.java:209)  
> > > > > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.  
> > > > > > > > exportXContent(ESExporter.java:252)  
> > > > > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.  
> > > > > > > > exportEvents(ESExporter.java:161)  
> > > > > > > > at org.elasticsearch.marvel.agent.AgentService$  
> > > > > > > > ExportingWorker.exportEvents(AgentService.java:305)  
> > > > > > > > at org.elasticsearch.marvel.agent.AgentService$  
> > > > > > > > ExportingWorker.run(AgentService.java:240)  
> > > > > > > > at java.lang.Thread.run(Thread.java:745)  
> > > > > > > > [2014-06-05 10:49:59,090][ERROR][marvel.agent]  
> > > > > > > > [es-m-3] exporter [es\_exporter] has thrown an exception:  
> > > > > > > > java.lang.IllegalStateException: array not available  
> > > > > > > > at org.elasticsearch.common.bytes.PagedBytesReference.  
> > > > > > > > array(PagedBytesReference.java:289)  
> > > > > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.  
> > > > > > > > addXContentRendererToConnection(ESExporter.java:209)  
> > > > > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.  
> > > > > > > > exportXContent(ESExporter.java:252)  
> > > > > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.  
> > > > > > > > exportEvents(ESExporter.java:161)  
> > > > > > > > at org.elasticsearch.marvel.agent.AgentService$  
> > > > > > > > ExportingWorker.exportEvents(AgentService.java:305)  
> > > > > > > > at org.elasticsearch.marvel.agent.AgentService$  
> > > > > > > > ExportingWorker.run(AgentService.java:240)  
> > > > > > > > at java.lang.Thread.run(Thread.java:745)  
> > > > > > > > [2014-06-05 10:50:09,267][ERROR][marvel.agent]  
> > > > > > > > [es-m-3] exporter [es\_exporter] has thrown an exception:  
> > > > > > > > java.lang.IllegalStateException: array not available  
> > > > > > > > at org.elasticsearch.common.bytes.PagedBytesReference.  
> > > > > > > > array(PagedBytesReference.java:289)  
> > > > > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.  
> > > > > > > > addXContentRendererToConnection(ESExporter.java:209)  
> > > > > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.  
> > > > > > > > exportXContent(ESExporter.java:252)  
> > > > > > > > at org.elasticsearch.marvel.agent.exporter.ESExporter.  
> > > > > > > > exportEvents(ESExporter.java:161)  
> > > > > > > > at org.elasticsearch.marvel.agent.AgentService$  
> > > > > > > > ExportingWorker.exportEvents(AgentService.java:305)  
> > > > > > > > at org.elasticsearch.marvel.agent.AgentService$  
> > > > > > > > ExportingWorker.run(AgentService.java:240)  
> > > > > > > > at java.lang.Thread.run(Thread.java:745)  
> > > > > > > > [root@es-m-3 ~]#
> > > > > > > > 
> > > > > > > > Marvel is running on a separate cluster.  
> > > > > > > > Cluster state is not being transmitted to marvel. Error occurs  
> > > > > > > > every time cluster state changes (node restart, shard allocation, etc.)
> > > > > > > > 
> > > > > > > > ENV on master node  
> > > > > > > > [root@es-m-3 ~]# env  
> > > > > > > > MANPATH=/opt/local/man:/usr/share/man:/opt/local/gcc47/man:/  
> > > > > > > > opt/local/java/sun6/man:/opt/local/lib/perl5/man:/opt/local  
> > > > > > > > /lib/perl5/vendor\_perl/man  
> > > > > > > > HZ=100  
> > > > > > > > SHELL=/usr/bin/bash  
> > > > > > > > TERM=xterm  
> > > > > > > > ES\_HEAP\_SIZE=512M  
> > > > > > > > ES\_JAVA\_OPTS=-d64 -server -Des.processors=1 -Des.node.name=es-m-3  
> > > > > > > > -Des.node.machine=44454c4c-5200-1038-8030-c2c04f365931  
> > > > > > > > COLUMNS=238  
> > > > > > > > PAGER=less  
> > > > > > > > MAIL=/var/mail/root  
> > > > > > > > PATH=/usr/local/sbin:/usr/local/bin:/opt/local/sbin:/opt/  
> > > > > > > > local/bin:/usr/sbin:/usr/bin:/sbin  
> > > > > > > > PWD=/root  
> > > > > > > > JAVA\_HOME=/opt/jdk1.7.0\_55/  
> > > > > > > > LINES=74  
> > > > > > > > SHLVL=1  
> > > > > > > > HOME=/root  
> > > > > > > > TERMINFO=/opt/local/share/lib/terminfo  
> > > > > > > > LOGNAME=root  
> > > > > > > > FTPMODE=auto  
> > > > > > > > \_=/opt/local/bin/env
> > > > > > > > 
> > > > > > > > [root@es-m-3 ~]# /opt/jdk1.7.0\_55/bin/java -d64 -version  
> > > > > > > > java version "1.7.0\_55"  
> > > > > > > > Java(TM) SE Runtime Environment (build 1.7.0\_55-b13)  
> > > > > > > > Java HotSpot(TM) 64-Bit Server VM (build 24.55-b03, mixed mode)
> > > > > > > > 
> > > > > > > > Marvel 1.1.1 worked without any problems.
> > > > > > > > 
> > > > > > > > Pawel
> > > > > > > > 
> > > > > > > > --  
> > > > > > > > You received this message because you are subscribed to a topic in the  
> > > > > > > > Google Groups "elasticsearch" group.  
> > > > > > > > To unsubscribe from this topic, visit [https://groups.google.com/d/](https://groups.google.com/d/)  
> > > > > > > > topic/elasticsearch/WQL0viovt4Y/unsubscribe.  
> > > > > > > > To unsubscribe from this group and all its topics, send an email to  
> > > > > > > > [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).
> > > > 
> > > > To view this discussion on the web visit [https://groups.google.com/d/](https://groups.google.com/d/)  
> > > > msgid/elasticsearch/1679343b-80e9-4124-a60c-1de35ae1066d%  
> > > > [40googlegroups.com](http://40googlegroups.com)  
> > > > [https://groups.google.com/d/msgid/elasticsearch/1679343b-80e9-4124-a60c-1de35ae1066d%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/1679343b-80e9-4124-a60c-1de35ae1066d%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > > > .  
> > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > 
> > > --
> > > 
> > > P.
> > 
> > --  
> > You received this message because you are subscribed to a topic in the  
> > Google Groups "elasticsearch" group.  
> > To unsubscribe from this topic, visit  
> > [https://groups.google.com/d/topic/elasticsearch/WQL0viovt4Y/unsubscribe](https://groups.google.com/d/topic/elasticsearch/WQL0viovt4Y/unsubscribe).  
> > To unsubscribe from this group and all its topics, send an email to  
> > [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/msgid/elasticsearch/e57a7d9b-fdea-4bb4-ba84-76f42e987e31%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/e57a7d9b-fdea-4bb4-ba84-76f42e987e31%40googlegroups.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/e57a7d9b-fdea-4bb4-ba84-76f42e987e31%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/e57a7d9b-fdea-4bb4-ba84-76f42e987e31%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > .
> > 
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> 
> --
> 
> P.

--  
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 [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/09193298-baa0-441c-a222-eed3fc1ae819%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/09193298-baa0-441c-a222-eed3fc1ae819%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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 6, 2017, 1:22am UTC](https://discuss.elastic.co/t/marvel-1-2-0-java-lang-illegalstateexception/17921/12 "2017-07-06T01:22:41Z")

</div>


