[jbosstools-issues] [JBoss JIRA] (JBIDE-11112) Exception when providing an empty domain name
Lucia Jelinkova (JIRA)
jira-events at lists.jboss.org
Wed Feb 29 07:27:36 EST 2012
Lucia Jelinkova created JBIDE-11112:
---------------------------------------
Summary: Exception when providing an empty domain name
Key: JBIDE-11112
URL: https://issues.jboss.org/browse/JBIDE-11112
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: openshift
Affects Versions: 3.3.0.Beta1
Reporter: Lucia Jelinkova
Assignee: Andre Dietisheim
Fix For: 3.3.0.Beta1
When I try to rename a domain on OpenShift Express Console View to empty string no validation occurs but after clicking Finish button an exception is thrown and logged into Error log.
{code}
com.openshift.express.client.OpenShiftEndpointException: Could not change domain to
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: {"result":"Invalid namespace: ","messages":"","data":"","api":"1.1.2","debug":"","broker_c":["namespace","rhlogin","ssh","app_uuid","debug","alter","cartridge","cart_type","action","app_name","api"],"api_c":["placeholder"],"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
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list