Step7
July 11, 2011, 6:45pm
1
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
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?
Step7
July 11, 2011, 8:47pm
3
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.
Yeah, a deadlock would be my first guess for that behavior.