IDE integration does not work for IDEA 2019.2.2

Questions about YourKit Java Profiler
Post Reply
derkork
Posts: 2
Joined: Thu Sep 05, 2019 7:36 am

IDE integration does not work for IDEA 2019.2.2

Post by derkork »

I tried to integrate the latest version of YourKit 2019.8 with IntelliJ IDEA 2019.2.2. I use the defaults of the wizard (e.g. select IntelliJ, select the "use default plugin directory") and the wizard completes with a success message. However when I start IntelliJ afterwards the plugin does not seem to be installed. It is not even listed as "deactivated" or incompatible.

This is my IDEA version:

IntelliJ IDEA 2019.2.2 Preview (Ultimate Edition)
Build #IU-192.6603.8, built on August 29, 2019


YourKit version is

YourKitJava Profiler 2019.8-b109

Built on: August 5, 2019

Is there a way I can manually install the plugin?
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: IDE integration does not work for IDEA 2019.2.2

Post by Anton Katilin »

Do you have a directory <user home>/.IntelliJIdea2019.2 or similarly named?

Please specify <user home>/<IDEA dir>/config/plugins as custom plugin directory in the wizard.
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: IDE integration does not work for IDEA 2019.2.2

Post by Anton Katilin »

Update:

We've checked that IDEA 2019.2.2 uses the same directory .IntelliJIdea2019.2 as 2019.2.

YourKit Java Profiler 2019.8 has integrated with it just fine for us.
derkork
Posts: 2
Joined: Thu Sep 05, 2019 7:36 am

Re: IDE integration does not work for IDEA 2019.2.2

Post by derkork »

Its sort of strange. I see the plugin jar in <Home>/Library/Application Support/IntelliJIdea2019.2 but it doesn't seem to get loaded as it doesn't even appear in the plugin list of IntelliJ. I was able to fix the problem by manually using IntelliJ's "Install Plugin from Disk" function. Now it gets loaded.
barser
Posts: 7
Joined: Thu Sep 19, 2019 4:39 pm

Re: IDE integration does not work for IDEA 2019.2.2

Post by barser »

I second this trouble. All symptoms are same...
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: IDE integration does not work for IDEA 2019.2.2

Post by Anton Katilin »

Hello,

Does the directory <Home>/Library/Caches/IntelliJIdea2019.2 exist?

As the result of applying "Install Plugin from Disk", has yourkit-for-idea.jar been copied anywhere else? Could you please try searching your home folder:

find ~ | grep yourkit-for-idea.jar

Best regards,
Anton
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: IDE integration does not work for IDEA 2019.2.2

Post by Anton Katilin »

Do you use JetBrains Toolbox?
Please see related post: viewtopic.php?f=3&t=40933
barser
Posts: 7
Joined: Thu Sep 19, 2019 4:39 pm

Re: IDE integration does not work for IDEA 2019.2.2

Post by barser »

Yes, I use Jetbrains Toolbox.
And tried solution from link you provided. No luck.
The jar file is copied in that directory, but it is not unpacked on Idea start. I tried to unpack it myself similar to other plugins' structure in that directory, but Idea stops starting at all.
Also I tried to install plugin by button "Install from disk" in Idea->Plugins interface. Still the same...

I'm using Windows 7 SP + latest Idea (updated by ToolBox). And I did not find the directory /Library/Caches in my home directory... I can copy yourkit-for-idea.jar to any location but would you please tell me the right one?
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: IDE integration does not work for IDEA 2019.2.2

Post by Anton Katilin »

<Home>/Library is a macOS specific path.
On Windows, JetBrains Toolbox files are instead under <Home>\AppData\Local\JetBrains\Toolbox\apps.

Anyway, could you please try the proposed fix:
1. Download this yourkit.jar
https://www.yourkit.com/download/tmp/20 ... ourkit.jar
2. Write it over <YJP 2019.8 build 110 installation directory>\lib\yourkit.jar
3. Start the profiler UI
4. Run IDE integration wizard.

On completion, the wizard should show the list of target plugins directories to which the plugin has been installed. Do you see Toolbox related directories among them?
Does this fix make the plugin appear in the IDE?
barser
Posts: 7
Joined: Thu Sep 19, 2019 4:39 pm

Re: IDE integration does not work for IDEA 2019.2.2

Post by barser »

Anton Katilin wrote:<Home>/Library is a macOS specific path.
On Windows, JetBrains Toolbox files are instead under <Home>\AppData\Local\JetBrains\Toolbox\apps.

Anyway, could you please try the proposed fix:
1. Download this yourkit.jar
https://www.yourkit.com/download/tmp/20 ... ourkit.jar
2. Write it over <YJP 2019.8 build 110 installation directory>\lib\yourkit.jar
3. Start the profiler UI
4. Run IDE integration wizard.

On completion, the wizard should show the list of target plugins directories to which the plugin has been installed. Do you see Toolbox related directories among them?
Does this fix make the plugin appear in the IDE?
I'll try this suggestion in an hour and let you know about the result...
barser
Posts: 7
Joined: Thu Sep 19, 2019 4:39 pm

Re: IDE integration does not work for IDEA 2019.2.2

Post by barser »

barser wrote:
Anton Katilin wrote:<Home>/Library is a macOS specific path.
On Windows, JetBrains Toolbox files are instead under <Home>\AppData\Local\JetBrains\Toolbox\apps.

Anyway, could you please try the proposed fix:
1. Download this yourkit.jar
https://www.yourkit.com/download/tmp/20 ... ourkit.jar
2. Write it over <YJP 2019.8 build 110 installation directory>\lib\yourkit.jar
3. Start the profiler UI
4. Run IDE integration wizard.

On completion, the wizard should show the list of target plugins directories to which the plugin has been installed. Do you see Toolbox related directories among them?
Does this fix make the plugin appear in the IDE?
I'll try this suggestion in an hour and let you know about the result...
Done all steps, but the wizard did not show any plugin directory on completion! And plugin was not installed (all the same).
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: IDE integration does not work for IDEA 2019.2.2

Post by Anton Katilin »

What was shown in the final message window? Could you please send a screenshot.
Also, could you please send the profiler log file <user home>/.yjp/log/profiler-ui-<pid>.log to [email protected]
barser
Posts: 7
Joined: Thu Sep 19, 2019 4:39 pm

Re: IDE integration does not work for IDEA 2019.2.2

Post by barser »

Anton, I've sent all requested data by email. Please check.
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: IDE integration does not work for IDEA 2019.2.2

Post by Anton Katilin »

Anton, I've sent all requested data by email. Please check.
Sorry, I see nothing. Did you send it to [email protected]? What was the subject line? Anyway, could you please re-send.
barser
Posts: 7
Joined: Thu Sep 19, 2019 4:39 pm

Re: IDE integration does not work for IDEA 2019.2.2

Post by barser »

Anton Katilin wrote:
Anton, I've sent all requested data by email. Please check.
Sorry, I see nothing. Did you send it to [email protected]? What was the subject line? Anyway, could you please re-send.
The subject was: "Details for integration with Jetbrains IDEA issue"

OK, resending...
Post Reply