IDEA 2019.2 startfailed by useing the old version's config

Answered
Internal error. Please report to http://jb.gg/ide/critical-startup-errors

com.intellij.ide.plugins.MainRunner$StartupAbortedException: java.lang.reflect.InvocationTargetException
at com.intellij.ide.plugins.MainRunner.lambda$start$0(MainRunner.java:61)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.intellij.ide.plugins.MainRunner.lambda$start$0(MainRunner.java:58)
... 1 more
Caused by: java.lang.NullPointerException
at com.rover12421.crack.jetbrains.ides.m(Unknown Source)
at com.rover12421.crack.jetbrains.ides.Main.m(Unknown Source)
at com.intellij.ide.a.o.aa(o.java:68)
at com.intellij.ide.a.c.m.d(m.java:526)
at com.intellij.ide.a.c.m.e(m.java:484)
at com.intellij.ide.a.c.m.a(m.java:432)
at com.intellij.ide.a.c.m.c(m.java:174)
at com.intellij.ide.a.c.m.b(m.java:117)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.intellij.idea.MainImpl$1.start(MainImpl.java:93)
at com.intellij.idea.StartupUtil.lambda$prepareAndStart$7(StartupUtil.java:237)
at com.intellij.util.ui.EdtInvocationManager.executeWithCustomManager(EdtInvocationManager.java:49)
at com.intellij.idea.StartupUtil.prepareAndStart(StartupUtil.java:232)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.intellij.idea.MainImpl.start(MainImpl.java:46)
... 6 more

-----
JRE 11.0.3+12-b304.10 amd64 by JetBrains s.r.o
C:\Program Files\JetBrains\IntelliJ IDEA 2019.1\jbr
7 comments
Comment actions Permalink

Please remove the crack. It's probably in .vmoptions in your config directory: https://intellij-support.jetbrains.com/hc/articles/206544869.

1
Comment actions Permalink

My option of CLion is like this and I also met this problem.

-Xss2m
-Xms256m
-Xmx2000m
-XX:NewSize=128m
-XX:MaxNewSize=128m
-XX:ReservedCodeCacheSize=240m
-XX:+UseCompressedOops
-Dfile.encoding=UTF-8
-XX:+UseConcMarkSweepGC
-XX:SoftRefLRUPolicyMSPerMB=50
-ea
-XX:CICompilerCount=2
-Dsun.io.useCanonPrefixCache=false
-Djava.net.preferIPv4Stack=true
-Djdk.http.auth.tunneling.disabledSchemes=""
-XX:+HeapDumpOnOutOfMemoryError
-XX:-OmitStackTraceInFastThrow
-Djdk.attach.allowAttachSelf
-Xverify:none

-XX:ErrorFile=$USER_HOME/java_error_in_clion_%p.log
-XX:HeapDumpPath=$USER_HOME/java_error_in_clion.hprof%
0
Comment actions Permalink

Please share the crash log.

0
Comment actions Permalink
2019-08-13 09:04:08,133 [ 0] INFO - #com.intellij.idea.Main - ------------------------------------------------------ IDE STARTED ------------------------------------------------------
2019-08-13 09:04:08,171 [ 38] INFO - #com.intellij.idea.Main - initializing environment
2019-08-13 09:04:08,174 [ 41] INFO - .intellij.util.EnvironmentUtil - loading shell env: /bin/zsh -l -i -c '/Applications/CLion.app/Contents/bin/printenv.py' '/private/var/folders/42/h9q4gncx1t38sfg7qpmqjqb40000gn/T/intellij-shell-env.tmp'
2019-08-13 09:04:08,251 [ 118] INFO - #com.intellij.idea.Main - JNA library (64-bit) loaded in 83 ms
2019-08-13 09:04:08,311 [ 178] INFO - #com.intellij.idea.Main - IDE: CLion (build #CL-192.5728.100, 23 Jul 2019 18:12)
2019-08-13 09:04:08,311 [ 178] INFO - #com.intellij.idea.Main - OS: Mac OS X (10.14.6, x86_64)
2019-08-13 09:04:08,311 [ 178] INFO - #com.intellij.idea.Main - JRE: 11.0.3+12-b304.10 (JetBrains s.r.o)
2019-08-13 09:04:08,311 [ 178] INFO - #com.intellij.idea.Main - JVM: 11.0.3+12-b304.10 (OpenJDK 64-Bit Server VM)
2019-08-13 09:04:08,312 [ 179] INFO - #com.intellij.idea.Main - JVM Args: -Xss2m -Xms256m -Xmx2048m -XX:NewSize=128m -XX:MaxNewSize=128m -XX:ReservedCodeCacheSize=240m -XX:+UseCompressedOops -Dfile.encoding=UTF-8 -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -ea -Dsun.io.useCanonCaches=false -Djava.net.preferIPv4Stack=true -Djdk.http.auth.tunneling.disabledSchemes="" -XX:+HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow -Xverify:none -XX:ErrorFile=/Users/inFinity/java_error_in_clion_%p.log -XX:HeapDumpPath=/Users/inFinity/java_error_in_clion.hprof -javaagent:/Users/inFinity/Documents/JetbrainsCrack-3.1-release-enc.jar -Djb.vmOptionsFile=/Users/inFinity/Library/Preferences/CLion2019.2/clion.vmoptions -Didea.home.path=/Applications/CLion.app/Contents -Didea.executable=clion -Didea.platform.prefix=CLion -Didea.paths.selector=CLion2019.2
2019-08-13 09:04:08,312 [ 179] INFO - #com.intellij.idea.Main - charsets: JNU=UTF-8 file=UTF-8
2019-08-13 09:04:08,561 [ 428] INFO - .intellij.util.EnvironmentUtil - shell environment loaded (26 vars)
2019-08-13 09:04:09,348 [ 1215] ERROR - llij.ide.plugins.PluginManager - java.lang.reflect.InvocationTargetException
com.intellij.ide.plugins.MainRunner$StartupAbortedException: java.lang.reflect.InvocationTargetException
at com.intellij.ide.plugins.MainRunner.lambda$start$0(MainRunner.java:61)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.intellij.ide.plugins.MainRunner.lambda$start$0(MainRunner.java:58)
... 1 more
Caused by: java.lang.NoClassDefFoundError: com/rover12421/crack/jetbrains/v2/Util
at com.intellij.ide.a.y.<clinit>(y.java:17)
at com.intellij.ide.a.p.a(p.java)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.intellij.idea.MainImpl.a(MainImpl.java:156)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.intellij.idea.MainImpl.access$000(MainImpl.java:34)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.intellij.idea.MainImpl$1.start(MainImpl.java:91)
at com.intellij.idea.StartupUtil.lambda$prepareAndStart$7(StartupUtil.java:237)
at com.intellij.util.ui.EdtInvocationManager.executeWithCustomManager(EdtInvocationManager.java:49)
at com.intellij.idea.StartupUtil.prepareAndStart(StartupUtil.java:232)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.intellij.idea.MainImpl.start(MainImpl.java:46)
... 6 more
Caused by: java.lang.ClassNotFoundException: com.rover12421.crack.jetbrains.v2.Util
at com.intellij.util.lang.UrlClassLoader.findClass(UrlClassLoader.java:282)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:588)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
... 31 more
2019-08-13 09:04:09,350 [ 1217] ERROR - llij.ide.plugins.PluginManager - CLion 2019.2 Build #CL-192.5728.100
2019-08-13 09:04:09,350 [ 1217] ERROR - llij.ide.plugins.PluginManager - JDK: 11.0.3; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o
2019-08-13 09:04:09,351 [ 1218] ERROR - llij.ide.plugins.PluginManager - OS: Mac OS X
2019-08-13 09:04:40,621 [ 32488] INFO - #com.intellij.idea.Main - ------------------------------------------------------ IDE SHUTDOWN ------------------------------------------------------
2019-08-13 09:04:40,631 [ 32498] INFO - org.jetbrains.io.BuiltInServer - web server stopped
0
Comment actions Permalink

You may be checking the wrong .vmoptions file, see https://intellij-support.jetbrains.com/hc/articles/206544869. It can be either in the bin directory or in the config directory.

0
Comment actions Permalink

Thanks a lot.

Finally, I found the ".vmoptions" file at ~/Library/Preferences/CLion2019.2/clion.vmoptions.

0
Comment actions Permalink

@Serge Baranov I checked the custom VM options and deleted the wrong VM configs,it works,tnx!

0

Please sign in to leave a comment.