java - PyCharm startup failure -
my pycharm fails startup after reboot of system updates, disappears after showing splash screen.
when tried start command line, shows following error:
c:\program files (x86)\jetbrains\pycharm community edition 4.5.3\bin>pycharm.bat java hotspot(tm) server vm warning: ignoring option maxpermsize=250m; support removed in 8.0 start failed: internal error. please report https://youtrack.jetbrains.com java.lang.reflect.invocationtargetexception @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:62) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43) @ java.lang.reflect.method.invoke(method.java:497) @ com.intellij.ide.bootstrap.main(bootstrap.java:39) @ com.intellij.idea.main.main(main.java:83) caused by: java.lang.exceptionininitializererror @ com.intellij.util.ui.uiutil.isunderdarcula(uiutil.java:1295) @ com.intellij.ui.jbcolor.<clinit>(jbcolor.java:34) @ com.intellij.util.ui.uiutil.<clinit>(uiutil.java:232) @ com.intellij.ide.plugins.pluginmanager.start(pluginmanager.java:71) ... 6 more caused by: java.lang.illegalargumentexception: 36 incompatible text-specific lcd contrast key @ java.awt.renderinghints.put(renderinghints.java:1075) @ sun.awt.windows.wdesktopproperties.getdesktopaahints(wdesktopproperties.java:312) @ sun.awt.windows.wtoolkit.getdesktopaahints(wtoolkit.java:1035) @ sun.awt.suntoolkit.getdesktopfonthints(suntoolkit.java:1848) @ sun.awt.windows.wdesktopproperties.getproperties(wdesktopproperties.java:249) @ sun.awt.windows.wtoolkit.lazilyinitwprops(wtoolkit.java:911) @ sun.awt.windows.wtoolkit.lazilyloaddesktopproperty(wtoolkit.java:900) @ java.awt.toolkit.getdesktopproperty(toolkit.java:1803) @ javax.swing.uimanager.<clinit>(uimanager.java:380) ... 10 more also, ui exception occurred on attempt show above message: java.lang.noclassdeffounderror: not initialize class javax.swing.uimanager @ javax.swing.text.jtextcomponent.updateui(jtextcomponent.java:338) @ javax.swing.text.jtextcomponent.<init>(jtextcomponent.java:312) @ javax.swing.jeditorpane.<init>(jeditorpane.java:199) @ javax.swing.jtextpane.<init>(jtextpane.java:90) @ com.intellij.idea.main.showmessage(main.java:231) @ com.intellij.idea.main.showmessage(main.java:217) @ com.intellij.idea.main.main(main.java:86)
noticed says "incompatible text-specific lcd contrast key", started trying various display settings in pc, , found if turn off "cleartype", able startup successfully.
how can fix without turning off cleartype?
ok, found out reason. there setting in registry might read pycharm, , causes crash:
hkey_current_user\control panel\desktop\fontsmoothinggamma
i manually added key while ago, trying improve cleartype text displaying, referring this link.
after deleting key, pycharm can started cleartype enabled.
Comments
Post a Comment