[jbosstools-issues] [JBoss JIRA] (JBIDE-22471) Explorer: connection (without stored token) stays "Loading" after I provided the token
Dmitry Bocharov (JIRA)
issues at jboss.org
Mon Jun 6 12:39:00 EDT 2016
[ https://issues.jboss.org/browse/JBIDE-22471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13248517#comment-13248517 ]
Dmitry Bocharov commented on JBIDE-22471:
-----------------------------------------
UPDATE
It seems (i really hope) that i've become closer to resolve it.
When we try to expand the connection (without stored token) Connection.authorize() is called from 2 places:
1) from OpenShiftExplorerContentProvider:
Thread [Worker-11] (Suspended (breakpoint at line 289 in Connection))
Connection.authorize() line: 289
Connection.connect() line: 259
Connection.retryList(String, OpenShiftException, String, String) line: 555
Connection.getResources(String, String) line: 479
Connection.getResources(String) line: 468
OpenShiftProjectCache.getProjectsFor(IOpenShiftConnection) line: 58
OpenShiftExplorerContentProvider.getChildrenFor(Object) line: 93
BaseExplorerContentProvider$1.run(IProgressMonitor) line: 167
Worker.run() line: 55
2) from ConnectionWizardPageModel
Thread [Worker-6] (Suspended (breakpoint at line 289 in Connection))
Connection.authorize() line: 289
Connection.connect() line: 259
ConnectionWizardPageModel.connect() line: 355
ConnectionWizardPage$ConnectJob.doRun(IProgressMonitor) line: 479
ConnectionWizardPage$ConnectJob(AbstractDelegatingMonitorJob).run(IProgressMonitor) line: 37
Worker.run() line: 55
But when we store the token, it is called only from OpenShiftExplorerContentProvider.
So i think that is where the conflict (and race condition) happens.
> Explorer: connection (without stored token) stays "Loading" after I provided the token
> --------------------------------------------------------------------------------------
>
> Key: JBIDE-22471
> URL: https://issues.jboss.org/browse/JBIDE-22471
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.4.0.Alpha2
> Reporter: Andre Dietisheim
> Assignee: Dmitry Bocharov
> Labels: explorer, openshift_v3
> Fix For: 4.4.x
>
> Attachments: explorer-not-refreshed.png
>
> Original Estimate: 2 days
> Remaining Estimate: 2 days
>
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jbosstools-issues
mailing list