# Unable to open windows java.io.EOFException

**URL:** <https://forum.inductiveautomation.com/t/unable-to-open-windows-java-io-eofexception/43309>\
**Category:** Ignition\
**Created:** [February 11, 2021, 3:46pm UTC](https://forum.inductiveautomation.com/t/unable-to-open-windows-java-io-eofexception/43309 "2021-02-11T15:46:54Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![daniele1](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/daniele1/32/31531_2.png) [@daniele1](https://forum.inductiveautomation.com/u/daniele1)\
**Post date:** [February 11, 2021, 3:46pm UTC](https://forum.inductiveautomation.com/t/unable-to-open-windows-java-io-eofexception/43309/1 "2021-02-11T15:46:54Z")

</div>

Hi,  
I’m working on a project, I noticed that the image in the foreground of the page I was modyfing disappeared so I closed the designer hopying it would fix itself, but it got worse. I reopened the project and now I can’t open the main window, the error is:

```auto
java.io.EOFException
	at java.base/java.util.zip.GZIPInputStream.readUByte(Unknown Source)
	at java.base/java.util.zip.GZIPInputStream.readUShort(Unknown Source)
	at java.base/java.util.zip.GZIPInputStream.readHeader(Unknown Source)
	at java.base/java.util.zip.GZIPInputStream.<init>(Unknown Source)
	at com.inductiveautomation.factorypmi.application.model.WindowInfo.getInputStream(WindowInfo.java:145)
	at com.inductiveautomation.factorypmi.application.model.WindowCache._loadWindow(WindowCache.java:310)
	at com.inductiveautomation.factorypmi.application.model.WindowCache.openWindow(WindowCache.java:289)
	at com.inductiveautomation.factorypmi.designer.workspace.WindowWorkspace$DesigntimeWindowOpener.openWindow(WindowWorkspace.java:3500)
	at com.inductiveautomation.factorypmi.designer.workspace.WindowWorkspace.openWindow(WindowWorkspace.java:1294)
	at com.inductiveautomation.factorypmi.designer.model.navtree.WindowNode.open(WindowNode.java:268)
	at com.inductiveautomation.ignition.designer.navtree.model.AbstractResourceNavTreeNode.onDoubleClick(AbstractResourceNavTreeNode.java:257)
	at com.inductiveautomation.ignition.designer.navtree.NavTreePanel$MouseListener.lambda$mousePressed$0(NavTreePanel.java:655)
	at java.desktop/java.awt.event.InvocationEvent.dispatch(Unknown Source)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
	at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)

Ignition v8.0.2 (b2019060511)
Java: Azul Systems, Inc. 11.0.3

```

I exported the window but the bin file is empty.  
I hope you can help me.

Daniele

---

<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:** [February 11, 2021, 3:55pm UTC](https://forum.inductiveautomation.com/t/unable-to-open-windows-java-io-eofexception/43309/2 "2021-02-11T15:55:00Z")

</div>

> [@daniele1](#):
>
> I exported the window but the bin file is empty.

That's probably not good. Do you have a recent backup you can restore this window from? Support may be able to help you figure that out and restore only the window rather than everything else.

You should definitely upgrade to the latest 8.0 or 8.1 release if possible. The earlier 8.0.x releases had a variety of issues that sound similar to this.

---

<div class="post-metadata">

**Author:** ![daniele1](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/daniele1/32/31531_2.png) [@daniele1](https://forum.inductiveautomation.com/u/daniele1)\
**Post date:** [February 11, 2021, 4:05pm UTC](https://forum.inductiveautomation.com/t/unable-to-open-windows-java-io-eofexception/43309/3 "2021-02-11T16:05:49Z")

</div>

I have an old backup, I guess I will learn from this mistake to make them more frequently.  
The gateway I’m working has 8.0.2 istalled, I will upgrade it.  
How can I just import the window? I have second gateway where I can restore the last backup and then export the window, then I just need to delete the window on the primary gateway and import it right?

---

<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:** [February 11, 2021, 4:15pm UTC](https://forum.inductiveautomation.com/t/unable-to-open-windows-java-io-eofexception/43309/4 "2021-02-11T16:15:01Z")

</div>

> [@daniele1](#):
>
> I have second gateway where I can restore the last backup and then export the window, then I just need to delete the window on the primary gateway and import it right?

That should work as long as the backup has a still valid copy of the window, though if you have trouble deleting it from the Designer for some reason you might need to drop to the filesystem to do it instead.

---

<div class="post-metadata">

**Author:** ![nbautomation](https://avatars.discourse-cdn.com/v4/letter/n/3be4f8/32.png) [@nbautomation](https://forum.inductiveautomation.com/u/nbautomation)\
**Post date:** [July 9, 2024, 12:57pm UTC](https://forum.inductiveautomation.com/t/unable-to-open-windows-java-io-eofexception/43309/5 "2024-07-09T12:57:41Z")

</div>

Hi, I have the same problem right now, yesterday I made modifications over the windows and now when I try to open the window, it shows me the same problem. I'm using Ignition 8.1.4. The message showed me was:

> "Unable to Open "NameWindow" "

" \> EOFException

> Ignition v8.1.41 (b2024052809)  
> Java: Azul Systems, Inc. 17.0.10 "

Is there a reason?
