Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-6970

IllegalArgumentException When Clicking Copy Url In PublishedLocationsDialog

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 3.2.0.M2
    • 3.2.0.M1
    • modeshape
    • None

      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)

              jpeterka_jira Jiri Peterka (Inactive)
              dflorian@redhat.com Daniel Florian (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: