Database Plugin hangs (MySql)

 Any interaction with the database hangs the IDE.  It looks to be hanging on getting credentials.

 

"AWT-EventQueue-0 2017.3.1#IU-173.3942.4 IDEA, eap:true, os:Linux 4.1.6-201.fc22.x86_64, java-version:JetBrains s.r.o 1.8.0_152-release-1024-b8" prio=0 tid=0x0 nid=0x0 runnable
java.lang.Thread.State: RUNNABLE
(in native)
at com.sun.jna.Native.$$YJP$$invokePointer(Native Method)
at com.sun.jna.Native.invokePointer(Native.java)
at com.sun.jna.Function.invokePointer(Function.java:490)
at com.sun.jna.Function.invokeString(Function.java:654)
at com.sun.jna.Function.invoke(Function.java:427)
at com.sun.jna.Function.invoke(Function.java:354)
at com.sun.jna.Library$Handler.invoke(Library.java:244)
at com.intellij.credentialStore.$Proxy161.secret_password_lookup_sync(Unknown Source)
at com.intellij.credentialStore.SecretCredentialStore.get(linuxSecretLibrary.kt:47)
at com.intellij.credentialStore.CredentialStoreWrapper.get(CredentialStoreWrapper.kt:52)
at com.intellij.ide.passwordSafe.impl.PasswordSafeImpl.get(PasswordSafeImpl.kt:53)
at com.intellij.database.access.DbCredentialManager.get(dbCredentialManager.kt:26)
at com.intellij.database.access.DbCredentialManager.getPasswordAsString(dbCredentialManager.kt:60)
at com.intellij.database.access.DatabaseCredentials.getCredentials(DatabaseCredentials.java:84)
at com.intellij.database.access.DatabaseCredentials.lambda$askCredentialsWhenFailed$1(DatabaseCredentials.java:169)
at com.intellij.database.access.DatabaseCredentials$$Lambda$3267/823974833.get(Unknown Source)
at com.intellij.database.dataSource.AsyncUtil.lambda$null$6(AsyncUtil.java:55)
at com.intellij.database.dataSource.AsyncUtil$$Lambda$3169/144582493.compute(Unknown Source)
at com.intellij.database.dataSource.AsyncUtil.lambda$underProgress$14(AsyncUtil.java:127)
at com.intellij.database.dataSource.AsyncUtil$$Lambda$3170/1973991145.run(Unknown Source)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:495)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:94)
at com.intellij.database.dataSource.AsyncUtil.underProgress(AsyncUtil.java:133)
at com.intellij.database.dataSource.AsyncUtil.underProgress(AsyncUtil.java:127)
at com.intellij.database.dataSource.AsyncUtil.lambda$captureIndicator$7(AsyncUtil.java:55)
at com.intellij.database.dataSource.AsyncUtil$$Lambda$3168/1028851692.get(Unknown Source)
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:495)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:94)
at com.intellij.database.dataSource.AsyncUtil.underProgress(AsyncUtil.java:133)
at com.intellij.database.access.DatabaseCredentials.lambda$invokeLater$2(DatabaseCredentials.java:207)
at com.intellij.database.access.DatabaseCredentials$$Lambda$3269/526167335.run(Unknown Source)
at com.intellij.openapi.wm.impl.FocusManagerImpl.a(FocusManagerImpl.java:643)
at com.intellij.openapi.wm.impl.FocusManagerImpl.a(FocusManagerImpl.java:491)
at com.intellij.openapi.wm.impl.FocusManagerImpl$$Lambda$749/64596202.run(Unknown Source)
at com.intellij.openapi.wm.impl.FocusManagerImpl.a(FocusManagerImpl.java:643)
at com.intellij.openapi.wm.impl.FocusManagerImpl.e(FocusManagerImpl.java:624)
at com.intellij.openapi.wm.impl.FocusManagerImpl.n(FocusManagerImpl.java:594)
at com.intellij.openapi.wm.impl.FocusManagerImpl.a(FocusManagerImpl.java:476)
at com.intellij.openapi.wm.impl.FocusManagerImpl$$Lambda$750/1289273183.run(Unknown Source)
at com.intellij.util.ui.UIUtil.invokeLaterIfNeeded(UIUtil.java:2760)
at com.intellij.openapi.wm.impl.FocusManagerImpl.doWhenFocusSettlesDown(FocusManagerImpl.java:456)
at com.intellij.openapi.wm.impl.FocusManagerImpl.doWhenFocusSettlesDown(FocusManagerImpl.java:489)
at com.intellij.openapi.wm.impl.FocusManagerImpl.a(FocusManagerImpl.java:495)
at com.intellij.openapi.wm.impl.FocusManagerImpl$$Lambda$777/124870981.run(Unknown Source)
at com.intellij.openapi.application.TransactionGuardImpl$2.run(TransactionGuardImpl.java:315)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.a(LaterInvocator.java:424)

 

2 comments
Comment actions Permalink

This may be related to my cert store.

 

2017-12-07 11:22:54,607 [ 305613] INFO - #PrivacyPolicyUpdater - Error updating privacy policy: java.security.cert.CertificateException: java.security.SignatureException: Signature length not correct: got 256 but was expecting 512
2017-12-07 11:23:51,183 [ 362189] ERROR - redentialStore.CredentialStore - secret_password_lookup_sync error code 32730, error message null
java.lang.Throwable: secret_password_lookup_sync error code 32730, error message null
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:136)
at com.intellij.credentialStore.SecretCredentialStore.get(linuxSecretLibrary.kt:146)
at com.intellij.credentialStore.CredentialStoreWrapper.get(CredentialStoreWrapper.kt:52)
at com.intellij.ide.passwordSafe.impl.PasswordSafeImpl.get(PasswordSafeImpl.kt:53)
at com.intellij.database.access.DbCredentialManager$getAsync$1.get(dbCredentialManager.kt:46)
at com.intellij.database.access.DbCredentialManager$getAsync$1.get(dbCredentialManager.kt:21)
at com.intellij.database.dataSource.AsyncUtil.lambda$null$6(AsyncUtil.java:55)
at com.intellij.database.dataSource.AsyncUtil.lambda$underProgress$14(AsyncUtil.java:127)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:495)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:94)
at com.intellij.database.dataSource.AsyncUtil.underProgress(AsyncUtil.java:133)
at com.intellij.database.dataSource.AsyncUtil.underProgress(AsyncUtil.java:127)
at com.intellij.database.dataSource.AsyncUtil.lambda$captureIndicator$7(AsyncUtil.java:55)
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590)
at com.intellij.openapi.application.impl.ApplicationImpl$1.run(ApplicationImpl.java:315)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

0
Comment actions Permalink

I fixed the cert issue, but the secret_password_lookup_sync issue remains.

 

2017-12-07 11:51:24,576 [ 102590] ERROR - redentialStore.CredentialStore - secret_password_lookup_sync error code 32722, error message null
java.lang.Throwable: secret_password_lookup_sync error code 32722, error message null
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:136)
at com.intellij.credentialStore.SecretCredentialStore.get(linuxSecretLibrary.kt:146)
at com.intellij.credentialStore.CredentialStoreWrapper.get(CredentialStoreWrapper.kt:52)
at com.intellij.ide.passwordSafe.impl.PasswordSafeImpl.get(PasswordSafeImpl.kt:53)
at com.intellij.database.access.DbCredentialManager.get(dbCredentialManager.kt:26)
at com.intellij.database.access.DbCredentialManager.getPasswordAsString(dbCredentialManager.kt:60)
at com.intellij.database.access.DatabaseCredentials.getCredentials(DatabaseCredentials.java:84)
at com.intellij.database.dataSource.url.ui.DynamicJdbcUrlEditor.lambda$createAuthBox$1(DynamicJdbcUrlEditor.java:409)
at com.intellij.database.dataSource.LazyPasswordField.getPassword(LazyPasswordField.java:45)
at com.intellij.database.dataSource.url.ui.DynamicJdbcUrlEditor.getPassword(DynamicJdbcUrlEditor.java:591)
at com.intellij.database.dataSource.url.ui.DynamicJdbcUrlEditor.saveSettings(DynamicJdbcUrlEditor.java:379)
at com.intellij.database.dataSource.DataSourceGeneralPanel.saveSettings(DataSourceGeneralPanel.java:101)
at com.intellij.database.dataSource.DataSourceConfigurable.saveGeneralSettings(DataSourceConfigurable.java:262)
at com.intellij.database.dataSource.DataSourceConfigurable.saveData(DataSourceConfigurable.java:242)
at com.intellij.database.dataSource.DataSourceConfigurable.apply(DataSourceConfigurable.java:296)
at com.intellij.database.view.ui.SidePanelItem$DataSourceItem.apply(SidePanelItem.java:194)
at com.intellij.database.view.ui.DatabaseConfigEditorImpl.applyEditorTo(DatabaseConfigEditorImpl.java:350)
at com.intellij.database.view.ui.DatabaseConfigEditorImpl.applyEditorTo(DatabaseConfigEditorImpl.java:85)
at com.intellij.openapi.options.SettingsEditor.applyTo(SettingsEditor.java:102)
at com.intellij.openapi.options.SettingsEditorConfigurable.apply(SettingsEditorConfigurable.java:48)
at com.intellij.openapi.options.ex.SingleConfigurableEditor.doOKAction(SingleConfigurableEditor.java:176)
at com.intellij.database.view.ui.DataSourceManagerDialog.doOKAction(DataSourceManagerDialog.java:218)
at com.intellij.openapi.ui.DialogWrapper$OkAction.doAction(DialogWrapper.java:1877)
at com.intellij.openapi.ui.DialogWrapper$DialogWrapperAction.actionPerformed(DialogWrapper.java:1838)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
at java.awt.Component.processMouseEvent(Component.java:6541)

0

Please sign in to leave a comment.