Getting this error: .intellij.util.EnvironmentUtil - can't get shell environment java.lang.Exception: shell:null at com.intellij.util.EnvironmentUtil.getShellEnv

Hi,

I am getting the below error. I made a plugin, using http://bjorn.tipling.com/how-to-make-an-intellij-idea-plugin-in-30-minutes. When I run it:

/Library/Java/JavaVirtualMachines/jdk1.7.0_60.jdk/Contents/Home/bin/java -Xmx512m -Xms256m -XX:MaxPermSize=250m "-Xbootclasspath/a:/Applications/IntelliJ IDEA 14 CE.app/Contents/lib/boot.jar" -Didea.config.path=/private/var/root/Library/Caches/IdeaIC14/plugins-sandbox/config -Didea.system.path=/private/var/root/Library/Caches/IdeaIC14/plugins-sandbox/system -Didea.plugins.path=/private/var/root/Library/Caches/IdeaIC14/plugins-sandbox/plugins -Didea.smooth.progress=false -Dapple.laf.useScreenMenuBar=true -Didea.platform.prefix=Idea -Didea.launcher.port=7533 "-Didea.launcher.bin.path=/Applications/IntelliJ IDEA 14 CE.app/Contents/bin" -Dfile.encoding=UTF-8 -classpath "/Library/Java/JavaVirtualMachines/jdk1.7.0_60.jdk/Contents/Home/lib/tools.jar:/Applications/IntelliJ IDEA 14 CE.app/Contents/lib/idea_rt.jar:/Applications/IntelliJ IDEA 14 CE.app/Contents/lib/idea.jar:/Applications/IntelliJ IDEA 14 CE.app/Contents/lib/bootstrap.jar:/Applications/IntelliJ IDEA 14 CE.app/Contents/lib/extensions.jar:/Applications/IntelliJ IDEA 14 CE.app/Contents/lib/util.jar:/Applications/IntelliJ IDEA 14 CE.app/Contents/lib/openapi.jar:/Applications/IntelliJ IDEA 14 CE.app/Contents/lib/trove4j.jar:/Applications/IntelliJ IDEA 14 CE.app/Contents/lib/jdom.jar:/Applications/IntelliJ IDEA 14 CE.app/Contents/lib/log4j.jar" com.intellij.rt.execution.application.AppMain com.intellij.idea.Main
/Applications/IntelliJ IDEA 14 CE.app/Contents/bin/idea.properties: 'idea.smooth.progress' already defined
/Applications/IntelliJ IDEA 14 CE.app/Contents/bin/idea.properties: 'java.endorsed.dirs' already defined
/Applications/IntelliJ IDEA 14 CE.app/Contents/bin/idea.properties: 'apple.laf.useScreenMenuBar' already defined
[    151]   WARN - .intellij.util.EnvironmentUtil - can't get shell environment
java.lang.Exception: shell:null
 at com.intellij.util.EnvironmentUtil.getShellEnv(EnvironmentUtil.java:141)
 at com.intellij.util.EnvironmentUtil.access$000(EnvironmentUtil.java:41)
 at com.intellij.util.EnvironmentUtil$1.call(EnvironmentUtil.java:54)
 at com.intellij.util.EnvironmentUtil$1.call(EnvironmentUtil.java:50)
 at java.util.concurrent.FutureTask.run(FutureTask.java:262)
 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
 at java.lang.Thread.run(Thread.java:745)

Can you help?

1 comment
Comment actions Permalink

This is a warning reported by IntelliJ IDEA, not related to your plugin in any way. You don't need to do anything about it.


0

Please sign in to leave a comment.