getappmap / getappmap/appmap-java

Exceptions when executing IntelliJ with the AppMap agent attached

Open
#205 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
88
Forks
17
Avg merge
2d 2h
Merged PRs (30d)
1

Description

I attempted to launch IntelliJ with the agent attached to it.

Custom VM options (Help > Edit Custom VM Options):

-javaagent:/home/jansorg/.appmap/lib/java/appmap.jar
-Dappmap.config.file=/home/jansorg/self-employment/customers/AppLand/intellij-plugin/appmap.yml
-Dappmap.output.directory=/home/jansorg/self-employment/customers/AppLand/intellij-plugin/appmap-intellij/
-Dappmap.debug=false
-Dappmap.recording.auto=true

This prints a lot of debug info, errors and exceptions to STDOUT. Help > Show log in ... displays the log with STDOUT embedded.

Log:
appmap-agent.log.txt

IntelliJ info:

IntelliJ IDEA 2021.3.3 (Ultimate Edition)
Build #IU-213.7172.25, built on March 15, 2022
Runtime version: 11.0.14.1+1-b1751.46 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Linux 6.4.12-arch1-1
GC: G1 Young Generation, G1 Old Generation
Memory: 4096M
Cores: 32
Registry:
    ide.allow.merge.buttons=false
    ide.slow.operations.assertion=false
    ide.images.show.chessboard=true

Non-Bundled Plugins:
    org.jetbrains.kotlin (213-1.8.10-release-430-IJ6777.52)
    org.jetbrains.idea.grammar (2021.1.2)
    com.github.copilot (1.2.9.2684)
    YourKit Java Profiler 2021.3-b231 Integration (2021.3.231.0)
    com.intellij.spring.webflow (213.6461.21)
    pro.bashsupport (3.3.0.213)
    appland.appmap (0.45.5)
    io.karatelabs.intellij (1.7.7.361-211)

Kotlin: 213-1.8.10-release-430-IJ6777.52
Current Desktop: KDE

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the attached appmap-agent.log.txt and reproduce the launch using the listed IntelliJ custom VM options. Compare the resulting STDOUT and IntelliJ log with the reported exceptions; done means IntelliJ launches with the AppMap agent attached without the reported errors and exceptions.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.