Commit fc5c15e
committed
Fix bug of sp login:
java.lang.IllegalStateException: Attempt to mutate in notification
at java.desktop/javax.swing.text.AbstractDocument.writeLock(AbstractDocument.java:1349)
at java.desktop/javax.swing.text.AbstractDocument.replace(AbstractDocument.java:664)
at java.desktop/javax.swing.text.JTextComponent.setText(JTextComponent.java:1729)
at com.microsoft.intellij.ui.ServicePrincipalLoginDialog.lambda$json2UIComponents$7(ServicePrincipalLoginDialog.java:291)
at com.intellij.openapi.application.impl.ApplicationImpl.invokeAndWait(ApplicationImpl.java:463)
at com.intellij.openapi.application.impl.ApplicationImpl.invokeAndWait(ApplicationImpl.java:481)
at com.microsoft.intellij.ui.ServicePrincipalLoginDialog.json2UIComponents(ServicePrincipalLoginDialog.java:285)
at com.microsoft.intellij.ui.ServicePrincipalLoginDialog$3.documentChanged(ServicePrincipalLoginDialog.java:121)
at com.intellij.ui.EditorTextField.documentChanged(EditorTextField.java:218)
at com.intellij.openapi.editor.impl.DocumentImpl.changedUpdate(DocumentImpl.java:915)
at com.intellij.openapi.editor.impl.DocumentImpl.updateText(DocumentImpl.java:819)1 parent 729f390 commit fc5c15e
File tree
2 files changed
+30
-32
lines changed- PluginsAndFeatures/azure-toolkit-for-intellij/src/com/microsoft/intellij/ui
- Utils/azuretools-core/src/com/microsoft/azuretools/authmanage
2 files changed
+30
-32
lines changedLines changed: 28 additions & 29 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
276 | 276 | | |
277 | 277 | | |
278 | 278 | | |
279 | | - | |
280 | 279 | | |
281 | | - | |
282 | | - | |
283 | | - | |
284 | | - | |
285 | | - | |
286 | | - | |
287 | | - | |
288 | | - | |
289 | | - | |
290 | | - | |
291 | | - | |
292 | | - | |
293 | | - | |
294 | | - | |
295 | | - | |
296 | | - | |
297 | | - | |
298 | | - | |
299 | | - | |
300 | | - | |
301 | | - | |
302 | | - | |
303 | | - | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
304 | 304 | | |
305 | 305 | | |
306 | | - | |
307 | | - | |
308 | | - | |
| 306 | + | |
309 | 307 | | |
310 | | - | |
311 | | - | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
312 | 311 | | |
313 | 312 | | |
314 | 313 | | |
| |||
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
296 | 296 | | |
297 | 297 | | |
298 | 298 | | |
299 | | - | |
| 299 | + | |
300 | 300 | | |
301 | 301 | | |
302 | | - | |
| 302 | + | |
303 | 303 | | |
304 | 304 | | |
305 | 305 | | |
| |||
308 | 308 | | |
309 | 309 | | |
310 | 310 | | |
311 | | - | |
312 | 311 | | |
313 | 312 | | |
314 | 313 | | |
| |||
0 commit comments