5
4

More than 1 year has passed since last update.

Intellij IDEA をアップデート(2021.1 → 2022.3)したら起動しなくなった

Last updated at Posted at 2023-01-26

起きたこと

Intellij IDEA CE 2021.1 → 2022.3にアップデートしたところ起動できなくなりました。
アイコンをタップしてもピコピコ上下に少し動くだけで全く起動しない・・・。

とりあえずログを見てみる

以下パスまで移動

cd /Applications/IntelliJ\ IDEA.app/Contents/MacOS

idea バイナリーを実行

./idea

するとこのようなログが

IntelliJ IDEA CE.app/Contents/MacOS
❯ ./idea
2023-01-26 21:43:55.570 idea[2219:29511] allVms required 1.8*,1.8+
2023-01-26 21:43:55.573 idea[2219:29515] Current Directory: /Applications/IntelliJ IDEA CE.app/Contents/MacOS
2023-01-26 21:43:55.573 idea[2219:29515] parseVMOptions: IDEA_VM_OPTIONS = (null)
2023-01-26 21:43:55.573 idea[2219:29515] fullFileName is: /Applications/IntelliJ IDEA CE.app/Contents/bin/idea.vmoptions
2023-01-26 21:43:55.573 idea[2219:29515] fullFileName exists: /Applications/IntelliJ IDEA CE.app/Contents/bin/idea.vmoptions
2023-01-26 21:43:55.573 idea[2219:29515] parseVMOptions: /Applications/IntelliJ IDEA CE.app/Contents/bin/idea.vmoptions
2023-01-26 21:43:55.573 idea[2219:29515] parseVMOptions: /Applications/IntelliJ IDEA CE.app.vmoptions
2023-01-26 21:43:55.576 idea[2219:29515] parseVMOptions: /Users/name/Library/Application Support/JetBrains/IdeaIC2022.3/idea.vmoptions
2023-01-26 21:43:55.576 idea[2219:29515] parseVMOptions: platform=20 user=1 file=/Users/name/Library/Application Support/JetBrains/IdeaIC2022.3/idea.vmoptions
CompileCommand: exclude com/intellij/openapi/vfs/impl/FilePartNodeRoot.trieDescend bool exclude = true
Pleiades ログなどの一時ディレクトリ: /Users/name/Library/Application Support/JetBrains/IdeaIC2021.1/jp.sourceforge.mergedoc.pleiades/cache
AOP 起動トランスフォーマーの開始に失敗しました。/Users/name/Library/Application Support/JetBrains/IdeaIC2021.1/jp.sourceforge.mergedoc.pleiades/cache上記ディレクトリーを削除して、起動オプションに -clean を指定して起動してください。
java.lang.IllegalStateException: bootstrap.jar が見つからないため lib ディレクトリーを特定できません。
AOP 起動トランスフォーマーの開始に失敗しました。
/Users/name/Library/Application Support/JetBrains/IdeaIC2021.1/jp.sourceforge.mergedoc.pleiades/cache
上記ディレクトリーを削除して、起動オプションに -clean を指定して起動してください。
原因:java.lang.IllegalStateException: bootstrap.jar が見つからないため lib ディレクトリーを特定できません。

詳細は以下のログ・ファイルを参照してください。
/Users/name/Library/Application Support/JetBrains/IdeaIC2021.1/jp.sourceforge.mergedoc.pleiades/cache/pleiades.log
java.lang.IllegalStateException: bootstrap.jar が見つからないため lib ディレクトリーを特定できません。
	at jp.sourceforge.mergedoc.pleiades.runtime.LauncherIdeaTransformer.init(LauncherIdeaTransformer.java:46)
	at jp.sourceforge.mergedoc.pleiades.runtime.LauncherTransformer.<init>(LauncherTransformer.java:70)
	at jp.sourceforge.mergedoc.pleiades.runtime.LauncherIdeaTransformer.<init>(LauncherIdeaTransformer.java:23)
	at jp.sourceforge.mergedoc.pleiades.Pleiades.startLauncherTransformer(Pleiades.java:147)
	at jp.sourceforge.mergedoc.pleiades.Pleiades.premain(Pleiades.java:84)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at java.instrument/sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:491)
	at java.instrument/sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:503)

java.lang.IllegalStateException: bootstrap.jar が見つからないため lib ディレクトリーを特定できません。
	at jp.sourceforge.mergedoc.pleiades.runtime.LauncherIdeaTransformer.init(LauncherIdeaTransformer.java:46)
	at jp.sourceforge.mergedoc.pleiades.runtime.LauncherTransformer.<init>(LauncherTransformer.java:70)
	at jp.sourceforge.mergedoc.pleiades.runtime.LauncherIdeaTransformer.<init>(LauncherIdeaTransformer.java:23)
	at jp.sourceforge.mergedoc.pleiades.Pleiades.startLauncherTransformer(Pleiades.java:147)
	at jp.sourceforge.mergedoc.pleiades.Pleiades.premain(Pleiades.java:84)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at java.instrument/sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:491)
	at java.instrument/sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:503)

どうやら"Pleiades"という日本語化プラグインが悪さをしているようです。

プラグインを削除する

以下のファイルを開き

設定: ~/Library/Application Support/JetBrains/[製品名][バージョン]/idea.vmoptions

以下2行を削除

-Xverify:none
-javaagent:(Pleiadesを配置したディレクトリ)/jp.sourceforge.mergedoc.pleiades/pleiades.jar

削除後IntellijIDEAを起動すると見事起動できました!!

さいごに

JetBrains公式の日本語化プラグインがあるのでそちらを使用すべきでした。
なんでも公式が一番ですね。

参考

5
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
4