getappmap / appmap-agent-js

This project is deprecated. Please use https://github.com/getappmap/appmap-node/ to record Node.js applications.
Other
27 stars 8 forks source link

Internal error for typo in appmap.yml #215

Closed apotterri closed 1 year ago

apotterri commented 1 year ago

Writing qualified_name instead of qualified-name in an exclude list results in

[appmap@13.6.0] Detected an internal appmap error. This is probably an issue with how the AppMap agent is being used. Please consider submitting a bug report at:
  https://github.com/getappmap/appmap-agent-js/issues

file:///Users/ajp/src/applandinc/appmap-js/node_modules/@appland/appmap-agent-js/dist/bundles/server.mjs:3227
      throw new InternalAppmapError("invalid criterion name");
            ^

InternalAppmapError: invalid criterion name
    at compileCriterion (file:///Users/ajp/src/applandinc/appmap-js/node_modules/@appland/appmap-agent-js/dist/bundles/server.mjs:3227:13)
    at Array.map (<anonymous>)
    at compileCriteria (file:///Users/ajp/src/applandinc/appmap-js/node_modules/@appland/appmap-agent-js/dist/bundles/server.mjs:3235:44)
    at compileExclusion (file:///Users/ajp/src/applandinc/appmap-js/node_modules/@appland/appmap-agent-js/dist/bundles/server.mjs:3248:21)
    at Array.map (<anonymous>)
    at compileExclusionArray (file:///Users/ajp/src/applandinc/appmap-js/node_modules/@appland/appmap-agent-js/dist/bundles/server.mjs:3255:31)
    at createModule (file:///Users/ajp/src/applandinc/appmap-js/node_modules/@appland/appmap-agent-js/dist/bundles/server.mjs:3283:24)
    at addClassmapSource (file:///Users/ajp/src/applandinc/appmap-js/node_modules/@appland/appmap-agent-js/dist/bundles/server.mjs:3471:11)
    at compileTrace (file:///Users/ajp/src/applandinc/appmap-js/node_modules/@appland/appmap-agent-js/dist/bundles/server.mjs:4549:5)
    at compileTrack (file:///Users/ajp/src/applandinc/appmap-js/node_modules/@appland/appmap-agent-js/dist/bundles/server.mjs:4601:3)
Error: ERRNO 32: Broken pipe
    at write (/Users/ajp/src/applandinc/appmap-js/node_modules/posix-socket-messaging/lib/index.js:20:19)
    at Object.<anonymous>.exports.send (/Users/ajp/src/applandinc/appmap-js/node_modules/posix-socket-messaging/lib/index.js:38:3)
    at sendEmitter (/Users/ajp/src/applandinc/appmap-js/node_modules/@appland/appmap-agent-js/dist/bundles/recorder-cli.mjs:4235:5)
    at recordGroup (/Users/ajp/src/applandinc/appmap-js/node_modules/@appland/appmap-agent-js/dist/bundles/recorder-cli.mjs:4386:3)
    at AsyncHook.init (/Users/ajp/src/applandinc/appmap-js/node_modules/@appland/appmap-agent-js/dist/bundles/recorder-cli.mjs:4568:9)
    at emitInitNative (node:internal/async_hooks:202:43)
    at emitInitScript (node:internal/async_hooks:505:3)
    at promiseInitHook (node:internal/async_hooks:324:3)
    at Promise.then (<anonymous>)
    at callAsyncCircusFn (/Users/ajp/src/applandinc/appmap-js/node_modules/jest-circus/build/utils.js:423:6)
appland-release commented 1 year ago

:tada: This issue has been resolved in version 13.9.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: