getappmap/appmap-agent-js

AppMap agent causes failures in scanner

Opened this issue · 0 comments

The JS agent causes this error in @appland/scanner and the CLI:

➤ YN0000: [@appland/scanner]: [appmap@13.9.0] Detected an unknown error. If this error disapear when not recording your application, it is probably an issue within the appmap framework. If this is the case, please consider submitting a bug report at:
➤ YN0000: [@appland/scanner]:   https://github.com/getappmap/appmap-agent-js/issues
➤ YN0000: [@appland/scanner]: 
➤ YN0000: [@appland/scanner]: file:///home/travis/build/getappmap/appmap-js/node_modules/@appland/appmap-agent-js/dist/bundles/server.mjs:4078
➤ YN0000: [@appland/scanner]:     url[0] === "/"
➤ YN0000: [@appland/scanner]:        ^
➤ YN0000: [@appland/scanner]: 
➤ YN0000: [@appland/scanner]: TypeError: Cannot read properties of undefined (reading '0')
➤ YN0000: [@appland/scanner]:     at parseURL (file:///home/travis/build/getappmap/appmap-js/node_modules/@appland/appmap-agent-js/dist/bundles/server.mjs:4078:8)
➤ YN0000: [@appland/scanner]:     at Object.request (file:///home/travis/build/getappmap/appmap-js/node_modules/@appland/appmap-agent-js/dist/bundles/server.mjs:4207:42)
➤ YN0000: [@appland/scanner]:     at digestPayload (file:///home/travis/build/getappmap/appmap-js/node_modules/@appland/appmap-agent-js/dist/bundles/server.mjs:4264:25)
➤ YN0000: [@appland/scanner]:     at digestEventPair (file:///home/travis/build/getappmap/appmap-js/node_modules/@appland/appmap-agent-js/dist/bundles/server.mjs:4274:8)
➤ YN0000: [@appland/scanner]:     at loop (file:///home/travis/build/getappmap/appmap-js/node_modules/@appland/appmap-agent-js/dist/bundles/server.mjs:4375:16)
➤ YN0000: [@appland/scanner]:     at Array.flatMap (<anonymous>)
➤ YN0000: [@appland/scanner]:     at digestTransparentBundle (file:///home/travis/build/getappmap/appmap-js/node_modules/@appland/appmap-agent-js/dist/bundles/server.mjs:4325:14)
➤ YN0000: [@appland/scanner]:     at loop (file:///home/travis/build/getappmap/appmap-js/node_modules/@appland/appmap-agent-js/dist/bundles/server.mjs:4354:16)
➤ YN0000: [@appland/scanner]:     at Array.flatMap (<anonymous>)
➤ YN0000: [@appland/scanner]:     at digestEventTrace (file:///home/travis/build/getappmap/appmap-js/node_modules/@appland/appmap-agent-js/dist/bundles/server.mjs:4387:15)-