I have no idea how to get IntelliJ IDEA 2021.1 working with WSL. I spent two days searching trough internet but I wasn't able to get it running. I am able to create new project with JDK located in WSL but when I press "play button" I receive this:
Executing pre-compile tasks...
Loading Ant configuration...
Running Ant tasks...
Cannot assign requested address: bind
Synchronizing output directories...
4/16/2021 7:57 PM - Build completed with 1 error and 0 warnings in 77 ms
What I tried was also to use maven from WSL but that also didn't help. Does anyone has idea what I am doing wrong?
Jetbrains added an option to work around the issue (has to do with your WLS2 /etc/resolv.conf being modified due to VPNs, etc.):
https://youtrack.jetbrains.com/issue/IDEA-265522#focus=Comments-27-4808360.0-0
From the issue link:
Thanks, the issue with generateResolvConf=false in /etc/wsl.conf is reproduced. The fix will be available in 2021.1.x builds, exact fix version will be available later (see "Available in" field).
After updating to a version with the fix, please do the following to change how Windows host IP is obtained:
Open "Help | Find Action...", locate "Registry..." there and open it.
In the opened "Registry" dialog, find wsl.obtain.windows.host.ip.alternatively registry key (disabled by default) and enable it.
Restart IDE to apply the changes.
Related
Steps to reproduce are very easy.
Create a Dockerfile.
My Dockerfile has many more lines, but I have trimmed them so we can focus in the source of the problem.
Said that, these two lines alone (without anything more) show the problem.
FROM microsoft/iis
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; $VerbosePreference = 'Continue'; "]
Run docker build . and you get hcsshim::PrepareLayer - failed failed in Win32: FunciĆ³n incorrecta. (0x1).
Windows 10 Pro 1909 (but it happened too in 1903)
Docker version: 2.1.0.5
Engine: 19.03.5
Machine: 0.16.2
I have found the solution to the problem.
Reading all the https://github.com/docker/for-win/issues/3884 bug, some have found a simple solution: rename C:\windows\system32\driver\cbfsconnect2017.sys so it isn't loaded the next boot.
Disabling that driver enables me to do a docker build for the first time in windows containers in almost a year.
In my case Box Sync was the one using that driver.
EDIT: #GustavoTM have found that pCloud raises the same problem.
EDIT2: #VonC have noticed that some people in the issue in GitHub has solved it deleting this other file: C:\Windows\System32\drivers\cbfs6.sys. I haven't tried that, but i put it if it helps others.
The good thing is that I don't need to uninstall Box, but only rename that file.
This is still an issue (still open) with Win10.
Looks like uninstalling cloud storage providers with file system filters like Dropbox, Box, etc. as a workaround is an option for some users.
Deinstall cloud storage providers or virus scanners; if you identify which one is not working please share in https://github.com/docker/for-win/issues/3884
In my case was the problem similar but the file cbfs6.sys was placed somewhere in the rest of uninstalled application Jungle disk, somewhere in the folder c:\Program files\Jungle disk .... It's part of Callback File System signed by EldoS Corporation.
The folder could be rename only and not delete directly. So I could delete its immediately after the PC restart, before running the Docker. So it could be delete during the Docker service restart too.
Running GraphDB on windows.
I right clicked the icon, clicked settings. Tried to set Xmx512Mb, (so I mistyped, should have been Xmx512M). Now trying to run GraphDB says "Failed to create JVM", even after uninstalling and re installing.
Where can I find and undo what I typed in the settings if the UI is not starting up?
In other words, where is this configuration stored?
I removed AppData/Roaming/GraphDB and AppData/Local/GraphDB Free
Just to generalize it, If you set an invalid Java option parameter, GraphDB Free may fail to start after the application restart. The only way to solve this problem is to remove the invalid line from the file:
%userprofile%\AppData\Roaming\com.ontotext.graphdb.free\packager\jvmuserargs.cfg (Windows)
~/Library/Application Support/com.ontotext.graphdb.free/packager/jvmuserargs.cfg (Mac OS)
~/.local/com.ontotext.graphdb.free/packager/jvmuserargs.cfg (Linux).
In addition to Damyan's answer there is a GraphDB Free.cfg file in C:\Users\User\AppData\Local\GraphDB Free\app\ which you can edit.
I went through How do I remove my IntelliJ license? and follow all the steps as mentioned here.
For .IntelliJIdea2019.1 in Windows 10
locate the folder .IntelliJIdea2019.1
move the location .IntelliJIdea2019.1\config\eval
remove the file idea191.evaluation.key
But just after couple of mins, I'm getting below error and it causing the IDE to close out.
How to solve this issue ?
You can solve the issue by buying a license for IntelliJ IDEA. If you need an extended evaluation, you can obtain one by emailing sales#jetbrains.com.
Uninstall intellij app from the system
Remove the entire folder .IntelliJIdea2019.1
Get rid of JavaSoft folder with all subfolders from the registry
If you want your intellij's back, restart the system and install version 2019.1 again.
Goto bellow location
windows key+R tyepe %appdata% or
C:\Users\<username>\AppData\Roaming\JetBrains
and delete everything and restart the app will allow you to use evaluate again.
I have been working with phpStorm and it had suddenly stopped showing suggestions for code completion. When i do Ctrl + space its behaving correctly by showing all the possible options in a drop down.
I have followed the below link and have did invalidate cache but still of no use.
PhpStorm code completion doesn't show core classes/extensions
My Setup is:
OS: Mac - 10.9.2 (Mavericks)
PHPStorm: 7.1.3
I just had the same problem, fixed it when I realized I mistakenly put PHPStorm in Power Save Mode. Click the little fellow on the bottom right of your PHPStorm window and switch that off
Indeed, the Power saving mode (File > Power Saving Mode) allow you to disable the code inspection functionnality.
However sometimes the PhpStorm code analysis failed and you lost your code completion. In this case you juste have to ask for a new code analysis (File > Synchronize [CTRL+ALT+Y]) or invalid the cache and force a restart (File > Invalid cache / Restart).
Hope that helps.
Invalidating the cache did not work for me, but this did:
Enable power save mode (File > Power Save Mode), then disable it.
If your are using a Linux distro (Ubuntu, Debian, Centos) etc, it is due to ibus.
Just change the Shortcut (run: ibus-setup and change to Super+Ctrl+Space for instance) and everything will be fine again.
Or (my favorite): uninstall ibus if you are not using it.
In a Debian/Ubuntu distro should be:
sudo apt-get remove ibus
Ctrl+Space autocompletion should be back.
It was power saving mode for me too. It's an option at the bottom of the File menu.
install a previous version
https://www.jetbrains.com/phpstorm/download/other.html
Worked for me after I tried everything.
I struggled with this for a few hours this morning. After invalidation of caches, a complete reinstall, etc.. nothing worked.
I closed phpstorm and removed the .idea folder in the filesystem. I then renamed the project folder and reopened it. Autocomplete was now working!
I noticed that phpstorm then created the old project directory in the background, even though I did not open it and put a .idea folder in it. Something is obviously corrupted here.
" ... stopped showing suggestions for code completion".
On mac you can invoke it by fn+ctrl+space.
Going to php-storm -> Settings -> Keymap -> Set Active Changelist you can see it is associated with ^+space.
on windows ctrl+space
I've install the Aptana3 Eclipse plugin, I am using eclipse Version: Juno Service Release 1
Build id: 20121004-1855.
Each time I launch eclipse I see an error dialog that says:
An internal error occurred during: "Start Ruble bundle manager".
java.lang.NullPointerException
How can I fix this error?
I was having the same problem after a fresh install of Eclipse and Aptana.
What fixed it for me was very close to what Jason mentioned in his Answer. I checked the available software sites in Eclipse --> Preferences --> Install/Update --> Available Software Sites.
In this window there was an option for Aptana that was checked. I had given it a name of "Aptana" previously and the location was "http://download.aptana.com/studio3/plugin/install".
There was a second location listed for Aptana at "http://download.aptana.com/studio3/plugin/update/" but this option was not checked nor did it have a name. I gave it the name "Aptana Update" and I put a check in the box. I then restarted Eclipse and the error went away.
Let me note that I am using:
Eclipse Standard/SDK
Version: Kepler Service Release 1
Build id: 20130919-0819
AND
Aptana Studio 3
Version: 3.4.2.201308081736-7W7I57boG98RAi489ctbvKi7VXbq
Try checking the available software sites in Eclipse --> preferences. Use the search field in preferences to get there quickly. I noticed there was an entry for:
www.apanta.com
The above address isn't the location of the package. Once I unchecked that box and selected the one for:
Apanta http://download.aptana.com/studio3/plugin/install
it started without the error. Not sure if this is the full solution, but it seems to work.
Look at your .log to find which bundle has an issue.
Then uncheck, remove or change wrong url in the install/update available software sites : Eclipse -> Preferences -> Install/update -> Available Sofware Sites
(to check this url, just copy/paste and look in browser..)
Aptana update site (at current time...) : http://update.aptana.com/update/studio/3.2
Install the support file for Windows
http://gnuwin32.sourceforge.net/downlinks/zlib.php
this solved my problem in Windows. As by Linux it comes as default.
I solved this by using rvm to install zlib. I looked through my log file (Eclipse: Help > Aptana > View Log File) and saw a zlib error message right before the NullPointerException. If zlib isn't in your log, this probably won't fix your problem ;-)
My system (Ubuntu) already had zlib1g and zlib1g-dev installed.
rvm pkg install zlib
rvm reinstall 1.9.3
Find the Folder bundles in your installation.
<apptanaFolder>/configuration/org.eclipse.osgi/bundles
do a chmod to allow the user read and write to this folder:
chmod 775 <apptanaFolder>/configuration/org.eclipse.osgi/bundles -R
Be Happy, cause you solve your problem!
Here in German Language:
http://wiki.xstable.de/doku.php/entwicklungsumgebung:eclipse:troubleshooting#ruble_manager
There is a patch for this:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=445122#c51
I confirm it solves the problem.
I tried the solution of Jonathan to no avail, although one of the adresses for Aptana was indeed unchecked and unmarked.
What worked for me was simply updating the plugins though Help --> Check for Updates.