HP UFT and LR are blocking execution of other IDEs - intellij-idea

IntelliJ IDEA Community Edition and Eclipse cannot be started after UFT and LR are installed on Windows 8.1. These applications can be started only as an administrator user. When I try to execute as a standard user I don't get any error message, seemly nothing happens, application is not started. Applications can be executed as administrator user, but don't working properly. It means Maven dependencies aren't resolved in IntelliJ IDEA and browser session cannot be started by Katalon Studio. I can't find any error logs.

When you install UFT/LR they update the JAVA OPTIONS
_JAVA_OPTIONS: -Xrunjvmhook -Xbootclasspath/a:C:\PROGRA~1\HP\QUICKT~1\bin\JAVA_S~1
\classes;C:\PROGRA~1\HP\QUICKT~1\bin\JAVA_S~1\classes\jasmine.jar
IBM_JAVA_OPTIONS: -Xrunjvmhook -Xbootclasspath/a:C:\PROGRA~1\HP\QUICKT~1\bin\JAVA_S~1
\classes;C:\PROGRA~1\HP\QUICKT~1\bin\JAVA_S~1\classes\jasmine.jar
JAVA_TOOL_OPTIONS: -agentlib:jvmhook
Just make a batch file for launching eclipse and intellij and remove these hooks and it should work. These hooks are usually added for automation and recording to work. Most of the time they are supposed to be transparent and not create an issue but with some apps they may cause partial issues.
This could be the same happening. The easiest way to test is to backup the values of these environment variables and then delete them and test if IDE works fine again

Related

IntelliJ Community Edition Hanging on Plugin Cloud Code

I installed Cloud Code for IntelliJ Community Edition 2022.2.1 and IntelliJ hung. I have let it run for over 20 minutes but there is no change. This is the second time this has happened (I reinstalled IntelliJ the first time). Could this have anything to do with having many complicated Maven pom.xml files in multiple projects?
The screen is stuck on the Popup text and showing that there is an upgrade pending.
The issue arises after I install the Cloud Code plug-in. The version of Cloud Code that I installed is: Cloud Code - 22.9.2-221.
The fix for Cloud Code plugin has been released - please update to the latest plugin version (22.10.1-222/221).
This should fix the hanging when opening new projects (especially large one on slower Windows machines) with Cloud Code installed.
If you get your IDE hanging when opening a project in Windows and need to unblock to install a fixed version of Cloud Code, go to Windows Task Manager, find IntelliJ IDEA, expand list of child processes, and kill skaffold.exe process - this should unblock IDE immediately. Sorry for the inconvenience.

Debugging grails 3.3.11 project in IntelliJ Idea Community

I am trying to debug my grails 3.3.11 source code using a community version of IntelliJ Idea. I don't know why but, even if a choose a break point, I run the command
grails run-app -debug
as I have seen in a variety of sites, the application never stops in the breakpoint. It executes all the program.
I have two questions.
1 - Is it possible to debug a grails 3.3.11 project using the community version of IntelliJ Idea?
2 - If so, how can I do that.
Thanks,
Alfredo
I have two questions. 1 - Is it possible to debug a grails 3.3.11 project using the community version of IntelliJ Idea?
Yes. The debugger in the community version of Intellij works well with Grails.
2 - If so, how can I do that.
There are a number of ways. You can create a run-configuration in IntelliJ to launch the application in debug mode. You can launch the application using ./gradlew bootRun --debug-jvm and then attach a remote debugger from the IDE (I do that all the time). The video at https://grails.org/blog/2017-01-20-4.html demonstrates using the debugger (that portion works the same in Community Edition vs Ultimate Edition).

Automatically refresh/compile in IntelliJ in a "nightly dev machine update"

We are using a small tool to automatically fetch updates for various projects from Git/SVN, recompile them and run tests locally with any local modifications that the developer might have developed, but not yet submitted to the global code repositories.
For some large projects, we see that the IntelliJ IDE only does refreshing/recompiling of code when the developer comes in and actually starts to work in the IDE, which always causes some time in the morning when the machines are busy recompiling, thus hindering the developers shortly after they came in.
I would like to do such a refresh/recompile already during the nightly update, so it is not wasting dev-time in the morning.
For Eclipse we are using https://github.com/moschinski/MondShell, a plugin which provides remote control functionality.
I tried to look for tools to automate things in IntelliJ, but could not find anything that would suit.
Are there any plugins or other means of remotely controlling IntelliJ to force it to recompile code and update source repositories?
As I could not find anything which could do this I started a small plugin which provides a small REST interface in order to control things in IntelliJ from scripts.
See https://github.com/centic9/IntelliJ-Automation-Plugin for the implementation details.

How can I have JProfiler open source code in IntelliJ?

I use JProfiler 8.1.4 and I have it integrated with IntelliJ IDEA 14.1.3.
I have a JProfiler session for profiling JBoss using the standalone_jprofiler.bat script like this:
Now, when I want to go to the source code for some method, JProfiler uses a (minimal) internal file viewer instead of using IntelliJ.
I would assume that the source code linking works fine when the profiling is initiated by the IntelliJ plugin, but in my case I don't know what run configuration to create in IntelliJ for standalone_jprofiler.bat.
So finally, my question is: Is it possible to see the code in IntelliJ when the profiling is initiated from the standalone JProfiler application?
One more piece of information: In this case I want the profiling to be activated immediately on startup.
I apologize in advance if this is too simple or silly. I've used JProfiler for just one day and googling didn't yield any relevant answers.
Is it possible to see the code in IntelliJ when the profiling is initiated from the standalone JProfiler application
No, that is not possible, you have to start the profiling session from IDEA to get source code navigation in the IDE.
Another possibility is to save a snapshot in JProfiler and open that snapshot in IDEA (via File->Open File). If the JProfiler plugin is installed in IDEA, the snapshot will then be opened with source code navigation in the IDE.

Run Telerik Test Studio test on the simulator

I'm trying to add a step on my Jenkins server for testing my iOS app automatically. I know how to deploy the TestStudio app on the simulator but I have to:
run the Test Studio app on the simulator from the Terminal console
execute the test (still from terminal)
I think that using terminal commands is the best solution to integrate this operation in a Jenkins job,but if anybody comes up with a better idea I would be more than happy to hear that. Any idea how to perform these tasks?
Currently it is not possible to execute Test Studio for iOS tests from the command line.
Our next major version, due out in early 2013, includes an API automation framework. With that you can write coded unit tests that can be triggered from the command line and integrated with Jenkins.