[jbosstools-issues] [JBoss JIRA] (JBIDE-12234) Defining runtimes using external file - Invalid thread access when defined wrong URL to runtime

Max Rydahl Andersen (JIRA) jira-events at lists.jboss.org
Wed Jan 9 02:34:08 EST 2013


    [ https://issues.jboss.org/browse/JBIDE-12234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12744251#comment-12744251 ] 

Max Rydahl Andersen commented on JBIDE-12234:
---------------------------------------------

last comment says it was done in 4.0.0.Alpha2 - but fix version never updated thus updating it now. Bug still present in 3.3.x but only if url for external runtime has bugs.
                
> Defining runtimes using external file - Invalid thread access when defined wrong URL to runtime
> -----------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-12234
>                 URL: https://issues.jboss.org/browse/JBIDE-12234
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: project-examples, runtime-detection
>    Affects Versions: 3.3.0.Final
>            Reporter: Lucia Jelinkova
>            Assignee: Denis Golovin
>             Fix For: 4.0.0.Alpha2
>
>         Attachments: jbide-12234.patch
>
>
> When the runtime defined in the XML file has wrong URL, the download of that runtime fails (as expected) with Invalid thread access exception. 
> {code}
> An internal error occurred during: "Download 'Portlet Bridge".
> Invalid thread access
> org.eclipse.swt.SWTException: Invalid thread access
> 	at org.eclipse.swt.SWT.error(SWT.java:4282)
> 	at org.eclipse.swt.SWT.error(SWT.java:4197)
> 	at org.eclipse.swt.SWT.error(SWT.java:4168)
> 	at org.eclipse.swt.widgets.Display.error(Display.java:1210)
> 	at org.eclipse.swt.widgets.Display.checkDevice(Display.java:752)
> 	at org.eclipse.swt.widgets.Display.getShells(Display.java:1987)
> 	at org.eclipse.ui.internal.progress.ProgressManagerUtil.getModalShellExcluding(ProgressManagerUtil.java:284)
> 	at org.eclipse.ui.internal.progress.ProgressManagerUtil.getDefaultParent(ProgressManagerUtil.java:338)
> 	at org.eclipse.ui.internal.Workbench$71.getShell(Workbench.java:3883)
> 	at org.jboss.tools.project.examples.dialog.DownloadRuntimeDialog.getActiveShell(DownloadRuntimeDialog.java:518)
> 	at org.jboss.tools.project.examples.dialog.DownloadRuntimeDialog.downloadAndInstall(DownloadRuntimeDialog.java:455)
> 	at org.jboss.tools.project.examples.dialog.DownloadRuntimeDialog.access$5(DownloadRuntimeDialog.java:360)
> 	at org.jboss.tools.project.examples.dialog.DownloadRuntimeDialog$7.run(DownloadRuntimeDialog.java:348)
> 	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
> {code}
> A proper error message should be shown to the user. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list