[jbosstools-issues] [JBoss JIRA] (JBIDE-10081) Error message (in error dialog) is not meaningful when creating a domain fails, because the domain (namespace) already exists.
Andre Dietisheim (JIRA)
jira-events at lists.jboss.org
Mon Mar 12 06:44:48 EDT 2012
[ https://issues.jboss.org/browse/JBIDE-10081?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andre Dietisheim resolved JBIDE-10081.
--------------------------------------
Resolution: Out of Date
the current implemenation reports the following:
{quote}
Could not create domain "1329997507457": A namespace with name '1329997507457' already exists
!STACK 0
com.openshift.express.client.OpenShiftEndpointException: Could not create domain 1329997507457
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.createDomain(OpenShiftService.java:166)
at com.openshift.express.internal.client.InternalUser.createDomain(InternalUser.java:100)
at org.jboss.tools.openshift.express.internal.core.console.UserDelegate.createDomain(UserDelegate.java:125)
at org.jboss.tools.openshift.express.internal.ui.wizard.NewDomainWizardPageModel.createDomain(NewDomainWizardPageModel.java:89)
at org.jboss.tools.openshift.express.internal.ui.wizard.NewDomainDialog$1.run(NewDomainDialog.java:44)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: com.openshift.express.internal.client.httpclient.BadRequestException: {"messages":"","broker_c":["namespace","rhlogin","ssh","app_uuid","debug","alter","cartridge","cart_type","action","app_name","api"],"result":"A namespace with name '1329997507457' already exists","data":"","api_c":["placeholder"],"debug":"","exit_code":1,"api":"1.1.2"}
at com.openshift.express.internal.client.httpclient.UrlConnectionHttpClient.createException(UrlConnectionHttpClient.java:110)
at com.openshift.express.internal.client.httpclient.UrlConnectionHttpClient.post(UrlConnectionHttpClient.java:76)
at com.openshift.express.client.OpenShiftService.sendRequest(OpenShiftService.java:441)
... 7 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:1436)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:234)
at com.openshift.express.internal.client.httpclient.UrlConnectionHttpClient.post(UrlConnectionHttpClient.java:71)
... 8 more
{quote}
The error unfortunately only makes it to the log, the error dialog disappears immediately: JBIDE-11139
> Error message (in error dialog) is not meaningful when creating a domain fails, because the domain (namespace) already exists.
> ------------------------------------------------------------------------------------------------------------------------------
>
> Key: JBIDE-10081
> URL: https://issues.jboss.org/browse/JBIDE-10081
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 3.3.0.M4
> Reporter: Pavol Srna
> Assignee: Andre Dietisheim
> Fix For: 3.3.0.Beta2
>
> Attachments: log.txt
>
>
> Could not create domain. An exception is thrown when selected domain name already exists.
--
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