[JBoss JIRA] (JBIDE-27281) EAP microprofile QS: microprofile-jwt cannot be deployed
by Josef Kopriva (Jira)
Josef Kopriva created JBIDE-27281:
-------------------------------------
Summary: EAP microprofile QS: microprofile-jwt cannot be deployed
Key: JBIDE-27281
URL: https://issues.redhat.com/browse/JBIDE-27281
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: project-examples, server
Affects Versions: 4.16.0.AM1
Reporter: Josef Kopriva
Assignee: Robert Stryker
I was not able to deploy this error.
Error log from server console:
{code:java}
08:53:22,074 INFO [org.jboss.as.server.deployment] (MSC service thread 1-5) WFLYSRV0027: Starting deployment of "microprofile-jwt.war" (runtime-name: "microprofile-jwt.war")
08:53:22,112 INFO [org.jboss.weld.deployer] (MSC service thread 1-5) WFLYWELD0003: Processing weld deployment microprofile-jwt.war
08:53:22,170 INFO [io.jaegertracing.internal.JaegerTracer] (MSC service thread 1-5) No shutdown hook registered: Please call close() manually on application shutdown.
08:53:22,220 INFO [io.smallrye.metrics] (MSC service thread 1-6) MicroProfile: Metrics activated (SmallRye Metrics version: 2.4.0.redhat-00004)
08:53:22,227 INFO [org.jboss.weld.Bootstrap] (Weld Thread Pool -- 3) WELD-000119: Not generating any bean definitions from org.wildfly.quickstarts.mpjwt.SampleEndPoint because of underlying class loading error: Type org.eclipse.microprofile.jwt.JsonWebToken from [Module "deployment.microprofile-jwt.war" from Service Module Loader] not found. If this is unexpected, enable DEBUG logging to see the full error.
08:53:22,323 INFO [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 108) RESTEASY002225: Deploying javax.ws.rs.core.Application: class org.wildfly.quickstarts.mpjwt.App$Proxy$_$$_WeldClientProxy
08:53:22,324 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 108) MSC000001: Failed to start service jboss.deployment.unit."microprofile-jwt.war".undertow-deployment: org.jboss.msc.service.StartException in service jboss.deployment.unit."microprofile-jwt.war".undertow-deployment: java.lang.NoClassDefFoundError: Lorg/eclipse/microprofile/jwt/JsonWebToken;
at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:81)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
at java.lang.Thread.run(Thread.java:748)
at org.jboss.threads.JBossThread.run(JBossThread.java:485)
Caused by: java.lang.NoClassDefFoundError: Lorg/eclipse/microprofile/jwt/JsonWebToken;
at java.lang.Class.getDeclaredFields0(Native Method)
at java.lang.Class.privateGetDeclaredFields(Class.java:2583)
at java.lang.Class.getDeclaredFields(Class.java:1916)
at org.jboss.resteasy.spi.metadata.ResourceBuilder.processDeclaredFields(ResourceBuilder.java:1008)
at org.jboss.resteasy.spi.metadata.ResourceBuilder.processFields(ResourceBuilder.java:987)
at org.jboss.resteasy.spi.metadata.ResourceBuilder.fromAnnotations(ResourceBuilder.java:869)
at org.jboss.resteasy.spi.metadata.ResourceBuilder.getRootResourceFromAnnotations(ResourceBuilder.java:830)
at org.jboss.resteasy.plugins.server.resourcefactory.POJOResourceFactory.<init>(POJOResourceFactory.java:38)
at org.jboss.resteasy.core.ResourceMethodRegistry.addPerRequestResource(ResourceMethodRegistry.java:81)
at org.jboss.resteasy.spi.ResteasyDeployment.registration(ResteasyDeployment.java:485)
at org.jboss.resteasy.spi.ResteasyDeployment.startInternal(ResteasyDeployment.java:286)
at org.jboss.resteasy.spi.ResteasyDeployment.start(ResteasyDeployment.java:92)
at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.init(ServletContainerDispatcher.java:119)
at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.init(HttpServletDispatcher.java:36)
at io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:117)
at org.wildfly.extension.undertow.security.RunAsLifecycleInterceptor.init(RunAsLifecycleInterceptor.java:78)
at io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:103)
at io.undertow.servlet.core.ManagedServlet$DefaultInstanceStrategy.start(ManagedServlet.java:305)
at io.undertow.servlet.core.ManagedServlet.createServlet(ManagedServlet.java:145)
at io.undertow.servlet.core.DeploymentManagerImpl$2.call(DeploymentManagerImpl.java:585)
at io.undertow.servlet.core.DeploymentManagerImpl$2.call(DeploymentManagerImpl.java:556)
at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:42)
at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
at org.wildfly.extension.undertow.security.SecurityContextThreadSetupAction.lambda$create$0(SecurityContextThreadSetupAction.java:105)
at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1541)
at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1541)
at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1541)
at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1541)
at io.undertow.servlet.core.DeploymentManagerImpl.start(DeploymentManagerImpl.java:598)
at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:97)
at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:78)
... 8 more
Caused by: java.lang.ClassNotFoundException: org.eclipse.microprofile.jwt.JsonWebToken from [Module "deployment.microprofile-jwt.war" from Service Module Loader]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:255)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:410)
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:116)
... 39 more
08:53:22,325 ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 2) WFLYCTL0013: Operation ("full-replace-deployment") failed - address: ([]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"microprofile-jwt.war\".undertow-deployment" => "java.lang.NoClassDefFoundError: Lorg/eclipse/microprofile/jwt/JsonWebToken;
Caused by: java.lang.NoClassDefFoundError: Lorg/eclipse/microprofile/jwt/JsonWebToken;
Caused by: java.lang.ClassNotFoundException: org.eclipse.microprofile.jwt.JsonWebToken from [Module \"deployment.microprofile-jwt.war\" from Service Module Loader]"}}
08:53:22,336 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) WFLYSRV0016: Replaced deployment "microprofile-jwt.war" with deployment "microprofile-jwt.war"
08:53:22,337 INFO [org.jboss.as.controller] (DeploymentScanner-threads - 2) WFLYCTL0183: Service status report
WFLYCTL0186: Services which failed to start: service jboss.deployment.unit."microprofile-jwt.war".undertow-deployment: java.lang.NoClassDefFoundError: Lorg/eclipse/microprofile/jwt/JsonWebToken;
{code}
There should be no configuration on server side according to readme file.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 10 months
[JBoss JIRA] (JBIDE-27280) EAP microprofile QS: microprofile-health wrong packaging
by Josef Kopriva (Jira)
Josef Kopriva created JBIDE-27280:
-------------------------------------
Summary: EAP microprofile QS: microprofile-health wrong packaging
Key: JBIDE-27280
URL: https://issues.redhat.com/browse/JBIDE-27280
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: project-examples, server
Affects Versions: 4.16.0.AM1
Reporter: Josef Kopriva
Assignee: Robert Stryker
microprofile-health quickstart cannot be deployed to server until packaging in pom is changed from jar to war, afterwards it works as expected.
This seems to be as an upstream issue.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 10 months
[JBoss JIRA] (JBIDE-27279) EAP Microprofile quickstart: microprofile-config - superclass not found on Build Path
by Josef Kopriva (Jira)
[ https://issues.redhat.com/browse/JBIDE-27279?page=com.atlassian.jira.plug... ]
Josef Kopriva updated JBIDE-27279:
----------------------------------
Description:
{code:java}
Description Resource Path Location Type
The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path index.jsp /microprofile-config/src/main/webapp line 1 JSP Problem
{code}
was:
{code:java}
Description Resource Path Location Type
The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path index.jsp /microprofile-config/src/main/webapp line 1 JSP Problem
{code}
Attachment: image-2020-05-20-08-13-40-702.png
Workaround Description:
Set correct server runtime for quickstart:
!image-2020-05-20-08-13-40-702.png|thumbnail!
Workaround: Workaround Exists
> EAP Microprofile quickstart: microprofile-config - superclass not found on Build Path
> -------------------------------------------------------------------------------------
>
> Key: JBIDE-27279
> URL: https://issues.redhat.com/browse/JBIDE-27279
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: project-examples, server
> Affects Versions: 4.16.0.AM1
> Reporter: Josef Kopriva
> Assignee: Robert Stryker
> Priority: Major
> Attachments: image-2020-05-20-08-13-40-702.png
>
>
> {code:java}
> Description Resource Path Location Type
> The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path index.jsp /microprofile-config/src/main/webapp line 1 JSP Problem
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 10 months
[JBoss JIRA] (JBIDE-27279) EAP Microprofile quickstart: microprofile-config - superclass not found on Build Path
by Josef Kopriva (Jira)
[ https://issues.redhat.com/browse/JBIDE-27279?page=com.atlassian.jira.plug... ]
Josef Kopriva updated JBIDE-27279:
----------------------------------
Summary: EAP Microprofile quickstart: microprofile-config - superclass not found on Build Path (was: EAP Microprofile quickstart: microprofile-config - superclass not found on BUild Path)
> EAP Microprofile quickstart: microprofile-config - superclass not found on Build Path
> -------------------------------------------------------------------------------------
>
> Key: JBIDE-27279
> URL: https://issues.redhat.com/browse/JBIDE-27279
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: project-examples, server
> Affects Versions: 4.16.0.AM1
> Reporter: Josef Kopriva
> Assignee: Robert Stryker
> Priority: Major
>
> {code:java}
> Description Resource Path Location Type
> The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path index.jsp /microprofile-config/src/main/webapp line 1 JSP Problem
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 10 months
[JBoss JIRA] (JBIDE-27279) EAP Microprofile quickstart: microprofile-config - superclass not found on BUild Path
by Josef Kopriva (Jira)
Josef Kopriva created JBIDE-27279:
-------------------------------------
Summary: EAP Microprofile quickstart: microprofile-config - superclass not found on BUild Path
Key: JBIDE-27279
URL: https://issues.redhat.com/browse/JBIDE-27279
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: project-examples, server
Affects Versions: 4.16.0.AM1
Reporter: Josef Kopriva
Assignee: Robert Stryker
{code:java}
Description Resource Path Location Type
The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path index.jsp /microprofile-config/src/main/webapp line 1 JSP Problem
{code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 10 months
[JBoss JIRA] (JBIDE-27278) EAP microprofile quickstart: Multiple JAX_RS Activators
by Josef Kopriva (Jira)
Josef Kopriva created JBIDE-27278:
-------------------------------------
Summary: EAP microprofile quickstart: Multiple JAX_RS Activators
Key: JBIDE-27278
URL: https://issues.redhat.com/browse/JBIDE-27278
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: project-examples, server
Affects Versions: 4.16.0.AM1
Reporter: Josef Kopriva
Assignee: Robert Stryker
{code:java}
Description Resource Path Location Type
Multiple JAX-RS Activators are defined for the project. JaxRsApplication.java /country-client/src/main/java/org/wildfly/quickstarts/microprofile/rest/client line 7 JAX-RS Problem
{code}
{code:java}
Description Resource Path Location Type
Multiple JAX-RS Activators are defined for the project. JaxRsApplication.java /country-client/src/test/java/org/wildfly/quickstarts/microprofile/rest/client/api line 7 JAX-RS Problem
{code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 10 months
[JBoss JIRA] (JBDS-4805) Error With Reccommenders: java.lang.NoClassDefFoundError: javax/annotation/PostConstruct at org.eclipse.recommenders.internal.rcp.RcpModule$Listener$1.afterInjection(RcpModule.java:278)
by Ondrej Dockal (Jira)
[ https://issues.redhat.com/browse/JBDS-4805?page=com.atlassian.jira.plugin... ]
Ondrej Dockal commented on JBDS-4805:
-------------------------------------
[~stephane.bouchet] I am not sure how to verify this issue. KC link seems not working. Can you give me a lead on how to check this out?
> Error With Reccommenders: java.lang.NoClassDefFoundError: javax/annotation/PostConstruct at org.eclipse.recommenders.internal.rcp.RcpModule$Listener$1.afterInjection(RcpModule.java:278)
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: JBDS-4805
> URL: https://issues.redhat.com/browse/JBDS-4805
> Project: Red Hat CodeReady Studio (devstudio)
> Issue Type: Bug
> Components: target-platform
> Affects Versions: 12.12.0.GA
> Environment: * eclipse.buildId=12.12.0.GA-v20190628-0434-B4598
> java.version=11.0.3-redhat
> java.vendor=Oracle Corporation
> BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
> Framework arguments: -application org.eclipse.ui.ide.workbench -product com.jboss.devstudio.core.product
> Command-line arguments: -os win32 -ws win32 -arch x86_64 -application org.eclipse.ui.ide.workbench -product com.jboss.devstudio.core.product
> * Camel Fuse development
> Reporter: David Guthrie
> Assignee: Stephane Bouchet
> Priority: Major
> Fix For: 12.x, 12.14.0.AM1
>
>
> Customer:
> {quote}
> I did an upgrade on Code Ready Studio to 12.12
> and when I go from
> {code}
> public void configure() throws Exception {
> from("file:E:/inputFolder")
> .split().tokenize("\n")
> .to("jms:queue:javininusex");
> }
> {code}
> to
> {code}
> @Override
> public void configure() throws Exception {
> from("{{route.start}}")
> .split().tokenize("\n")
> .log("{{route.start}}")
> .to("{{route.end}}");
> }
> {code}
> it starts show an error on the {{xxxx}} lines. which then sometimes goes to a pop up window that says check the recommender faq at .... (now this won't pop up and I didn't get the address) that is an invalid page.
> {quote}
> Log error
> org.eclipse.recommenders.completion.rcp
> Error
> Fri Oct 18 13:53:29 PDT 2019
> Session processor ‘class org.eclipse.recommenders.internal.calls.rcp.CallCompletionSessionProcessor’ failed with exception.
> {code}
> java.lang.NoClassDefFoundError: javax/annotation/PostConstruct
> at org.eclipse.recommenders.internal.rcp.RcpModule$Listener$1.afterInjection(RcpModule.java:278)
> at com.google.inject.internal.MembersInjectorImpl.notifyListeners(MembersInjectorImpl.java:97)
> at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:95)
> at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
> at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
> at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
> at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
> at com.google.inject.Scopes$1$1.get(Scopes.java:65)
> at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
> at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:54)
> at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
> at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
> at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)
> at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
> at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:54)
> at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
> at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
> at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
> at com.google.inject.Scopes$1$1.get(Scopes.java:65)
> at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
> at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:978)
> at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1024)
> at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:974)
> at org.eclipse.recommenders.internal.calls.rcp.CallCompletionSessionProcessor.findReceiverTypeAndModel(CallCompletionSessionProcessor.java:136)
> at org.eclipse.recommenders.internal.calls.rcp.CallCompletionSessionProcessor.startSession(CallCompletionSessionProcessor.java:111)
> at org.eclipse.recommenders.completion.rcp.processable.IntelligentCompletionProposalComputer.fireStartSession(IntelligentCompletionProposalComputer.java:305)
> at org.eclipse.recommenders.completion.rcp.processable.IntelligentCompletionProposalComputer.computeCompletionProposals(IntelligentCompletionProposalComputer.java:171)
> at org.eclipse.jdt.internal.ui.text.java.CompletionProposalComputerDescriptor.computeCompletionProposals(CompletionProposalComputerDescriptor.java:336)
> at org.eclipse.jdt.internal.ui.text.java.CompletionProposalCategory.computeCompletionProposals(CompletionProposalCategory.java:340)
> at org.eclipse.jdt.internal.ui.text.java.ContentAssistProcessor.collectProposals(ContentAssistProcessor.java:334)
> at org.eclipse.jdt.internal.ui.text.java.ContentAssistProcessor.computeCompletionProposals(ContentAssistProcessor.java:291)
> at org.eclipse.jface.text.contentassist.ContentAssistant$2.lambda$0(ContentAssistant.java:2014)
> at java.base/java.util.Collections$SingletonSet.forEach(Collections.java:4795)
> at org.eclipse.jface.text.contentassist.ContentAssistant$2.run(ContentAssistant.java:2013)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
> at org.eclipse.jface.text.contentassist.ContentAssistant.computeCompletionProposals(ContentAssistant.java:2010)
> at org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposals(CompletionProposalPopup.java:575)
> at org.eclipse.jface.text.contentassist.CompletionProposalPopup.lambda$0(CompletionProposalPopup.java:505)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:72)
> at org.eclipse.jface.text.contentassist.CompletionProposalPopup.showProposals(CompletionProposalPopup.java:500)
> at org.eclipse.jface.text.contentassist.ContentAssistant$AutoAssistListener.lambda$0(ContentAssistant.java:380)
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:40)
> at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:185)
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3919)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3550)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1173)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1062)
> at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155)
> at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:635)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:559)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:155)
> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:137)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:107)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.base/java.lang.reflect.Method.invoke(Method.java:566)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:660)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:597)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1468)
> {code}
> This seems to be related to upstream issues https://bugs.eclipse.org/bugs/show_bug.cgi?id=541266 and https://bugs.eclipse.org/bugs/show_bug.cgi?id=542689 where recommenders doesn't work with Java 11 and has been removed by upstream eclipse and by the Red Hat Eclipse RPM packages https://issues.jboss.org/browse/RHECLIPSE-82.
> I don't see a way to disable recommenders in codeready studio.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 10 months
[JBoss JIRA] (JBIDE-27019) Show in -> Web console option does not work at times
by Ondrej Dockal (Jira)
[ https://issues.redhat.com/browse/JBIDE-27019?page=com.atlassian.jira.plug... ]
Ondrej Dockal closed JBIDE-27019.
---------------------------------
> Show in -> Web console option does not work at times
> ----------------------------------------------------
>
> Key: JBIDE-27019
> URL: https://issues.redhat.com/browse/JBIDE-27019
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: cdk, openshift
> Affects Versions: 4.14.0.AM1
> Reporter: Ondrej Dockal
> Assignee: André Dietisheim
> Priority: Major
> Fix For: 4.16.0.AM1
>
>
> Show in -> Web Console does not work for Openshift connection created from CRC 1.3 version as the Server's url (OS 4.2 endpoint - https://api.crc.testing:6443/) does not work for web console access. The correct one is https://console-openshift-console.apps-crc.testing/.
> I got this error stack trace, btw:
> {code}
> eclipse.buildId=12.14.0.AM1-v20200123-0055-B5802
> java.version=11.0.5
> java.vendor=Oracle Corporation
> BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
> Framework arguments: -product com.jboss.devstudio.core.product
> Command-line arguments: -data file:/home/odockal/workspace_12140AM1-0123/ -os linux -ws gtk -arch x86_64 -product com.jboss.devstudio.core.product
> org.eclipse.core.jobs
> Error
> Mon Jan 27 15:12:23 CET 2020
> An internal error occurred during: "Retrieving console for https://api.crc.testing:6443...".
> com.openshift.restclient.UnsupportedEndpointException: Unable to determine the api endpoint for kind 'ConfigMap'
> at com.openshift.internal.restclient.URLBuilder.buildWithNamespaceInPath(URLBuilder.java:149)
> at com.openshift.internal.restclient.URLBuilder.build(URLBuilder.java:135)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:297)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:271)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:239)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:222)
> at com.openshift.internal.restclient.DefaultClient.get(DefaultClient.java:406)
> at com.openshift.internal.restclient.capability.server.Console.getOpenShift4ConsoleUrl(Console.java:93)
> at com.openshift.internal.restclient.capability.server.Console.getOpenShift4ConsoleUrl(Console.java:107)
> at com.openshift.internal.restclient.capability.server.Console.getConsoleUrl(Console.java:64)
> at org.jboss.tools.openshift.core.connection.Connection.getConsoleURL(Connection.java:381)
> at org.jboss.tools.openshift.internal.ui.handler.OpenInWebConsoleHandler.lambda$0(OpenInWebConsoleHandler.java:61)
> at org.eclipse.core.runtime.jobs.Job$1.run(Job.java:164)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 10 months