I have a popup window that is throwing errors when it is opened. motorNumber is a custom property that is defined in the custom properties for the window. Does anybody know what would cause this?
Below is a full stack trace.
CD-Key
n/a
User
User Name
user.name@foo.com
User Message
This error occurs when the script event for the spinner is activated. There is a custom property that is not being passed properly.
Error Message
Error executing script for event: mouseClicked
on component: Root Container.
Error Details
Traceback (most recent call last):
File "", line 6, in
AttributeError: 'NoneType' object has no attribute 'motorNumber'
at org.python.core.Py.AttributeError(Py.java:207)
at org.python.core.PyObject.noAttributeError(PyObject.java:1032)
at org.python.core.PyObject.__getattr__(PyObject.java:1027)
at org.python.pycode._pyx3.f$0(:10)
at org.python.pycode._pyx3.call_function()
at org.python.core.PyTableCode.call(PyTableCode.java:171)
at org.python.core.PyCode.call(PyCode.java:18)
at org.python.core.Py.runCode(Py.java:1614)
at com.inductiveautomation.ignition.common.script.ScriptManager.runCode(ScriptManager.java:761)
at com.inductiveautomation.factorypmi.application.binding.action.ActionAdapter.runActions(ActionAdapter.java:187)
at com.inductiveautomation.factorypmi.application.binding.action.ActionAdapter.invoke(ActionAdapter.java:278)
at com.inductiveautomation.factorypmi.application.binding.action.RelayInvocationHandler.invoke(RelayInvocationHandler.java:57)
at com.sun.proxy.$Proxy47.mouseClicked(Unknown Source)
at java.desktop/java.awt.Component.processMouseEvent(Unknown Source)
at java.desktop/javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.desktop/java.awt.Component.processEvent(Unknown Source)
at java.desktop/java.awt.Container.processEvent(Unknown Source)
at java.desktop/java.awt.Component.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.Window.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.Component.dispatchEvent(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.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
at java.desktop/java.awt.EventQueue$5.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)
System Details
fpmi.client.memory.used=93.00
fpmi.client.memory.max=1024.00
fpmi.client.type=null
fpmi.client.version=null
java.vm.version=11.0.4+11-LTS
java.vm.vendor=Azul Systems, Inc.
java.vm.name=OpenJDK 64-Bit Server VM
user.country=US
os.name=Linux
os.arch=amd64
sun.os.patch.level=unknown
os.version=3.10.0-1062.9.1.el7.x86_64
java.specification.version=11
user.language=en
ignition.gateway.version=8.0.5 (b2019101516)
ignition.gateway.memory.used=1024.00
ignition.gateway.memory.max=2048.00
ignition.gateway.uptime=50 days, 7 hours, 6 minutes, 30 seconds
ignition.module.com.inductiveautomation.alarm-notification=5.0.5 (b2019101516) - RUNNING
ignition.module.com.inductiveautomation.opcua.drivers.ablegacy=5.0.5 (b2019101516) - RUNNING
ignition.module.com.inductiveautomation.opcua.drivers.dnp3=3.0.5 (b2019101516) - RUNNING
ignition.module.com.inductiveautomation.eam=3.0.5 (b2019101516) - RUNNING
ignition.module.com.inductiveautomation.opcua.drivers.logix=4.0.5 (b2019101516) - RUNNING
ignition.module.com.inductiveautomation.opcua.drivers.modbus=6.0.5 (b2019101516) - RUNNING
ignition.module.com.inductiveautomation.opcua.drivers.omron=3.0.5 (b2019101516) - RUNNING
ignition.module.com.inductiveautomation.opcua=8.0.5 (b2019101517) - RUNNING
ignition.module.com.inductiveautomation.perspective=1.0.5 (b2019101517) - RUNNING
ignition.module.com.inductiveautomation.reporting=5.0.5 (b2019101516) - RUNNING
ignition.module.com.inductiveautomation.sfc=4.0.5 (b2019101516) - RUNNING
ignition.module.com.inductiveautomation.opcua.drivers.siemens=5.0.5 (b2019101516) - RUNNING
ignition.module.com.inductiveautomation.sms-notification=5.0.5 (b2019101516) - RUNNING
ignition.module.com.inductiveautomation.sqlbridge=9.0.5 (b2019101516) - RUNNING
ignition.module.com.inductiveautomation.symbol-factory=6.0.5 (b2019101516) - LOADED
ignition.module.com.inductiveautomation.taghistorian=3.0.5 (b2019101516) - RUNNING
ignition.module.com.inductiveautomation.opcua.drivers.tcpudp=5.0.5 (b2019101516) - RUNNING
ignition.module.com.inductiveautomation.vision=10.0.5 (b2019101517) - RUNNING
fpmi.client.memory.used=93.00
fpmi.client.memory.max=1024.00
fpmi.client.type=null
fpmi.client.version=null
java.vm.version=11.0.4+11-LTS
java.vm.vendor=Azul Systems, Inc.
java.vm.name=OpenJDK 64-Bit Server VM
user.country=US
os.name=Linux
os.arch=amd64
sun.os.patch.level=unknown
os.version=3.10.0-1062.9.1.el7.x86_64
java.specification.version=11
user.language=en