EAP IU-141.2.2 won't open on Mac OS X 10.10

I'm unable to open tha latest 14.1 EAP on Mac OS X, when I open the application it stops responding and has to be "Force Quit".
Console log as follows:


05/03/15 11:50:30,616 idea[4244]: Value of IDEA_JDK: (null)
05/03/15 11:50:30,622 idea[4244]: fullFileName is: /Applications/IntelliJ IDEA 14 EAP.app/Contents/bin/idea.vmoptions
05/03/15 11:50:30,622 idea[4244]: fullFileName exists: /Applications/IntelliJ IDEA 14 EAP.app/Contents/bin/idea.vmoptions
05/03/15 11:50:30,622 idea[4244]: Value of IDEA_VM_OPTIONS is (null)
05/03/15 11:50:30,622 idea[4244]: Processing VMOptions file at /Applications/IntelliJ IDEA 14 EAP.app/Contents/bin/idea.vmoptions
05/03/15 11:50:30,622 idea[4244]: Done
05/03/15 11:50:30,623 idea[4244]: Processing VMOptions file at /Users/phill/Library/Preferences/IntelliJIdea14/idea.vmoptions
05/03/15 11:50:30,623 idea[4244]: Done
05/03/15 11:50:30,623 idea[4244]: Processing VMOptions file at
05/03/15 11:50:30,624 idea[4244]: No content found
05/03/15 11:50:32,000 kernel[0]: idea (map: 0xffffff802e7c91e0) triggered DYLD shared region unnest for map: 0xffffff802e7c91e0, region 0x7fff90000000->0x7fff90200000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
05/03/15 11:50:36,000 kernel[0]: Sandbox: idea(4244) System Policy: deny file-write-unlink /Users/phill/Library/Saved Application State/com.jetbrains.intellij-EAP.savedState/restorecount.plist

14 comments
Comment actions Permalink

Is IDEA splash screen shown?
Please attach thread dump according to https://intellij-support.jetbrains.com/entries/23348667

0
Comment actions Permalink

No the splash screen doesn't show, here's the error when opening from the terminal:

Silva% /Applications/IntelliJ\ IDEA\ 14\ EAP.app/Contents/MacOS/idea; exit;
2015-03-06 05:51:13.329 idea[6037:43799] Value of IDEA_JDK: (null)
2015-03-06 05:51:13.337 idea[6037:43805] fullFileName is: /Applications/IntelliJ IDEA 14 EAP.app/Contents/bin/idea.vmoptions
2015-03-06 05:51:13.337 idea[6037:43805] fullFileName exists: /Applications/IntelliJ IDEA 14 EAP.app/Contents/bin/idea.vmoptions
2015-03-06 05:51:13.338 idea[6037:43805] Value of IDEA_VM_OPTIONS is (null)
2015-03-06 05:51:13.338 idea[6037:43805] Processing VMOptions file at /Applications/IntelliJ IDEA 14 EAP.app/Contents/bin/idea.vmoptions
2015-03-06 05:51:13.338 idea[6037:43805] Done
2015-03-06 05:51:13.338 idea[6037:43805] Processing VMOptions file at /Users/phill/Library/Preferences/IntelliJIdea14/idea.vmoptions
2015-03-06 05:51:13.340 idea[6037:43805] No content found
2015-03-06 05:51:13.340 idea[6037:43805] Processing VMOptions file at
2015-03-06 05:51:13.340 idea[6037:43805] No content found
/Applications/IntelliJ IDEA 14 EAP.app/Contents/bin/idea.properties: 'java.endorsed.dirs' already defined
Exception in thread "main" sun.misc.ServiceConfigurationError: javax.imageio.spi.ImageOutputStreamSpi: Provider com.sun.media.imageioimpl.stream.ChannelImageOutputStreamSpi could not be instantiated: java.lang.IllegalArgumentException: vendorName == null!
 at sun.misc.Service.fail(Service.java:120)
 at sun.misc.Service.access$200(Service.java:111)
 at sun.misc.Service$LazyIterator.next(Service.java:284)
 at javax.imageio.spi.IIORegistry.registerApplicationClasspathSpis(IIORegistry.java:190)
 at javax.imageio.spi.IIORegistry.<init>(IIORegistry.java:121)
 at javax.imageio.spi.IIORegistry.getDefaultInstance(IIORegistry.java:142)
 at apple.awt.CToolkit.registerDefaultServices(CToolkit.java:1346)
 at apple.awt.CToolkit.<init>(CToolkit.java:154)
 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
 at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
 at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
 at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
 at java.lang.Class.newInstance0(Class.java:357)
 at java.lang.Class.newInstance(Class.java:310)
 at java.awt.Toolkit$2.run(Toolkit.java:859)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:826)
 at javax.swing.UIManager.initialize(UIManager.java:1427)
 at javax.swing.UIManager.maybeInitialize(UIManager.java:1410)
 at javax.swing.UIManager.getUI(UIManager.java:992)
 at javax.swing.text.JTextComponent.updateUI(JTextComponent.java:332)
 at javax.swing.text.JTextComponent.<init>(JTextComponent.java:306)
 at javax.swing.JEditorPane.<init>(JEditorPane.java:179)
 at javax.swing.JTextPane.<init>(JTextPane.java:73)
 at com.intellij.idea.Main.showMessage(Main.java:228)
 at com.intellij.idea.Main.showMessage(Main.java:215)
 at com.intellij.idea.Main.main(Main.java:84)
Caused by: java.lang.IllegalArgumentException: vendorName == null!
 at javax.imageio.spi.IIOServiceProvider.<init>(IIOServiceProvider.java:59)
 at javax.imageio.spi.ImageOutputStreamSpi.<init>(ImageOutputStreamSpi.java:74)
 at com.sun.media.imageioimpl.stream.ChannelImageOutputStreamSpi.<init>(ChannelImageOutputStreamSpi.java:64)
 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
 at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
 at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
 at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
 at java.lang.Class.newInstance0(Class.java:357)
 at java.lang.Class.newInstance(Class.java:310)
 at sun.misc.Service$LazyIterator.next(Service.java:282)
 ... 24 more

0
Comment actions Permalink

Thanks for the info.
What's the output if IDEA launched with "diff" argument?

/Applications/IntelliJ\ IDEA\ 14\ EAP.app/Contents/MacOS/idea diff

0
Comment actions Permalink

Looks pretty much the same (attached).



Attachment(s):
idea_diff.txt.zip
0
Comment actions Permalink

Could you tell me please which artifact have you used to install IDEA:


installed ideaIU-141.2.2.dmg
or
ideaIU-141.2.2-custom-jdk-bundled.dmg
?
0
Comment actions Permalink

The former - ideaIU-141.2.2.dmg

0
Comment actions Permalink

Can I ask you to install ideaIU-141.2.2-custom-jdk-bundled.dmg and try to run idea in terminal with additional debug info (export IDEA_LAUNCHER_DEBUG="") please ?

0
Comment actions Permalink

Sure (attached)



Attachment(s):
idea_start.txt.zip
0
Comment actions Permalink

OK. Can I ask you to rename IntelliJIdea14 (/Users/phill/Library/Preferences/IntelliJIdea14) and run IDEA in terminal please?

0
Comment actions Permalink

Ok, I did that and chose not to import previous settings.



Attachment(s):
idea_start.txt.zip
0
Comment actions Permalink

According to your log, exception is thrown when loading class com.sun.media.imageioimpl.stream.ChannelImageInputStreamSpi.
The strange thing is that this class isn't bundled with IntelliJ IDEA.
Please execute these commands to find out what jar file contains ChannelImageInputStreamSpi class:

find /Applications/IntelliJ\ IDEA\ 14\ EAP.app/ -name "*.jar" -exec grep -Hsli ChannelImageInputStreamSpi {} \;
find /Users/phill/Library/Application\ Support/ -name "*.jar" -exec grep -Hsli ChannelImageInputStreamSpi {} \;

0
Comment actions Permalink

It wasn't in either of those loactions but I did find it in the JAI extension.

Silva% find /Users/phill/Library/Java -name "*.jar" -exec grep -Hsli ChannelImageInputStreamSpi {} \;

/Users/phill/Library/Java/Extensions/jai_imageio.jar


I renamed my Extensions folder and also my previous ~/Library/Preferences/IntelliJIdea14 folder and the EAP now starts.

0
Comment actions Permalink

Great. Thanks for the info.
It's strange that running ideaIU-141.2.2-custom-jdk-bundled.dmg tried to load external extensions. No, it isn't. See "Important Java Directories on Mac OS X | Extension Libraries": https://developer.apple.com/library/mac/qa/qa1170/_index.html
Btw, how did you install JAI on your Mac-machine?

0

Please sign in to leave a comment.