Uploaded image for project: 'Teiid Designer'
  1. Teiid Designer
  2. TEIIDDES-986

REST WAR Generator Dialog Exception In Log

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 7.4
    • 7.4
    • Web Services Support
    • None

      Exception didn't seem to affect anything and was not visible to user. Need to check to make sure you're not passing null to Text.setText(String). That method is called a number of times in the RestWarDeploymentInfoPanel.

      java.lang.IllegalArgumentException: Argument cannot be null
      at org.eclipse.swt.SWT.error(SWT.java:4064)
      at org.eclipse.swt.SWT.error(SWT.java:3998)
      at org.eclipse.swt.SWT.error(SWT.java:3969)
      at org.eclipse.swt.widgets.Widget.error(Widget.java:715)
      at org.eclipse.swt.widgets.Text.setText(Text.java:1870)
      at org.teiid.designer.dqp.webservice.war.ui.wizards.RestWarDeploymentInfoPanel.loadData(RestWarDeploymentInfoPanel.java:98)
      at org.teiid.designer.dqp.webservice.war.ui.wizards.RestWarDeploymentInfoDialog.loadDefault(RestWarDeploymentInfoDialog.java:237)
      at org.teiid.designer.dqp.webservice.war.ui.wizards.RestWarDeploymentInfoDialog.createButtonsForButtonBar(RestWarDeploymentInfoDialog.java:135)
      at org.eclipse.jface.dialogs.Dialog.createButtonBar(Dialog.java:672)
      at org.eclipse.jface.dialogs.TrayDialog.createButtonBar(TrayDialog.java:200)
      at org.eclipse.jface.dialogs.TitleAreaDialog.createContents(TitleAreaDialog.java:156)
      at org.eclipse.jface.window.Window.create(Window.java:431)
      at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1089)
      at org.eclipse.jface.window.Window.open(Window.java:790)
      at org.teiid.designer.dqp.webservice.war.ui.wizards.RestWarDeploymentInfoDialog.open(RestWarDeploymentInfoDialog.java:173)
      at org.teiid.designer.runtime.ui.GenerateRestWarAction.run(GenerateRestWarAction.java:127)

              rhn-engineering-tejones Edwin Jones
              dflorian@redhat.com Daniel Florian (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: