# Failed rectangles

**URL:** <https://forum.inductiveautomation.com/t/failed-rectangles/5419>\
**Category:** Ignition\
**Created:** [November 13, 2012, 11:13pm UTC](https://forum.inductiveautomation.com/t/failed-rectangles/5419 "2012-11-13T23:13:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Robert](https://avatars.discourse-cdn.com/v4/letter/r/e95f7d/32.png) [@Robert](https://forum.inductiveautomation.com/u/Robert)\
**Post date:** [November 13, 2012, 11:13pm UTC](https://forum.inductiveautomation.com/t/failed-rectangles/5419/1 "2012-11-13T23:13:16Z")

</div>

I get the error below when I try to launch a mobile project. The project works if I launch it as a regular project.

Ignition 7.5.3  
Java 1.7.0\_09

`INFO | jvm 3 | 2012/11/13 15:58:57 | INFO [ClientVM] [15:58:57,922]: Client vm 3f3e14ee-1452-e646-87c4-da5f2b8078df closed: IOException during rectangle message: java.io.EOFException
INFO | jvm 3 | 2012/11/13 15:58:57 | WARN [RectsB64] [15:58:57,922]: Failure in mobiledata/rects
INFO | jvm 3 | 2012/11/13 15:58:57 | java.io.EOFException
INFO | jvm 3 | 2012/11/13 15:58:57 | at java.io.DataInputStream.readShort(Unknown Source)
INFO | jvm 3 | 2012/11/13 15:58:57 | at com.inductiveautomation.mobile.gateway.MobileVMManager$ClientVMImpl.getDirtyRectangles(MobileVMManager.java:447)
INFO | jvm 3 | 2012/11/13 15:58:57 | at com.inductiveautomation.mobile.gateway.servlets.MobileSession.getDirtyRectangles(MobileSession.java:224)
INFO | jvm 3 | 2012/11/13 15:58:57 | at com.inductiveautomation.mobile.gateway.servlets.MobileDataServlet$RectsBase64.handle(MobileDataServlet.java:253)
INFO | jvm 3 | 2012/11/13 15:58:57 | at com.inductiveautomation.mobile.gateway.servlets.MobileDataServlet.doRequest(MobileDataServlet.java:144)
INFO | jvm 3 | 2012/11/13 15:58:57 | at com.inductiveautomation.mobile.gateway.servlets.MobileDataServlet.doGet(MobileDataServlet.java:94)
INFO | jvm 3 | 2012/11/13 15:58:57 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
INFO | jvm 3 | 2012/11/13 15:58:57 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
INFO | jvm 3 | 2012/11/13 15:58:57 | at com.inductiveautomation.ignition.gateway.bootstrap.MapServlet.service(MapServlet.java:85)
INFO | jvm 3 | 2012/11/13 15:58:57 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
INFO | jvm 3 | 2012/11/13 15:58:57 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
INFO | jvm 3 | 2012/11/13 15:58:57 | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
INFO | jvm 3 | 2012/11/13 15:58:57 | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
INFO | jvm 3 | 2012/11/13 15:58:57 | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
INFO | jvm 3 | 2012/11/13 15:58:57 | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
INFO | jvm 3 | 2012/11/13 15:58:57 | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
INFO | jvm 3 | 2012/11/13 15:58:57 | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
INFO | jvm 3 | 2012/11/13 15:58:57 | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
INFO | jvm 3 | 2012/11/13 15:58:57 | at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
INFO | jvm 3 | 2012/11/13 15:58:57 | at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
INFO | jvm 3 | 2012/11/13 15:58:57 | at java.lang.Thread.run(Unknown Source)
`

---

<div class="post-metadata">

**Author:** ![Travis.Cox](https://avatars.discourse-cdn.com/v4/letter/t/b9bd4f/32.png) [@Travis.Cox](https://forum.inductiveautomation.com/u/Travis.Cox)\
**Post date:** [November 13, 2012, 11:15pm UTC](https://forum.inductiveautomation.com/t/failed-rectangles/5419/2 "2012-11-13T23:15:09Z")

</div>

Do you have Java 7? Our mobile module is only compatible with Java 6. Furthermore, you have to specify the right path to Java 6 in the mobile settings in the gateway configuration page. Make sure that your path is correct.

---

<div class="post-metadata">

**Author:** ![Robert](https://avatars.discourse-cdn.com/v4/letter/r/e95f7d/32.png) [@Robert](https://forum.inductiveautomation.com/u/Robert)\
**Post date:** [November 14, 2012, 6:18pm UTC](https://forum.inductiveautomation.com/t/failed-rectangles/5419/3 "2012-11-14T18:18:59Z")

</div>

Java 7 would be the problem.

Given that you can specify the path, can the gateway run on 7 with the mobile module running on 6?

When will it support 7?

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [November 14, 2012, 6:24pm UTC](https://forum.inductiveautomation.com/t/failed-rectangles/5419/4 "2012-11-14T18:24:17Z")

</div>

> [@Robert](#):
>
> Given that you can specify the path, can the gateway run on 7 with the mobile module running on 6?

That's worth a shot...

> [@Robert](#):
>
> When will it support 7?

Never ☹

Whatever Mobile.Next is will run on Java 7, but the current incarnation won't ever be compatible.

---

<div class="post-metadata">

**Author:** ![Robert](https://avatars.discourse-cdn.com/v4/letter/r/e95f7d/32.png) [@Robert](https://forum.inductiveautomation.com/u/Robert)\
**Post date:** [November 14, 2012, 6:37pm UTC](https://forum.inductiveautomation.com/t/failed-rectangles/5419/5 "2012-11-14T18:37:54Z")

</div>

> [@Robert](#):
>
> Given that you can specify the path, can the gateway run on 7 with the mobile module running on 6?

Yes it can! 😃
