[JBoss JIRA] (JBIDE-26549) 2 project from Red Hat Central are containing errors in it (removed package in java 11)
by Josef Kopriva (Jira)
[ https://issues.jboss.org/browse/JBIDE-26549?page=com.atlassian.jira.plugi... ]
Josef Kopriva commented on JBIDE-26549:
---------------------------------------
[~zcervink] I suppose there will be more failing projects on JDK11 from central: I have tried kitchensink project and I get:
{code:java}
Description Resource Path Location Type
The import javax.xml.bind cannot be resolved Member.java /jboss-kitchensink/src/main/java/org/jboss/as/quickstarts/kitchensink/model line 31 Java
XmlRootElement cannot be resolved to a type Member.java /jboss-kitchensink/src/main/java/org/jboss/as/quickstarts/kitchensink/model line 38 Java Problem
{code}
> 2 project from Red Hat Central are containing errors in it (removed package in java 11)
> ---------------------------------------------------------------------------------------
>
> Key: JBIDE-26549
> URL: https://issues.jboss.org/browse/JBIDE-26549
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: central
> Affects Versions: 4.11.0.AM1
> Environment: OS X 10.13.6
> Reporter: Zbyněk Červinka
> Assignee: Zbyněk Červinka
> Priority: Minor
>
> 2 projects from RH central shows errors after import (removed package in java 11):
> - JAVA EE "jboss-javaee-webapp" project
> - HTML 5 "jboss-as-kitchensink-html5-mobile" project
> There is invalid dependency "javax.xml.bind.annotation.XmlRootElement". Description and solution described on Stack Overflow https://stackoverflow.com/questions/52502189/java-11-package-javax-xml-bi....
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 1 month
[JBoss JIRA] (JBIDE-26550) Cannot delete pod on OpenShift 3.11
by Josef Kopriva (Jira)
[ https://issues.jboss.org/browse/JBIDE-26550?page=com.atlassian.jira.plugi... ]
Josef Kopriva commented on JBIDE-26550:
---------------------------------------
[~adietish] I have used devstudio AM1-v20190208-0501-B4007, which should be using *7.0.1-SNAPSHOT*. I will try also *7.0.0.Final*.
> Cannot delete pod on OpenShift 3.11
> -----------------------------------
>
> Key: JBIDE-26550
> URL: https://issues.jboss.org/browse/JBIDE-26550
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.11.0.AM1
> Reporter: Andre Dietisheim
> Assignee: Andre Dietisheim
> Priority: Critical
> Labels: delete_resource, delete_resources
> Fix For: 4.11.0.AM1
>
> Attachments: error-deleting-pod-openshift-3_10.png, image-2019-02-08-21-12-00-707.png, image-2019-02-08-21-12-12-917.png
>
>
> steps:
> # ASSERT: make sure that you have an application with a pod running on OpenShift 3.11 (ex. https://employee.openshift.com)
> !image-2019-02-08-21-12-00-707.png!
> # EXEC: in Explorer select the pod and choose "Delete"
> Result:
> !image-2019-02-08-21-12-12-917.png!
> {code}
> com.openshift.restclient.OpenShiftException: Exception trying to DELETE https://api.rh-us-east-1.openshift.com/api/v1/namespaces/testomat/pods/wf... response code: 500 no kind "Pod" is registered for version "v1" in scheme "k8s.io/apimachinery/pkg/apis/meta/internalversion/register.go:31"
> at com.openshift.internal.restclient.okhttp.ResponseCodeInterceptor.createOpenShiftException(ResponseCodeInterceptor.java:116)
> at com.openshift.internal.restclient.okhttp.ResponseCodeInterceptor.intercept(ResponseCodeInterceptor.java:66)
> at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
> at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
> at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:200)
> at okhttp3.RealCall.execute(RealCall.java:77)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:294)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:268)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:236)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:219)
> at com.openshift.internal.restclient.DefaultClient.delete(DefaultClient.java:388)
> at org.jboss.tools.openshift.core.connection.Connection.deleteResource(Connection.java:549)
> at org.jboss.tools.openshift.internal.core.job.AbstractDeleteResourceJob.delete(AbstractDeleteResourceJob.java:45)
> at org.jboss.tools.openshift.internal.core.job.DeleteResourceJob.doRun(DeleteResourceJob.java:35)
> at org.jboss.tools.openshift.internal.common.core.job.AbstractDelegatingMonitorJob.run(AbstractDelegatingMonitorJob.java:37)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
> {code}
> ps. Deleting the pod via "oc" command line (oc v3.11.0+0cbc58b) works fine.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 1 month
[JBoss JIRA] (JBIDE-26550) Cannot delete pod on OpenShift 3.11
by Andre Dietisheim (Jira)
[ https://issues.jboss.org/browse/JBIDE-26550?page=com.atlassian.jira.plugi... ]
Andre Dietisheim commented on JBIDE-26550:
------------------------------------------
[~jkopriva] thx for confirming. To make sure that we're talking about the same: Did you use openshift-restclient-java as in master aka **7.0.1-SNAPSHOT** or as currently in JBoss Tools aka **7.0.0.Final**?
I can only reproduce this when using 7.0.1-SNAPSHOT.
> Cannot delete pod on OpenShift 3.11
> -----------------------------------
>
> Key: JBIDE-26550
> URL: https://issues.jboss.org/browse/JBIDE-26550
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.11.0.AM1
> Reporter: Andre Dietisheim
> Assignee: Andre Dietisheim
> Priority: Critical
> Labels: delete_resource, delete_resources
> Fix For: 4.11.0.AM1
>
> Attachments: error-deleting-pod-openshift-3_10.png, image-2019-02-08-21-12-00-707.png, image-2019-02-08-21-12-12-917.png
>
>
> steps:
> # ASSERT: make sure that you have an application with a pod running on OpenShift 3.11 (ex. https://employee.openshift.com)
> !image-2019-02-08-21-12-00-707.png!
> # EXEC: in Explorer select the pod and choose "Delete"
> Result:
> !image-2019-02-08-21-12-12-917.png!
> {code}
> com.openshift.restclient.OpenShiftException: Exception trying to DELETE https://api.rh-us-east-1.openshift.com/api/v1/namespaces/testomat/pods/wf... response code: 500 no kind "Pod" is registered for version "v1" in scheme "k8s.io/apimachinery/pkg/apis/meta/internalversion/register.go:31"
> at com.openshift.internal.restclient.okhttp.ResponseCodeInterceptor.createOpenShiftException(ResponseCodeInterceptor.java:116)
> at com.openshift.internal.restclient.okhttp.ResponseCodeInterceptor.intercept(ResponseCodeInterceptor.java:66)
> at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
> at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
> at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:200)
> at okhttp3.RealCall.execute(RealCall.java:77)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:294)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:268)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:236)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:219)
> at com.openshift.internal.restclient.DefaultClient.delete(DefaultClient.java:388)
> at org.jboss.tools.openshift.core.connection.Connection.deleteResource(Connection.java:549)
> at org.jboss.tools.openshift.internal.core.job.AbstractDeleteResourceJob.delete(AbstractDeleteResourceJob.java:45)
> at org.jboss.tools.openshift.internal.core.job.DeleteResourceJob.doRun(DeleteResourceJob.java:35)
> at org.jboss.tools.openshift.internal.common.core.job.AbstractDelegatingMonitorJob.run(AbstractDelegatingMonitorJob.java:37)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
> {code}
> ps. Deleting the pod via "oc" command line (oc v3.11.0+0cbc58b) works fine.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 1 month
[JBoss JIRA] (JBIDE-26550) Cannot delete pod on OpenShift 3.11
by Andre Dietisheim (Jira)
[ https://issues.jboss.org/browse/JBIDE-26550?page=com.atlassian.jira.plugi... ]
Andre Dietisheim edited comment on JBIDE-26550 at 2/12/19 7:42 AM:
-------------------------------------------------------------------
[~jkopriva] thx for confirming. To make sure that we're talking about the same: Did you use openshift-restclient-java as in master aka *7.0.1-SNAPSHOT* or as currently in JBoss Tools aka *7.0.0.Final*?
I can only reproduce this when using 7.0.1-SNAPSHOT.
was (Author: adietish):
[~jkopriva] thx for confirming. To make sure that we're talking about the same: Did you use openshift-restclient-java as in master aka **7.0.1-SNAPSHOT** or as currently in JBoss Tools aka **7.0.0.Final**?
I can only reproduce this when using 7.0.1-SNAPSHOT.
> Cannot delete pod on OpenShift 3.11
> -----------------------------------
>
> Key: JBIDE-26550
> URL: https://issues.jboss.org/browse/JBIDE-26550
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.11.0.AM1
> Reporter: Andre Dietisheim
> Assignee: Andre Dietisheim
> Priority: Critical
> Labels: delete_resource, delete_resources
> Fix For: 4.11.0.AM1
>
> Attachments: error-deleting-pod-openshift-3_10.png, image-2019-02-08-21-12-00-707.png, image-2019-02-08-21-12-12-917.png
>
>
> steps:
> # ASSERT: make sure that you have an application with a pod running on OpenShift 3.11 (ex. https://employee.openshift.com)
> !image-2019-02-08-21-12-00-707.png!
> # EXEC: in Explorer select the pod and choose "Delete"
> Result:
> !image-2019-02-08-21-12-12-917.png!
> {code}
> com.openshift.restclient.OpenShiftException: Exception trying to DELETE https://api.rh-us-east-1.openshift.com/api/v1/namespaces/testomat/pods/wf... response code: 500 no kind "Pod" is registered for version "v1" in scheme "k8s.io/apimachinery/pkg/apis/meta/internalversion/register.go:31"
> at com.openshift.internal.restclient.okhttp.ResponseCodeInterceptor.createOpenShiftException(ResponseCodeInterceptor.java:116)
> at com.openshift.internal.restclient.okhttp.ResponseCodeInterceptor.intercept(ResponseCodeInterceptor.java:66)
> at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
> at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
> at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:200)
> at okhttp3.RealCall.execute(RealCall.java:77)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:294)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:268)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:236)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:219)
> at com.openshift.internal.restclient.DefaultClient.delete(DefaultClient.java:388)
> at org.jboss.tools.openshift.core.connection.Connection.deleteResource(Connection.java:549)
> at org.jboss.tools.openshift.internal.core.job.AbstractDeleteResourceJob.delete(AbstractDeleteResourceJob.java:45)
> at org.jboss.tools.openshift.internal.core.job.DeleteResourceJob.doRun(DeleteResourceJob.java:35)
> at org.jboss.tools.openshift.internal.common.core.job.AbstractDelegatingMonitorJob.run(AbstractDelegatingMonitorJob.java:37)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
> {code}
> ps. Deleting the pod via "oc" command line (oc v3.11.0+0cbc58b) works fine.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 1 month