Jump to content

Issue displaying Node Servers in UD Mobile (Node Status Relation Cursor is empty)


msoileau

Recommended Posts

While working on a custom node server, I noticed that I was unable to use my node server in UD Mobile (Android) even though everything looked OK on the admin console. I then tried to bring up another node server and received a similar error. I've tried rebooting the ISY and then performing a sync on UD Mobile. I cleared all data on the app, rebooted ISY, and did a discover. Same error. 

java.lang.Error: Node Status Relation Cursor is empty. NodeId: 824. Control:30. 500

On my custom node server, I see similar, just different nodeid and control

I guess it's possible that both me and the other developer are making the same mistake?

image.png

Link to comment

Hi @msoileau,

This is due to a new node server profile check performed in app.  There are various Node Servers with the issue, check the GitHub repo an I may have already submitted a pull request to the Node Servers author.  I think a few of @bpwwer 's V2 node servers have this issue, including weather node servers. This is usually related to a NodeDef Accepts Param init value set to a Status value that does not exist. 

Can you post or link to your NodeDef? Also specify the nodeDefId for this node and it should be easy to spot.  It would be the string from the Control in the screenshot.

Example: init="GVP". GVP is not a defined Status ID.

<nodeDefs>
  <nodeDef id="controller" nodeType="139" nls="ctl">
    <editors />
    <sts>
      <st id="ST" editor="bool" />
    </sts>
    <cmds>
      <sends />
      <accepts>
        <cmd id="DISCOVER" />
        <cmd id="REMOVE_NOTICES_ALL" />
        <cmd id="UPDATE_PROFILE" />
		<cmd id="DEBUG">
			<p id="" editor="DEBUG" init="GVP"/>
		</cmd>
      </accepts>
    </cmds>
  </nodeDef>

 

  • Like 1
Link to comment

I'm not following. Originally I had the init set to "0" but I've changed it to one of the status values and I still have the issue. Here is my nodedef:

<nodeDefs>
    <nodeDef id="controller" nls="ctl">
        <editors />
        <sts>
            <st id="ST" editor="bool" />
            <st id="GV1" editor="I_DEBUG" />
            <st id="GV3" editor="EN_ST" />
            <st id="GV2" editor="ZONE_STATUS" />
        </sts>
        <cmds>
            <sends>
                <!-- These are for our heartbeat -->
                <cmd id="DON" />
                <cmd id="DOF" />
            </sends>
            <accepts>
                <cmd id="SET_DM">
                    <p id="" editor="I_DEBUG" init="GV1" />
                </cmd>
                <cmd id="SET_ZONE">
                    <p id="" editor="ZONE_STATUS" init="GV2"/>
                </cmd>
                <cmd id="QUERY" />
                <cmd id="ENABLE" />
                <cmd id="DISABLE" />
                <cmd id="STOP_ALL" />
            </accepts>
        </cmds>

    </nodeDef>

</nodeDefs>

 

Link to comment
Guest
This topic is now closed to further replies.

×
×
  • Create New...