-
Bug
-
Resolution: Done
-
Major
-
3.3.0.Beta1
-
None
When I try to rename a domain on OpenShift Express Console View to a long string (e. g. 12345678901234567) and click Finish button an exception is thrown and logged into Error log. No error message is displayed to the user.
com.openshift.express.client.OpenShiftEndpointException: Could not change domain to 12345678901234567 at com.openshift.express.client.OpenShiftService.sendRequest(OpenShiftService.java:454) at com.openshift.express.client.OpenShiftService.requestDomainAction(OpenShiftService.java:182) at com.openshift.express.client.OpenShiftService.changeDomain(OpenShiftService.java:175) at com.openshift.express.internal.client.Domain.setNamespace(Domain.java:52) at org.jboss.tools.openshift.express.internal.ui.wizard.EditDomainWizardPageModel.renameDomain(EditDomainWizardPageModel.java:53) at org.jboss.tools.openshift.express.internal.ui.wizard.EditDomainDialog$1.run(EditDomainDialog.java:50) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Caused by: com.openshift.express.internal.client.httpclient.BadRequestException: {"api_c":["placeholder"],"debug":"","broker_c":["namespace","rhlogin","ssh","app_uuid","debug","alter","cartridge","cart_type","action","app_name","api"],"messages":"","result":"The namespace you entered (12345678901234567) is not available for use. Please choose another one.","data":"","api":"1.1.2","exit_code":106} at com.openshift.express.internal.client.httpclient.UrlConnectionHttpClient.createHttpClientException(UrlConnectionHttpClient.java:108) at com.openshift.express.internal.client.httpclient.UrlConnectionHttpClient.post(UrlConnectionHttpClient.java:74) at com.openshift.express.client.OpenShiftService.sendRequest(OpenShiftService.java:441) ... 6 more Caused by: java.io.IOException: Server returned HTTP response code: 400 for URL: https://openshift.redhat.com/broker/domain at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1403) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254) at com.openshift.express.internal.client.httpclient.UrlConnectionHttpClient.post(UrlConnectionHttpClient.java:69) ... 7 more
- is related to
-
JBIDE-11112 Exception when providing an empty domain name
- Closed
-
JBIDE-11139 No problem popup appears when an error occurs while editing domain name
- Closed