This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Used different credentials for a saved database connection - user/password changed. SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor org.netbeans.spi.editor.completion.support.AsyncCompletionTask java.lang.IllegalStateException: This connection is not added to the ConnectionManager. at org.netbeans.api.db.explorer.DatabaseConnection.getJDBCConnection(DatabaseConnection.java:337) at org.netbeans.modules.db.explorer.metadata.MetadataModelManager$1.run(MetadataModelManager.java:101) at org.netbeans.modules.db.explorer.metadata.MetadataModelManager$1.run(MetadataModelManager.java:98) at org.openide.util.Mutex$1AWTWorker.run(Mutex.java:1386) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:301) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:744) at java.awt.EventQueue.access$400(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:697) at java.awt.EventQueue$3.run(EventQueue.java:691) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75) at java.awt.EventQueue.dispatchEvent(EventQueue.java:714) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159) 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) [catch] at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Hello, thank you for the report. Do you have steps to reproduce?
As far as I remember: I have a saved connection with username 'root' and some password. This changed on the db, so when trying to connect (invoked by ctrl-enter) a dialog shows the permission denied problem. In that dialog I change the credentials to the new credentials that work. Exception appears.
*** This bug has been marked as a duplicate of bug 237348 ***