When i´m trying to use the embedded “refresh” provision i´m getting the following error in genieacs-cwmp.log:
[ERROR] Uncaught exception; pid=12334 exceptionName="TypeError" exceptionMessage="Cannot read property 'length' of undefined" exceptionStack="TypeError: Cannot read property 'length' of undefined\n at Function.parsePath (/opt/genieacs/bin/genieacs-cwmp:2:38190)\n at Function.parse (/opt/genieacs/bin/genieacs-cwmp:2:38947)\n at Object.refresh$1 [as refresh] (/opt/genieacs/bin/genieacs-cwmp:2:74484)\n at Promise.all.t.map (/opt/genieacs/bin/genieacs-cwmp:2:87765)\n at Array.map (<anonymous>)\n at runProvisions (/opt/genieacs/bin/genieacs-cwmp:2:87632)\n at rpcRequest (/opt/genieacs/bin/genieacs-cwmp:2:92525)\n at applyPresets (/opt/genieacs/bin/genieacs-cwmp:2:120551)\n at process._tickCallback (internal/process/next_tick.js:68:7)"
This comment is for anyone who may come here like myself.
This issue may arise in Genieacs v1.2.9 too (while summoning the client device from UI) if the “InternetGatewayDevice.ManagementServer.ConnectionRequestURL” is not being reported/sent from the router/simulator.
Please verify if it has a valid value before trying again.
Hope it helps.