[JBoss JIRA] (JBIDE-22423) Edit resources: Cannot edit build config resource
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-22423?page=com.atlassian.jira.plugi... ]
Andre Dietisheim updated JBIDE-22423:
-------------------------------------
Steps to Reproduce:
ASSERT: Have an application based on eap 6.4 template.
EXEC: Select build config in Properties view.
EXEC: Select context menu item Edit... and change build config and try to save.
RESULT: Error pops up.
!error-saving-buildconfig.png!
EXPECTED RESULT: Build config is changed and saved successfully.
was:
ASSERT: Have an application based on eap 6.4 template.
EXEC: Select build config in Properties view.
EXEC: Select context menu item Edit... and change build config and try to save.
RESULT: Error pops up.
EXPECTED RESULT: Build config is changed and saved successfully.
> Edit resources: Cannot edit build config resource
> -------------------------------------------------
>
> Key: JBIDE-22423
> URL: https://issues.jboss.org/browse/JBIDE-22423
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.4.0.Alpha2
> Reporter: Marián Labuda
> Assignee: Jeff Cantrill
> Labels: openshift_v3, resource_editor
> Fix For: 4.4.0.Alpha3
>
> Attachments: error-saving-buildconfig.png
>
>
> When I am trying to edit build config resource, I get an error. See stack trace below. Problem causes key value pair "from" : {} in image change trigger. I don't know why it is added here, but output from oc binary (oc get bc eap-app -o json) does not show this key value in json (it's the only difference).
> See stack trace of the error
> {code}
> Could not update "[eapapp] Build Config : eap-app.json" for project "eapapp" : BuildConfig "eap-app" is invalid: triggers[2].imageChange.from.kind: invalid value '', Details: only an ImageStreamTag type of reference is allowed in an ImageChange trigger.
> com.openshift.restclient.OpenShiftException: Could not update resource eap-app: {
> "kind": "Status",
> "apiVersion": "v1",
> "metadata": {},
> "status": "Failure",
> "message": "BuildConfig \"eap-app\" is invalid: triggers[2].imageChange.from.kind: invalid value '', Details: only an ImageStreamTag type of reference is allowed in an ImageChange trigger.",
> "reason": "Invalid",
> "details": {
> "name": "eap-app",
> "kind": "BuildConfig",
> "causes": [
> {
> "reason": "FieldValueInvalid",
> "message": "invalid value '', Details: only an ImageStreamTag type of reference is allowed in an ImageChange trigger.",
> "field": "triggers[2].imageChange.from.kind"
> }
> ]
> },
> "code": 422
> }
> at com.openshift.internal.restclient.DefaultClient.createOpenShiftException(DefaultClient.java:488)
> at com.openshift.internal.restclient.DefaultClient.update(DefaultClient.java:254)
> at org.jboss.tools.openshift.internal.ui.property.OpenShiftResourceDocumentProvider$2.run(OpenShiftResourceDocumentProvider.java:131)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
> Caused by: com.openshift.internal.restclient.http.HttpClientException: {
> "kind": "Status",
> "apiVersion": "v1",
> "metadata": {},
> "status": "Failure",
> "message": "BuildConfig \"eap-app\" is invalid: triggers[2].imageChange.from.kind: invalid value '', Details: only an ImageStreamTag type of reference is allowed in an ImageChange trigger.",
> "reason": "Invalid",
> "details": {
> "name": "eap-app",
> "kind": "BuildConfig",
> "causes": [
> {
> "reason": "FieldValueInvalid",
> "message": "invalid value '', Details: only an ImageStreamTag type of reference is allowed in an ImageChange trigger.",
> "field": "triggers[2].imageChange.from.kind"
> }
> ]
> },
> "code": 422
> }
> at com.openshift.internal.restclient.http.UrlConnectionHttpClient.createException(UrlConnectionHttpClient.java:278)
> at com.openshift.internal.restclient.http.UrlConnectionHttpClient.request(UrlConnectionHttpClient.java:243)
> at com.openshift.internal.restclient.http.UrlConnectionHttpClient.put(UrlConnectionHttpClient.java:165)
> at com.openshift.internal.restclient.DefaultClient.update(DefaultClient.java:250)
> ... 2 more
> Caused by: java.io.IOException: Server returned HTTP response code: 422 for URL: https://10.1.2.2:8443/oapi/v1/namespaces/eapapp/buildconfigs/eap-app
> at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1840)
> at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)
> at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
> at com.openshift.internal.restclient.http.UrlConnectionHttpClient.request(UrlConnectionHttpClient.java:239)
> ... 4 more
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 10 months
[JBoss JIRA] (JBIDE-22423) Edit resources: Cannot edit build config resource
by Fred Bricon (JIRA)
[ https://issues.jboss.org/browse/JBIDE-22423?page=com.atlassian.jira.plugi... ]
Fred Bricon updated JBIDE-22423:
--------------------------------
Steps to Reproduce:
ASSERT: Have an application based on eap 6.4 template.
EXEC: Select build config in Properties view.
EXEC: Select context menu item Edit... and change build config and try to save.
RESULT: Error pops up.
EXPECTED RESULT: Build config is changed and saved successfully.
was:
ASSERT: Have an application based on eap 6.4 template.
EXEC: Select build config in Properties view.
EXEC: Select context menu item Edit... and change build config and try to save.
RESULT: Error pops up.
!error-saving-buildconfig.png!
EXPECTED RESULT: Build config is changed and saved successfully.
Sprint: devex #115 May 2016
> Edit resources: Cannot edit build config resource
> -------------------------------------------------
>
> Key: JBIDE-22423
> URL: https://issues.jboss.org/browse/JBIDE-22423
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.4.0.Alpha2
> Reporter: Marián Labuda
> Assignee: Jeff Cantrill
> Labels: openshift_v3, resource_editor
> Fix For: 4.4.0.Alpha3
>
> Attachments: error-saving-buildconfig.png
>
>
> When I am trying to edit build config resource, I get an error. See stack trace below. Problem causes key value pair "from" : {} in image change trigger. I don't know why it is added here, but output from oc binary (oc get bc eap-app -o json) does not show this key value in json (it's the only difference).
> See stack trace of the error
> {code}
> Could not update "[eapapp] Build Config : eap-app.json" for project "eapapp" : BuildConfig "eap-app" is invalid: triggers[2].imageChange.from.kind: invalid value '', Details: only an ImageStreamTag type of reference is allowed in an ImageChange trigger.
> com.openshift.restclient.OpenShiftException: Could not update resource eap-app: {
> "kind": "Status",
> "apiVersion": "v1",
> "metadata": {},
> "status": "Failure",
> "message": "BuildConfig \"eap-app\" is invalid: triggers[2].imageChange.from.kind: invalid value '', Details: only an ImageStreamTag type of reference is allowed in an ImageChange trigger.",
> "reason": "Invalid",
> "details": {
> "name": "eap-app",
> "kind": "BuildConfig",
> "causes": [
> {
> "reason": "FieldValueInvalid",
> "message": "invalid value '', Details: only an ImageStreamTag type of reference is allowed in an ImageChange trigger.",
> "field": "triggers[2].imageChange.from.kind"
> }
> ]
> },
> "code": 422
> }
> at com.openshift.internal.restclient.DefaultClient.createOpenShiftException(DefaultClient.java:488)
> at com.openshift.internal.restclient.DefaultClient.update(DefaultClient.java:254)
> at org.jboss.tools.openshift.internal.ui.property.OpenShiftResourceDocumentProvider$2.run(OpenShiftResourceDocumentProvider.java:131)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
> Caused by: com.openshift.internal.restclient.http.HttpClientException: {
> "kind": "Status",
> "apiVersion": "v1",
> "metadata": {},
> "status": "Failure",
> "message": "BuildConfig \"eap-app\" is invalid: triggers[2].imageChange.from.kind: invalid value '', Details: only an ImageStreamTag type of reference is allowed in an ImageChange trigger.",
> "reason": "Invalid",
> "details": {
> "name": "eap-app",
> "kind": "BuildConfig",
> "causes": [
> {
> "reason": "FieldValueInvalid",
> "message": "invalid value '', Details: only an ImageStreamTag type of reference is allowed in an ImageChange trigger.",
> "field": "triggers[2].imageChange.from.kind"
> }
> ]
> },
> "code": 422
> }
> at com.openshift.internal.restclient.http.UrlConnectionHttpClient.createException(UrlConnectionHttpClient.java:278)
> at com.openshift.internal.restclient.http.UrlConnectionHttpClient.request(UrlConnectionHttpClient.java:243)
> at com.openshift.internal.restclient.http.UrlConnectionHttpClient.put(UrlConnectionHttpClient.java:165)
> at com.openshift.internal.restclient.DefaultClient.update(DefaultClient.java:250)
> ... 2 more
> Caused by: java.io.IOException: Server returned HTTP response code: 422 for URL: https://10.1.2.2:8443/oapi/v1/namespaces/eapapp/buildconfigs/eap-app
> at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1840)
> at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)
> at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
> at com.openshift.internal.restclient.http.UrlConnectionHttpClient.request(UrlConnectionHttpClient.java:239)
> ... 4 more
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 10 months
[JBoss JIRA] (JBIDE-22436) Intermittent NullPointerException upon opening helloworld, kitchensink cheat sheets in JBDS
by Fred Bricon (JIRA)
[ https://issues.jboss.org/browse/JBIDE-22436?page=com.atlassian.jira.plugi... ]
Fred Bricon edited comment on JBIDE-22436 at 5/25/16 8:42 AM:
--------------------------------------------------------------
[~snjeza]: is this something you could look at? Seems to be a pure GTK related issue.
was (Author: fbricon):
[~snjeza]: is this something you could look at?
> Intermittent NullPointerException upon opening helloworld, kitchensink cheat sheets in JBDS
> -------------------------------------------------------------------------------------------
>
> Key: JBIDE-22436
> URL: https://issues.jboss.org/browse/JBIDE-22436
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Reporter: Michal Jurc
> Assignee: Sande Gilda
> Attachments: JBIDE-22436-9.1-helloworld.log
>
>
> After finishing the import of {{helloworld}} and {{kitchensink}} quickstarts, the user is prompted whether the cheat sheet for the project should be opened. Upon opening it, JBDS 9.0 and 9.1 produces the following error message:
> {quote}An error has occurred. See error log for more details.
> java.lang.NullPointerException{quote}
> The detailed error log produces the same message.
> The quickstarts and their cheat sheets work even after the prompt with NullPointerException message.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 10 months
[JBoss JIRA] (JBIDE-22436) Intermittent NullPointerException upon opening helloworld, kitchensink cheat sheets in JBDS
by Fred Bricon (JIRA)
[ https://issues.jboss.org/browse/JBIDE-22436?page=com.atlassian.jira.plugi... ]
Fred Bricon commented on JBIDE-22436:
-------------------------------------
[~snjeza]: is this something you could look at?
> Intermittent NullPointerException upon opening helloworld, kitchensink cheat sheets in JBDS
> -------------------------------------------------------------------------------------------
>
> Key: JBIDE-22436
> URL: https://issues.jboss.org/browse/JBIDE-22436
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Reporter: Michal Jurc
> Assignee: Sande Gilda
> Attachments: JBIDE-22436-9.1-helloworld.log
>
>
> After finishing the import of {{helloworld}} and {{kitchensink}} quickstarts, the user is prompted whether the cheat sheet for the project should be opened. Upon opening it, JBDS 9.0 and 9.1 produces the following error message:
> {quote}An error has occurred. See error log for more details.
> java.lang.NullPointerException{quote}
> The detailed error log produces the same message.
> The quickstarts and their cheat sheets work even after the prompt with NullPointerException message.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 10 months
[JBoss JIRA] (JBIDE-22436) Intermittent NullPointerException upon opening helloworld, kitchensink cheat sheets in JBDS
by Sande Gilda (JIRA)
[ https://issues.jboss.org/browse/JBIDE-22436?page=com.atlassian.jira.plugi... ]
Sande Gilda commented on JBIDE-22436:
-------------------------------------
Thanks [~mjurc]!
> Intermittent NullPointerException upon opening helloworld, kitchensink cheat sheets in JBDS
> -------------------------------------------------------------------------------------------
>
> Key: JBIDE-22436
> URL: https://issues.jboss.org/browse/JBIDE-22436
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Reporter: Michal Jurc
> Assignee: Sande Gilda
> Attachments: JBIDE-22436-9.1-helloworld.log
>
>
> After finishing the import of {{helloworld}} and {{kitchensink}} quickstarts, the user is prompted whether the cheat sheet for the project should be opened. Upon opening it, JBDS 9.0 and 9.1 produces the following error message:
> {quote}An error has occurred. See error log for more details.
> java.lang.NullPointerException{quote}
> The detailed error log produces the same message.
> The quickstarts and their cheat sheets work even after the prompt with NullPointerException message.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 10 months
[JBoss JIRA] (JBIDE-22423) Edit resources: Cannot edit build config resource
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-22423?page=com.atlassian.jira.plugi... ]
Andre Dietisheim commented on JBIDE-22423:
------------------------------------------
I can confirm this. It happened to me when I followed the steps above using http://console.engint.openshift.com.
The error is afaiu referring to the following fragment in the build config:
{code}
{
"type" : "ImageChange",
"imageChange" : {
"lastTriggeredImageID" : "registry.access.redhat.com/jboss-eap-6/eap64-openshift:1.2",
"from" : {}
}
}
{code}
[~jcantrill] any idea?
> Edit resources: Cannot edit build config resource
> -------------------------------------------------
>
> Key: JBIDE-22423
> URL: https://issues.jboss.org/browse/JBIDE-22423
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.4.0.Alpha2
> Reporter: Marián Labuda
> Labels: openshift_v3, resource_editor
> Fix For: 4.4.0.Alpha3
>
>
> When I am trying to edit build config resource, I get an error. See stack trace below. Problem causes key value pair "from" : {} in image change trigger. I don't know why it is added here, but output from oc binary (oc get bc eap-app -o json) does not show this key value in json (it's the only difference).
> See stack trace of the error
> {code}
> Could not update "[eapapp] Build Config : eap-app.json" for project "eapapp" : BuildConfig "eap-app" is invalid: triggers[2].imageChange.from.kind: invalid value '', Details: only an ImageStreamTag type of reference is allowed in an ImageChange trigger.
> com.openshift.restclient.OpenShiftException: Could not update resource eap-app: {
> "kind": "Status",
> "apiVersion": "v1",
> "metadata": {},
> "status": "Failure",
> "message": "BuildConfig \"eap-app\" is invalid: triggers[2].imageChange.from.kind: invalid value '', Details: only an ImageStreamTag type of reference is allowed in an ImageChange trigger.",
> "reason": "Invalid",
> "details": {
> "name": "eap-app",
> "kind": "BuildConfig",
> "causes": [
> {
> "reason": "FieldValueInvalid",
> "message": "invalid value '', Details: only an ImageStreamTag type of reference is allowed in an ImageChange trigger.",
> "field": "triggers[2].imageChange.from.kind"
> }
> ]
> },
> "code": 422
> }
> at com.openshift.internal.restclient.DefaultClient.createOpenShiftException(DefaultClient.java:488)
> at com.openshift.internal.restclient.DefaultClient.update(DefaultClient.java:254)
> at org.jboss.tools.openshift.internal.ui.property.OpenShiftResourceDocumentProvider$2.run(OpenShiftResourceDocumentProvider.java:131)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
> Caused by: com.openshift.internal.restclient.http.HttpClientException: {
> "kind": "Status",
> "apiVersion": "v1",
> "metadata": {},
> "status": "Failure",
> "message": "BuildConfig \"eap-app\" is invalid: triggers[2].imageChange.from.kind: invalid value '', Details: only an ImageStreamTag type of reference is allowed in an ImageChange trigger.",
> "reason": "Invalid",
> "details": {
> "name": "eap-app",
> "kind": "BuildConfig",
> "causes": [
> {
> "reason": "FieldValueInvalid",
> "message": "invalid value '', Details: only an ImageStreamTag type of reference is allowed in an ImageChange trigger.",
> "field": "triggers[2].imageChange.from.kind"
> }
> ]
> },
> "code": 422
> }
> at com.openshift.internal.restclient.http.UrlConnectionHttpClient.createException(UrlConnectionHttpClient.java:278)
> at com.openshift.internal.restclient.http.UrlConnectionHttpClient.request(UrlConnectionHttpClient.java:243)
> at com.openshift.internal.restclient.http.UrlConnectionHttpClient.put(UrlConnectionHttpClient.java:165)
> at com.openshift.internal.restclient.DefaultClient.update(DefaultClient.java:250)
> ... 2 more
> Caused by: java.io.IOException: Server returned HTTP response code: 422 for URL: https://10.1.2.2:8443/oapi/v1/namespaces/eapapp/buildconfigs/eap-app
> at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1840)
> at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)
> at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
> at com.openshift.internal.restclient.http.UrlConnectionHttpClient.request(UrlConnectionHttpClient.java:239)
> ... 4 more
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 10 months
[JBoss JIRA] (JBIDE-22436) Intermittent NullPointerException upon opening helloworld, kitchensink cheat sheets in JBDS
by Michal Jurc (JIRA)
[ https://issues.jboss.org/browse/JBIDE-22436?page=com.atlassian.jira.plugi... ]
Michal Jurc updated JBIDE-22436:
--------------------------------
Attachment: JBIDE-22436-9.1-helloworld.log
> Intermittent NullPointerException upon opening helloworld, kitchensink cheat sheets in JBDS
> -------------------------------------------------------------------------------------------
>
> Key: JBIDE-22436
> URL: https://issues.jboss.org/browse/JBIDE-22436
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Reporter: Michal Jurc
> Assignee: Sande Gilda
> Attachments: JBIDE-22436-9.1-helloworld.log
>
>
> After finishing the import of {{helloworld}} and {{kitchensink}} quickstarts, the user is prompted whether the cheat sheet for the project should be opened. Upon opening it, JBDS 9.0 and 9.1 produces the following error message:
> {quote}An error has occurred. See error log for more details.
> java.lang.NullPointerException{quote}
> The detailed error log produces the same message.
> The quickstarts and their cheat sheets work even after the prompt with NullPointerException message.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 10 months
[JBoss JIRA] (JBIDE-22436) Intermittent NullPointerException upon opening helloworld, kitchensink cheat sheets in JBDS
by Michal Jurc (JIRA)
[ https://issues.jboss.org/browse/JBIDE-22436?page=com.atlassian.jira.plugi... ]
Michal Jurc commented on JBIDE-22436:
-------------------------------------
[~sgilda]: I've attached the log.
> Intermittent NullPointerException upon opening helloworld, kitchensink cheat sheets in JBDS
> -------------------------------------------------------------------------------------------
>
> Key: JBIDE-22436
> URL: https://issues.jboss.org/browse/JBIDE-22436
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Reporter: Michal Jurc
> Assignee: Sande Gilda
> Attachments: JBIDE-22436-9.1-helloworld.log
>
>
> After finishing the import of {{helloworld}} and {{kitchensink}} quickstarts, the user is prompted whether the cheat sheet for the project should be opened. Upon opening it, JBDS 9.0 and 9.1 produces the following error message:
> {quote}An error has occurred. See error log for more details.
> java.lang.NullPointerException{quote}
> The detailed error log produces the same message.
> The quickstarts and their cheat sheets work even after the prompt with NullPointerException message.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 10 months
[JBoss JIRA] (JBTIS-719) Fix 'DataTransformationDeploymentEAPTest'
by Tomáš Sedmík (JIRA)
Tomáš Sedmík created JBTIS-719:
----------------------------------
Summary: Fix 'DataTransformationDeploymentEAPTest'
Key: JBTIS-719
URL: https://issues.jboss.org/browse/JBTIS-719
Project: JBoss Tools Integration Stack
Issue Type: Bug
Components: Fuse IDE, QE
Affects Versions: 4.3.0.Final
Environment: Fuse on EAP 6.3.0.ER1
JBDS 9.1.0.GA
JBDSIS 9.0.0.GA
Reporter: Tomáš Sedmík
Assignee: Tomáš Sedmík
Fix For: 4.3.0.Final
Fuse on EAP log was slightly changed.
{code}
...file://src/data) Creating JAXBContext...
{code}
to
{code}
...file://src/data) Created XMLInputFactory...
{code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 10 months