Fully featured low overhead profiler for Java EE and Java SE platforms.
Performance monitoring and profiling of Jenkins, TeamCity, Gradle, Maven, Ant, JUnit and TestNG.
Easy to use performance and memory profiler for .NET framework.

IDE integration does not work for IDEA 2019.2.2

Moderators: Vladimir Kondratyev, Anton Katilin

IDE integration does not work for IDEA 2019.2.2

Postby derkork » Thu Sep 05, 2019 7:44 am

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?
derkork
 
Posts: 2
Joined: Thu Sep 05, 2019 7:36 am

Re: IDE integration does not work for IDEA 2019.2.2

Postby Anton Katilin » Thu Sep 05, 2019 8:31 am

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: 5824
Joined: Wed Aug 11, 2004 8:37 am

Re: IDE integration does not work for IDEA 2019.2.2

Postby Anton Katilin » Thu Sep 05, 2019 9:01 am

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.
Anton Katilin
 
Posts: 5824
Joined: Wed Aug 11, 2004 8:37 am

Re: IDE integration does not work for IDEA 2019.2.2

Postby derkork » Fri Sep 06, 2019 7:40 am

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.
derkork
 
Posts: 2
Joined: Thu Sep 05, 2019 7:36 am

Re: IDE integration does not work for IDEA 2019.2.2

Postby barser » Thu Sep 19, 2019 4:41 pm

I second this trouble. All symptoms are same...
barser
 
Posts: 7
Joined: Thu Sep 19, 2019 4:39 pm

Re: IDE integration does not work for IDEA 2019.2.2

Postby Anton Katilin » Fri Sep 20, 2019 7:04 am

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: 5824
Joined: Wed Aug 11, 2004 8:37 am

Re: IDE integration does not work for IDEA 2019.2.2

Postby Anton Katilin » Fri Sep 20, 2019 7:09 am

Do you use JetBrains Toolbox?
Please see related post: viewtopic.php?f=3&t=40933
Anton Katilin
 
Posts: 5824
Joined: Wed Aug 11, 2004 8:37 am

Re: IDE integration does not work for IDEA 2019.2.2

Postby barser » Fri Sep 20, 2019 11:29 am

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?
barser
 
Posts: 7
Joined: Thu Sep 19, 2019 4:39 pm

Re: IDE integration does not work for IDEA 2019.2.2

Postby Anton Katilin » Fri Sep 20, 2019 2:54 pm

<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?
Anton Katilin
 
Posts: 5824
Joined: Wed Aug 11, 2004 8:37 am

Re: IDE integration does not work for IDEA 2019.2.2

Postby barser » Fri Sep 20, 2019 7:46 pm

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

Postby barser » Fri Sep 20, 2019 8:33 pm

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).
barser
 
Posts: 7
Joined: Thu Sep 19, 2019 4:39 pm

Re: IDE integration does not work for IDEA 2019.2.2

Postby Anton Katilin » Sat Sep 21, 2019 8:25 am

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 support@yourkit.com
Anton Katilin
 
Posts: 5824
Joined: Wed Aug 11, 2004 8:37 am

Re: IDE integration does not work for IDEA 2019.2.2

Postby barser » Sat Sep 21, 2019 2:23 pm

Anton, I've sent all requested data by email. Please check.
barser
 
Posts: 7
Joined: Thu Sep 19, 2019 4:39 pm

Re: IDE integration does not work for IDEA 2019.2.2

Postby Anton Katilin » Sun Sep 22, 2019 8:29 pm

Anton, I've sent all requested data by email. Please check.

Sorry, I see nothing. Did you send it to support@yourkit.com? What was the subject line? Anyway, could you please re-send.
Anton Katilin
 
Posts: 5824
Joined: Wed Aug 11, 2004 8:37 am

Re: IDE integration does not work for IDEA 2019.2.2

Postby barser » Sun Sep 22, 2019 10:08 pm

Anton Katilin wrote:
Anton, I've sent all requested data by email. Please check.

Sorry, I see nothing. Did you send it to support@yourkit.com? What was the subject line? Anyway, could you please re-send.


The subject was: "Details for integration with Jetbrains IDEA issue"

OK, resending...
barser
 
Posts: 7
Joined: Thu Sep 19, 2019 4:39 pm

Next

Return to Java Profiler

Who is online

Users browsing this forum: No registered users and 22 guests