Jump to content

unhandled errors


Recommended Posts

Posted (edited)

I noticed some unhandled errors in log for this NS today. Note sure what's failing because I do see data in IoX. Question I have when I see these errors: is the data I'm seeing correct? 

I've turned log level to Debug so If more detail is needed, let me know.

Edit: running NS version 1.0.12 on PG3 ver. 3.1.21, and IoP 5.6.2

 

2023-07-26 15:22:45 warn: POLY: Received stop message
2023-07-26 15:32:03 info: NS: Starting Node Server
2023-07-26 15:32:03 info: POLY: Interface starting
2023-07-26 15:32:03 info: POLY: Getting config from environment
2023-07-26 15:32:04 info: POLY: MQTT client connected
2023-07-26 15:32:04 info: NS: MQTT Connection started
2023-07-26 15:32:05 error: POLY: Config has logLevel: WARNING
2023-07-26 15:32:05 warn: POLY: Loglevel: warn
2023-07-26 15:34:42 error: POLY: getInv() Error: http://192.168.100.249:8080/rest/programs?subfolders=true
2023-07-26 15:34:56 error: NS: Parsing Error: TypeError: Cannot read properties of undefined (reading 'toString')
    at exports.Parser.Parser.parseString (/var/polyglot/pg3/ns/<myISYMACaddr>_7/node_modules/xml2js/lib/parser.js:312:19)
    at Parser.parseString (/var/polyglot/pg3/ns/<myISYMACaddr>_7/node_modules/xml2js/lib/parser.js:5:59)
    at Controller.processPrograms (/var/polyglot/pg3/ns/<myISYMACaddr>_7/Nodes/ControllerNode.js:188:18)
    at Controller.onDiscover (/var/polyglot/pg3/ns/<myISYMACaddr>_7/Nodes/ControllerNode.js:82:12)
2023-07-26 15:34:58 error: NS: Parsing Error: TypeError: Cannot read properties of undefined (reading 'program')
    at /var/polyglot/pg3/ns/<myISYMACaddr>_7/Nodes/ControllerNode.js:192:35
    at Parser.<anonymous> (/var/polyglot/pg3/ns/<myISYMACaddr>_7/node_modules/xml2js/lib/parser.js:304:18)
    at Parser.emit (node:events:525:35)
    at SAXParser.onclosetag (/var/polyglot/pg3/ns/<myISYMACaddr>_7/node_modules/xml2js/lib/parser.js:262:26)
    at emit (/var/polyglot/pg3/ns/<myISYMACaddr>_7/node_modules/sax/lib/sax.js:624:35)
    at emitNode (/var/polyglot/pg3/ns/<myISYMACaddr>_7/node_modules/sax/lib/sax.js:629:5)
    at closeTag (/var/polyglot/pg3/ns/<myISYMACaddr>_7/node_modules/sax/lib/sax.js:889:7)
    at SAXParser.write (/var/polyglot/pg3/ns/<myISYMACaddr>_7/node_modules/sax/lib/sax.js:1436:13)
    at exports.Parser.Parser.parseString (/var/polyglot/pg3/ns/<myISYMACaddr>_7/node_modules/xml2js/lib/parser.js:323:31)
    at Parser.parseString (/var/polyglot/pg3/ns/<myISYMACaddr>_7/node_modules/xml2js/lib/parser.js:5:59)
2023-07-26 15:52:03 error: POLY: getInv() Error: http://192.168.100.249:8080/rest/programs?subfolders=true
2023-07-26 15:52:16 error: NS: Parsing Error: TypeError: Cannot read properties of undefined (reading 'toString')
    at exports.Parser.Parser.parseString (/var/polyglot/pg3/ns/<myISYMACaddr>_7/node_modules/xml2js/lib/parser.js:312:19)
    at Parser.parseString (/var/polyglot/pg3/ns/<myISYMACaddr>_7/node_modules/xml2js/lib/parser.js:5:59)
    at Controller.processPrograms (/var/polyglot/pg3/ns/<myISYMACaddr>_7/Nodes/ControllerNode.js:188:18)
    at Controller.onDiscover (/var/polyglot/pg3/ns/<myISYMACaddr>_7/Nodes/ControllerNode.js:82:12)
2023-07-26 15:52:18 error: NS: Parsing Error: TypeError: Cannot read properties of undefined (reading 'program')
    at /var/polyglot/pg3/ns/<myISYMACaddr>_7/Nodes/ControllerNode.js:192:35
    at Parser.<anonymous> (/var/polyglot/pg3/ns/<myISYMACaddr>_7/node_modules/xml2js/lib/parser.js:304:18)
    at Parser.emit (node:events:525:35)
    at SAXParser.onclosetag (/var/polyglot/pg3/ns/<myISYMACaddr>_7/node_modules/xml2js/lib/parser.js:262:26)
    at emit (/var/polyglot/pg3/ns/<myISYMACaddr>_7/node_modules/sax/lib/sax.js:624:35)
    at emitNode (/var/polyglot/pg3/ns/<myISYMACaddr>_7/node_modules/sax/lib/sax.js:629:5)
    at closeTag (/var/polyglot/pg3/ns/<myISYMACaddr>_7/node_modules/sax/lib/sax.js:889:7)
    at SAXParser.write (/var/polyglot/pg3/ns/<myISYMACaddr>_7/node_modules/sax/lib/sax.js:1436:13)
    at exports.Parser.Parser.parseString (/var/polyglot/pg3/ns/<myISYMACaddr>_7/node_modules/xml2js/lib/parser.js:323:31)
    at Parser.parseString (/var/polyglot/pg3/ns/<myISYMACaddr>_7/node_modules/xml2js/lib/parser.js:5:59)
2023-07-26 17:50:56 warn: POLY: Received stop message
2023-07-26 19:37:44 info: NS: Starting Node Server
2023-07-26 19:37:44 info: POLY: Interface starting
2023-07-26 19:37:44 info: POLY: Getting config from environment
2023-07-26 19:37:44 info: POLY: MQTT client connected
2023-07-26 19:37:44 info: NS: MQTT Connection started
2023-07-26 19:37:44 error: POLY: Config has logLevel: WARNING
2023-07-26 19:37:44 warn: POLY: Loglevel: warn
2023-07-26 21:01:29 info: POLY: Loglevel: info

 

 

Edited by johnnyt
Guest
This topic is now closed to further replies.

  • Recently Browsing

    • No registered users viewing this page.
  • Who's Online (See full list)

    • There are no registered users currently online
  • Forum Statistics

    • Total Topics
      37.2k
    • Total Posts
      372.4k
×
×
  • Create New...