Search feature broken in 2017.1 on Ubuntu
When I try search for Strings or try to use the serach in project / files feature no search window / form is opening and I am getting following error:
net.miginfocom.swing.SwingComponentWrapper.getContentBias()I
java.lang.AbstractMethodError: net.miginfocom.swing.SwingComponentWrapper.getContentBias()I
at net.miginfocom.layout.Grid$CompWrap.validateSize(Grid.java:1788)
at net.miginfocom.layout.Grid$CompWrap.getSizes(Grid.java:1776)
at net.miginfocom.layout.Grid$CompWrap.getSize(Grid.java:1979)
at net.miginfocom.layout.Grid$CompWrap.getSizeInclGaps(Grid.java:1974)
at net.miginfocom.layout.Grid$CompWrap.access$5300(Grid.java:1735)
at net.miginfocom.layout.Grid.getTotalSizeParallel(Grid.java:2189)
at net.miginfocom.layout.Grid.access$4400(Grid.java:42)
at net.miginfocom.layout.Grid$LinkedDimGroup.getMinPrefMax(Grid.java:1716)
at net.miginfocom.layout.Grid$LinkedDimGroup.access$3300(Grid.java:1652)
at net.miginfocom.layout.Grid.getTotalGroupsSizeParallel(Grid.java:2222)
at net.miginfocom.layout.Grid.calcRowsOrColsSizes(Grid.java:1173)
at net.miginfocom.layout.Grid.calcGridSizes(Grid.java:634)
at net.miginfocom.layout.Grid.checkSizeCalcs(Grid.java:620)
at net.miginfocom.layout.Grid.layoutImpl(Grid.java:483)
at net.miginfocom.layout.Grid.layout(Grid.java:449)
at net.miginfocom.swing.MigLayout.layoutContainer(Unknown Source)
at java.awt.Container.layout(Container.java:1510)
at java.awt.Container.doLayout(Container.java:1499)
at com.intellij.find.SearchTextArea.updateIconsLayout(SearchTextArea.java:231)
at com.intellij.find.SearchTextArea.updateLayout(SearchTextArea.java:192)
at com.intellij.find.SearchTextArea.<init>(SearchTextArea.java:178)
at com.intellij.find.SearchTextArea.<init>(SearchTextArea.java:89)
at com.intellij.find.SearchTextArea.<init>(SearchTextArea.java:85)
at com.intellij.find.SearchReplaceComponent.updateTextComponent(SearchReplaceComponent.java:433)
at com.intellij.find.SearchReplaceComponent.updateSearchComponent(SearchReplaceComponent.java:308)
at com.intellij.find.SearchReplaceComponent.update(SearchReplaceComponent.java:373)
at com.intellij.find.SearchReplaceComponent.<init>(SearchReplaceComponent.java:195)
at com.intellij.find.SearchReplaceComponent.<init>(SearchReplaceComponent.java:59)
at com.intellij.find.SearchReplaceComponent$Builder.build(SearchReplaceComponent.java:691)
at com.intellij.find.EditorSearchSession.<init>(EditorSearchSession.java:129)
at com.intellij.find.EditorSearchSession.start(EditorSearchSession.java:196)
at com.intellij.openapi.editor.actions.IncrementalFindAction$Handler.execute(IncrementalFindAction.java:61)
at com.intellij.openapi.editor.actionSystem.EditorActionHandler.doExecute(EditorActionHandler.java:172)
at com.intellij.openapi.editor.actionSystem.EditorActionHandler$4.perform(EditorActionHandler.java:217)
at com.intellij.openapi.editor.actionSystem.EditorActionHandler.doIfEnabled(EditorActionHandler.java:109)
at com.intellij.openapi.editor.actionSystem.EditorActionHandler.execute(EditorActionHandler.java:214)
at com.intellij.openapi.editor.actionSystem.EditorAction.lambda$actionPerformed$0(EditorAction.java:98)
at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:149)
at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:109)
at com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(EditorAction.java:107)
at com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(EditorAction.java:86)
at com.intellij.openapi.actionSystem.ex.ActionUtil$1.run(ActionUtil.java:215)
at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:232)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher$1.performAction(IdeKeyEventDispatcher.java:570)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.lambda$processAction$2(IdeKeyEventDispatcher.java:619)
at com.intellij.openapi.application.TransactionGuardImpl.performUserActivity(TransactionGuardImpl.java:193)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.processAction(IdeKeyEventDispatcher.java:618)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.inInitState(IdeKeyEventDispatcher.java:477)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:211)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:633)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:365)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
This is happening when I use the menü in the IDE and also when I am pressing the short keys.
I am using Ubuntu 16.04.2. Here is some more environment info:
PyCharm Community Edition 2017.1
Build #PC-171.3780.115, built on March 24, 2017
JRE: 1.8.0_112-release-736-b13 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 4.4.0-71-generic
Please sign in to leave a comment.
Looks similar to https://youtrack.jetbrains.com/issue/IDEA-170192...
Can you try re-installing from scratch? Try deleting
~/.PyCharm2017.1folder along with the installation directory, and then extract the downloaded package into the empty folder - does the problem persist?Yes removing all Pycharm related configuration directories and a new installation of Pycharm did fix the issue.
Thank you