[jbosstools-issues] [JBoss JIRA] Resolved: (JBIDE-6970) IllegalArgumentException When Clicking Copy Url In PublishedLocationsDialog

Dan Florian (JIRA) jira-events at lists.jboss.org
Wed Sep 1 17:51:11 EDT 2010


     [ https://jira.jboss.org/browse/JBIDE-6970?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Florian resolved JBIDE-6970.
--------------------------------

    Resolution: Done


Disabled the "Copy URL" button when it is constructed. When the user selects a row in the table it is enabled.

> IllegalArgumentException When Clicking Copy Url In PublishedLocationsDialog
> ---------------------------------------------------------------------------
>
>                 Key: JBIDE-6970
>                 URL: https://jira.jboss.org/browse/JBIDE-6970
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: modeshape
>    Affects Versions: 3.2.0.M1
>            Reporter: Dan Florian
>            Assignee: Dan Florian
>            Priority: Critical
>             Fix For: 3.2.0.M2
>
>
> The "Copy URL" button is initially enabled and shouldn't be. It should only be enabled when there is a selection in the table.
> java.lang.IllegalArgumentException: The workspace argument may not be null
> at org.modeshape.common.util.CheckArg.isNotNull(CheckArg.java:387)
> at org.modeshape.web.jcr.rest.client.json.JsonRestClient.getUrl(JsonRestClient.java:229)
> at org.jboss.tools.modeshape.rest.ServerManager.getUrl(ServerManager.java:271)
> at org.jboss.tools.modeshape.rest.dialogs.PublishedLocationsDialog.getPublishedAtUrl(PublishedLocationsDialog.java:284)
> at org.jboss.tools.modeshape.rest.dialogs.PublishedLocationsDialog.handleCopyUrl(PublishedLocationsDialog.java:305)
> at org.jboss.tools.modeshape.rest.dialogs.PublishedLocationsDialog$2.widgetSelected(PublishedLocationsDialog.java:255)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list