IntelliJ can't use ALT key after computer shutdown unexpected - intellij-idea

I met a strange error in IntelliJ IDEA 14.
My laptop was working with IDEA and I plugged the phone to debug my project. But the laptop was shutdown unexpected after that.
I restart my laptop and open up the IDEA again, some of my ALT shortcut keys didn't work anymore. Having reinstall the IDEA but the problem not solved.
The IDEA throws a message like this:
Cannot read scheme Default copy.xml from '$ROOT_CONFIG$/keymaps': java.lang.AssertionError: Unexpected content storage modification
java.lang.RuntimeException: java.lang.AssertionError: Unexpected content storage modification
Any idea for this? I'm scaring the IntelliJ IDEA will crash later if my laptop still shutdown unexpected.

Remove your app include all the setting, plugin, history and then download the lasted IntelliJ IDEA from Jetbrains. Then install it to another folder will solve the problem.

No need to uninstall,just remove your android configuration files.
In Linux system, it is in .AndroidStudio[VERSION]/config/tasks/,remove the corresponding tasks and restart Android Studio,it will regenerate the configuration files in this directory.

Related

I had this error in my minecraft plugin During startup

When I was starting up my minecraft server after changing my plugin i got this error and when ever I type my command it just says it back in chat
here's the error:https://pastebin.pl/view/7f462b79
This error appear when you replace the JAR file of your plugin without restart.
If you just reload, you could have this issue.
So, be sure the plugin is fully compiled and well replaced BEFORE start. If you have this issue, just restart and it should be fine.

Intellij 2018.2 stops working and exits on MacOs. What might be a problem?

As an daily IntelliJ user you usually concentrate on the projects you are working on and IntelliJ is just a tool. You are not willing to dig into tool's problem itself. But this is what is forced on you by default after IntelliJ installation on MacOS and opening relatively big project(most of the projects nowadays are huge and have thousands of files and use numbers of IntelliJ 3rd party plugins).
Here is a minimal list of actions. IntelliJ must have set MORE RAM to be used by default.
Read: https://intellij-support.jetbrains.com/hc/en-us/articles/207241085-Locating-IDE-log-files .
From IntelliJ open Help / Show log in Finder and open idea.log file with Console.app; In Console.app press "Reload" and "Now" buttons to track "live" what IntelliJ is doing.
If in logs of IntelliJ you find that some of the plugins exit with fatal error, you just uninstall those plugins. For me the one that failed to the moment of this answer was "BashSupport" as example.
Start Terminal.app ; Run command: open -a TextEdit /Applications/IntelliJ\ IDEA.app/Contents/bin/idea.vmoptions ; Change options in idea.vmoptions file to:
-Xms1024m
-Xmx2048m ; Read https://www.jetbrains.com/help/idea/tuning-the-ide.html to see how you can tune IntelliJ for your project. This step is handy when your IntelliJ app doesn't start at all and you want to change properties in a global way.
From IntelliJ open Help / Edit Custom Properties.... Here you can set same properties that will override global and will work only for current OS user.
Also there is also a possibility of underlying OS to do it voodoo magic so the IntelliJ won't work as it should like here - https://intellij-support.jetbrains.com/hc/en-us/community/posts/360000398280-IDEA-Ultimate-2018-2-Unable-to-save-settings-Unable-to-create-file-Windows-10
Make sure your project build output for *.class files is set. Read: https://intellij-support.jetbrains.com/hc/en-us/community/posts/360000000584-Build-does-nothing . In my case when IntelliJ started project build it terminated without warnings shortly after.
Finally in my case none of 6 steps above solved the issue so I found this read: https://intellij-support.jetbrains.com/hc/en-us/community/posts/115000532044-IntelliJ-cannot-build-projects . Basically try reinstall IntelliJ from original distribution again.
I know that you must read https://www.jetbrains.com/help/idea every time you install a new version of IntelliJ, but why not to add some consistency into configuration process of the main java process that runs IntelliJ itself? You can ask how much ram to use during installation of IntelliJ and explain why it is so. Then Help digging won't be necessary in the first place for devs who fed up with changing those default settings that will be always more than 700MB. I think for most devs out there it is at least 10x of that. I bet what makes most devs mad about this is not the fact that you need to do some options changing, but where those options are depending on OS plus the fact that you simply forget why IntelliJ app just exits while you are doing a debugging of your own app. I bet this problem makes us mad since first java based IDEs appeared. User-friendly is the key here and explicit reminders within the app itself would help.

Unable to run app on device using android studio

I have been trying to use android studio and every time I deploy an app on a device, it gives me an error saying:
Installation failed since the device possibly has stale dexed jars that don't match the current version (dexopt error).
In order to proceed, you have to uninstall the existing application.
I have tried using Build->Clean Project and yet it seems to do no good.
I have also tried deleting the file from /data/local/tmp on device (as my phone is a rooted one), but, all in vain.
If anyone knows a way out, please, please help.
Uninstall the application from the device.
Check the storage space.
Once Restart the mobile and try to install it

Plug-in "org.tizen.web.zimlaunch" was unable to instantiate class

I am usin Tizen IDE for Wearable. During build I had a power failure and my PC went down. Since then IDE does not work. Whatever action is performed this error occurs:
Plug-in "org.tizen.web.zimlaunch" was unable to instantiate class > "org.tizen.web.zimlaunch.deployer.ZimLaunchDelegate".
org/tizen/web/project/configuration/ConfigurationException
I tried to uninstal the IDE and install it again, I deleted all the files I knew to be connected to the IDE nothing helped.
Do you know what can I do?
Finally I found it.
Remove metadata folder from workspace. Doing this will demand to reimport all of your projects but fixes the problem.
\workspace\.metadata

Intellij IDEA 13 - Can't open Project Structure dialog anymore

as already described in title, i'm not able to open the project structure dialog window in intellij anymore.
neither the shortcut (Ctrl+alt+shift+s) nor the menu element under File -> Project Structure nor the little button in the upper right corner do work.
Clarification: Menu element :
This "bug" occured suddenly as I wrote a web (vaadin/maven) project and tried to set up glassfish, where i often had to switch to the project structure dialog.
Since the first occurence i wasn't able to fix it by restarting intellij or switching projects.
This also happened on my laptop running the same intellij and windows version (Ultimate 13.0.1 Build: 133.331 on Windows 7 x64)
i appreciate any help!
This also happened to me, but removing new plugins etc didn't help.
Nor did nuking my project and rebuilding it from scratch.
In the end I deleted all caches, restarted Intellij and at last I could access the project settings again! By the way, I'm using Intellij 11.1 - mainly because I can't get 13 to start up, but that's another story
Your log shows that it is a bug in IntelliJ IDEA - they are trying to create file passing null pathname. Try to delete project files and reopen project from scratch (maybe you've lost some file) - if it won't help then you should create an issue here: http://youtrack.jetbrains.com/ - You can even copy-paste text from your question and attach stacktrace
I had the same issue...upon further inspection in the log dump...I noticed the following:
ERROR - llij.ide.plugins.PluginManager - com.intellij.openapi.fileChooser.FileChooserDescriptor.setTitle(Ljava/lang/String;)V
java.lang.NoSuchMethodError: com.intellij.openapi.fileChooser.FileChooserDescriptor.setTitle(Ljava/lang/String;)V
at com.jetbrains.python.sdk.PythonSdkType.getHomeChooserDescriptor(PythonSdkType.java:247)
Disabled the latest Python Plugin and restarted and everything is working normal again.
I remembered I had recently update my python plugin and am not using it presently so I was able to disable it without issue.
Hope this helps someone else.
This also happened to me. The comment above helped. I had just added some plugins. Disabled them and it started working again. Not sure exactly which one because I disabled all 4 -- Bean Validation Support, Bitbucket, Jelastic Cloud Platform Integration, and Quick Notes.
For me it has been resolved by switching off FindBugs plugin and restart IDEA. So Project Structure is available for me now.
One of the plugins might be causing it. To disable a plugin, go here:
You'll know for sure if a plugin is bad if you see this Exclamation picture:
Clicking on it will bring up a pop-up. To disable the plugin, click on this:
For me it got resolved just by restarting the intelliJ IDEA. I'm using intelliJ IDEA Ultimate 2018.1 edition.