[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-8564) jboss tools model update error

Viacheslav Kabanovich (JIRA) jira-events at lists.jboss.org
Mon Mar 14 12:07:45 EDT 2011


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

Viacheslav Kabanovich commented on JBIDE-8564:
----------------------------------------------

The dialog was intended for a case, when file is removed externally, while model object is modified. At present, that is intercepted by similar service in Eclipse, so that our dialog should not appear.
If it ever appears, it will have text 'File {0} is removed from the disk.\n Do you want to save your changes?' and buttons "Yes", "No".

> jboss tools model update error
> ------------------------------
>
>                 Key: JBIDE-8564
>                 URL: https://issues.jboss.org/browse/JBIDE-8564
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 3.2.0.Final
>            Reporter: Max Rydahl Andersen
>            Assignee: Viacheslav Kabanovich
>            Priority: Critical
>             Fix For: 3.2.1, 3.3.0.M1
>
>
> I was saving a pom.xml file and suddenly got an error message saying this:
> org.eclipse.core.runtime.AssertionFailedException: null argument:The dialog should be created in UI thread
> at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:85)
> at org.eclipse.jface.dialogs.IconAndMessageDialog.getSWTImage(IconAndMessageDialog.java:282)
> at org.eclipse.jface.dialogs.IconAndMessageDialog.getQuestionImage(IconAndMessageDialog.java:260)
> at org.eclipse.jface.dialogs.MessageDialog.<init>(MessageDialog.java:189)
> at org.jboss.tools.common.model.ui.wizards.one.ServiceDialogImpl.showDialog(ServiceDialogImpl.java:62)
> at org.jboss.tools.common.model.filesystems.impl.FolderImpl.question(FolderImpl.java:773)
> at org.jboss.tools.common.model.filesystems.impl.FolderImpl.updateRemove(FolderImpl.java:724)
> at org.jboss.tools.common.model.filesystems.impl.FolderImpl.update(FolderImpl.java:416)
> at org.jboss.tools.common.model.filesystems.impl.FileSystemFolderLoader.update(FileSystemFolderLoader.java:28)
> at org.jboss.tools.common.model.filesystems.impl.FileSystemsLoader.update(FileSystemsLoader.java:68)
> at org.jboss.tools.common.model.filesystems.impl.FileSystemsImpl.doUpdate(FileSystemsImpl.java:343)
> at org.jboss.tools.common.model.filesystems.impl.FileSystemsImpl.access$4(FileSystemsImpl.java:337)
> at org.jboss.tools.common.model.filesystems.impl.FileSystemsImpl$UpdateRunnable.run(FileSystemsImpl.java:326)
> at org.jboss.tools.common.model.XJob.runInWorkspace(XJob.java:178)
> at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
> So something went wrong - and I guess its trying to show an error dialog but its done from non-ui thread.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list