Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ERROR] import: java.lang.NullPointerException: null #11

Open
vivekdhiman opened this issue May 12, 2015 · 9 comments
Open

[ERROR] import: java.lang.NullPointerException: null #11

vivekdhiman opened this issue May 12, 2015 · 9 comments

Comments

@vivekdhiman
Copy link

I am getting an error while import the CRX content to intelliJIdea, and not able to debug.

@padolphs
Copy link

padolphs commented Sep 7, 2015

I got a NullPointerException for both push and pull to / from CRX with the latest version (0.9.5) on Ubuntu Linux. I got it working on my machine by changing the working directory to the directory where IntelliJ is actually installed when starting it. Before that I used the IntelliJ launcher from my desktop environment which sets the home directory as the working directory, which didn't work. Apparently, the working directory of the IntelliJ process makes a difference to IntelliVault...

@vivekdhiman
Copy link
Author

@padolphs Can you please explain what changes you made briefly to make it work. I am also on ubuntu. If run the IDEA with the command line as $ /home/vivekd/softwares/idea-IC-141.1532.4/bin/idea.sh its work but with the desktop entry its doesn't.

@Faresis
Copy link

Faresis commented Sep 24, 2016

Yes, @padolphs right. To make the desktop launcher work following steps can be taken:

sudo vi /usr/share/applications/jetbrains-idea-ce.desktop

Change Exec line to the following:

Exec=bash -c 'cd /opt/idea/bin && ./idea.sh'

Those steps did the job for me.

Ubuntu 14.04 x64
IntelliJ IDEA 2016.2.4
Build #IC-162.2032.8, built on September 9, 2016
JRE: 1.8.0_112-release-b343 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o

CC: @vivekdhiman

@jrnutt
Copy link

jrnutt commented Jan 18, 2017

This appears to duplicate issue #8, has there been any progress on either? I can use the work around listed above, but it's a mild nuisance.

@caffr
Copy link

caffr commented Apr 19, 2017

Note: To fix the issue on Windows (Windows 10 in my case) - edit properties of the IntelliJ desktop shortcut and add the path to the IntelliJ 'bin' directory into 'Start in:' field. In my case it's: "C:\Program Files\JetBrains\IntelliJ IDEA 2017.1\bin".

@felu
Copy link

felu commented Jul 13, 2017

Same Issue here on Windows. This is very annoying, especially because the error message is not giving any decent information. Please fix this. Thanks.

@blakesong-ecommbi
Copy link

Thanks, @caffr, It works for me

@uiblox
Copy link

uiblox commented Mar 4, 2020

@caffr Life Saver! Thank you. This resolved the NullPointerException.

@nani118066
Copy link

Any suggestions for Mac?

IntelliJ Version: 2020.2.3 Ultimate
IntelliVault: 0.10.0
Vault Cli: 3.4.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants