Skip to content
This repository has been archived by the owner on Mar 15, 2024. It is now read-only.

AppMap agent causes failures in scanner #242

Open
brikelly opened this issue Aug 15, 2023 · 0 comments
Open

AppMap agent causes failures in scanner #242

brikelly opened this issue Aug 15, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@brikelly
Copy link
Contributor

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

➤ YN0000: [@appland/scanner]: [[email protected]] 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)-
@brikelly brikelly added the bug Something isn't working label Aug 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants