How to stop background scanning of projects - netbeans-8.2

Netbeans is showing the process 'background scanning of projects..' continuously after installing python plugins.There is also 'checking for external changes' which is suspended. How can I stop the process?

Related

Self-built LibreOffice runs but nothing is visible

I have followed the instructions at https://wiki.documentfoundation.org/Development/BuildingOnLinux to build LibreOffice on Ubuntu 16.10. When it finished the make step I ran instdir/program/soffice --writer and the splash screen appeared for a few seconds then disappeared, but no main window appeared in its place. I can see that the soffice.bin process is running, in System Monitor, but I can't use the application. Have I done something wrong? I have already tried git pull and repeating make, and restarting the system, but it hasn't made any difference.

Send UI to bakcground and get back UI of an application in linux

I'm running linux VM, OS is rhel 6.5, I'll get access the machine via Putty(SSH) only and I'll use export display option to run gui app's.
I've java application and have jar's, to run that application I'll use the below command in putty.
java -Dcms.console.available=false -Dcms.user="username" -Dcms.password="password" -jar LAUNCHER.jar
When I launch the application in command prompt, I'll get UI(If I want run this app as background process I'm using '&' at the end of the command, in this case also I'll get UI), after getting UI I'll select some options in UI then UI will load full components.
Requirement:
I want to send UI in background and I should get UI back(foreground the UI) when ever I want,
Is there any way to achieve this?
I've tried nohup & screen but it didn't worked, and googled no hlep found. Please help me in this.
fg and bg do just this:
The POSIX standard specifies two commands for resuming suspended jobs
in the background and foreground, respectively bg and fg. These were
modeled after the Korn shell job control commands
https://en.wikipedia.org/wiki/Job_control_(Unix)#Commands

Stopping one process when debugging multiple processes in Visual Studio

I have a solution with 3 projects - a Xamarin iOS app, an Azure Mobile Services project and an Azure Cloud Service project.
I right-click the first project and choose Debug->Start new instance.
Then I do the same for the 2nd and 3rd projects.
At the end, the Processes list look like this:
Now I right click one of the processes and select Terminate Process.
I expect this to only stop the process I selected and that the other 2 processes will continue to run.
Instead, this causes the process to terminate and after a second or 2 the entire debug session stops and the other 2 processes stop also.

How to find my JavaFX application in process manager?

I have a JavaFX application that should check if it has already been launched when you launch it (need only single instance running at the time). The problem is how to define it!
I have tried packing my JavaFX application into .exe file (or make an .exe launcher) that will be shown as the "MyProg.exe" process in the Windows task manager, not the "javaw.exe". But it is not the solution (I've tried netbeans' tools) because it adds jre to my application thus enlarging it from 1 mb. to 130+ mb. (can you help me with it?)
I've tried launch4j, but both launcher and .exe package starts javaw.exe to run my app. And when I check process manager and see 2 javaw.exe I don't know, is it 2 instances of my app or just another app running?
I hope I described it clearand will be very thankful if somebody can help me with it!
Judging by your approach it seems that you are already found a way to get a list of Windows' processes from Java. In this case you can use one of the next solutions:
Take other process info into account. E.g. command line or window title. Windows command line can be retrieved using wmic.exe PROCESS command and for Unix-bases systems by ps -Af.
When your program starts store it's process id in the registry or file in homedir. When another instance starts it should check that value and if process with that id alive then just exit.

I can't kill MyApp.vshost.exe

I've managed to get myself in a state where I've no instances of devenv running, but still a MyApp.vshost.exe in the background (no visible windows or consoles).
I've tried TaskManager, ProcessExplorer and command line (taskkill /F /IM MyApp.vshost.exe), none of them complain, the command line even says 'PID 5824 stopped', but it's still there.
I know I can reboot, but I'd rather get to the bottom of this.
It doesn't look like it's this issue (http://support.microsoft.com/kb/982551), because I can reboot no problem (just have in fact, so won't be able to provide any further diagnostics, sorry).
EDIT
This is how I got into this pickle:
I was able to kill my persistent vshost process by following these steps (VS2010):
open the properties of my executable project
in the "Debug" tab, uncheck "Enable the Visual Studio hosting process"
save the project file
That was it, the process stopped, and there was no need to restart Visual Studio.
It seems to be the normal behaviour for this task. When you kill it the task is restarted.
So i advice you to close Visual Studio, that closes the *.vshost.exe task.
I had the same problem while working on a project with .NET 2.0 as target framework.
Temporary changing the target framework to .NET 4.0 client did the job for me.
However, Iam unsure how this is (is it?) related to the file lock issue.
Maybe that's the same problem as described in https://stackoverflow.com/a/1582747/254041 (pending I/O processes):
The MSDN API ref says "TerminateProcess initiates termination and returns immediately. This stops execution of all threads within the process and requests cancellation of all pending I/O. The terminated process cannot exit until all pending I/O has been completed or canceled.". Which means so much as: your I/O can block this process (though I wonder how it can bring your process to 100%, I/O usually doesn't do that).

Resources