# Can't save project

**URL:** <https://forum.inductiveautomation.com/t/cant-save-project/3082>\
**Category:** Ignition\
**Created:** [July 11, 2011, 6:45pm UTC](https://forum.inductiveautomation.com/t/cant-save-project/3082 "2011-07-11T18:45:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Step7](https://avatars.discourse-cdn.com/v4/letter/s/45deac/32.png) [@Step7](https://forum.inductiveautomation.com/u/Step7)\
**Post date:** [July 11, 2011, 6:45pm UTC](https://forum.inductiveautomation.com/t/cant-save-project/3082/1 "2011-07-11T18:45:12Z")

</div>

I just made a bunch of changes to my project, and it will not save (I have been able to save earlier in the day). I get the "Uploading to gateway" progress bar, but it eventually times out with the error below. The clients that are running are working fine. What is going on?

> [@](#):
>
> java.lang.NullPointerException  
> at com.inductiveautomation.factorypmi.designer.model.navtree.WindowNode.projectUpdated(WindowNode.java:285)  
> at com.inductiveautomation.ignition.client.model.AbstractClientContext.fireProjectChanged(AbstractClientContext.java:124)  
> at com.inductiveautomation.ignition.designer.DesignerContextImpl.saveFinished(DesignerContextImpl.java:267)  
> at com.inductiveautomation.ignition.designer.IgnitionDesigner.handleSave(IgnitionDesigner.java:1199)  
> at com.inductiveautomation.ignition.designer.IgnitionDesigner.access$2700(IgnitionDesigner.java:188)  
> at com.inductiveautomation.ignition.designer.IgnitionDesigner$Handler.handleSaveAction(IgnitionDesigner.java:1727)  
> at com.inductiveautomation.ignition.designer.IgnitionDesigner$Handler.access$1200(IgnitionDesigner.java:1295)  
> at com.inductiveautomation.ignition.designer.IgnitionDesigner$Handler$6.actionPerformed(IgnitionDesigner.java:1412)  
> at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)  
> at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)  
> at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)  
> at javax.swing.DefaultButtonModel.setPressed(Unknown Source)  
> at javax.swing.AbstractButton.doClick(Unknown Source)  
> at javax.swing.AbstractButton.doClick(Unknown Source)  
> at javax.swing.plaf.basic.BasicMenuItemUI$Actions.actionPerformed(Unknown Source)  
> at javax.swing.SwingUtilities.notifyAction(Unknown Source)  
> at javax.swing.JComponent.processKeyBinding(Unknown Source)  
> at javax.swing.JMenuBar.processBindingForKeyStrokeRecursive(Unknown Source)  
> at javax.swing.JMenuBar.processBindingForKeyStrokeRecursive(Unknown Source)  
> at javax.swing.JMenuBar.processBindingForKeyStrokeRecursive(Unknown Source)  
> at javax.swing.JMenuBar.processKeyBinding(Unknown Source)  
> at javax.swing.KeyboardManager.fireBinding(Unknown Source)  
> at javax.swing.KeyboardManager.fireKeyboardAction(Unknown Source)  
> at javax.swing.JComponent.processKeyBindingsForAllComponents(Unknown Source)  
> at javax.swing.JComponent.processKeyBindings(Unknown Source)  
> at javax.swing.JComponent.processKeyEvent(Unknown Source)  
> at java.awt.Component.processEvent(Unknown Source)  
> at java.awt.Container.processEvent(Unknown Source)  
> at java.awt.Component.dispatchEventImpl(Unknown Source)  
> at java.awt.Container.dispatchEventImpl(Unknown Source)  
> at java.awt.Component.dispatchEvent(Unknown Source)  
> at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)  
> at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)  
> at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)  
> at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)  
> at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)  
> at java.awt.Component.dispatchEventImpl(Unknown Source)  
> at java.awt.Container.dispatchEventImpl(Unknown Source)  
> at java.awt.Window.dispatchEventImpl(Unknown Source)  
> at java.awt.Component.dispatchEvent(Unknown Source)  
> at java.awt.EventQueue.dispatchEvent(Unknown Source)  
> at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)  
> at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)  
> at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)  
> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)  
> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)  
> at java.awt.EventDispatchThread.run(Unknown Source)
> 
> Ignition v7.2.5 (b76)  
> Java: Sun Microsystems Inc. 1.6.0\_20

---

<div class="post-metadata">

**Author:** ![Carl.Gould](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/carl.gould/32/7262_2.png) [@Carl.Gould](https://forum.inductiveautomation.com/u/Carl.Gould)\
**Post date:** [July 11, 2011, 8:10pm UTC](https://forum.inductiveautomation.com/t/cant-save-project/3082/2 "2011-07-11T20:10:05Z")

</div>

Well, that error is a symptom of the timeout while saving, not a cause. Something is causing the save operation to timeout, possibly on the Gateway. Check the Threads section of the Console area of the Gateway config section, perhaps there is a deadlock?

---

<div class="post-metadata">

**Author:** ![Step7](https://avatars.discourse-cdn.com/v4/letter/s/45deac/32.png) [@Step7](https://forum.inductiveautomation.com/u/Step7)\
**Post date:** [July 11, 2011, 8:47pm UTC](https://forum.inductiveautomation.com/t/cant-save-project/3082/3 "2011-07-11T20:47:22Z")

</div>

I restarted the gateway and it snapped out of it for now.

Looking back at my notes, it acted very similarly to another problem I had on Apr 29th, so it must have been another deadlock. I couldn’t start the gateway home page, so I couldn’t do a thread dump this time. I had previously updated to 7.2.5 after the Apr 29 event, but your notes say that 7.2.6 should resolve this problem, so I’ll have to schedule that update after I test it on another machine first.

---

<div class="post-metadata">

**Author:** ![Carl.Gould](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/carl.gould/32/7262_2.png) [@Carl.Gould](https://forum.inductiveautomation.com/u/Carl.Gould)\
**Post date:** [July 12, 2011, 3:59am UTC](https://forum.inductiveautomation.com/t/cant-save-project/3082/4 "2011-07-12T03:59:07Z")

</div>

Yeah, a deadlock would be my first guess for that behavior.
