Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provisioning CaaS breaks dashboard #27

Closed
jridderbusch opened this issue Mar 11, 2024 · 0 comments · Fixed by #32
Closed

Provisioning CaaS breaks dashboard #27

jridderbusch opened this issue Mar 11, 2024 · 0 comments · Fixed by #32
Assignees
Labels
area/backend kind/bug Something isn't working. The software does not behave as expected or specified. status/updated MDS Authority Portal Issue was updated since last Bi-weekly
Milestone

Comments

@jridderbusch
Copy link
Contributor

jridderbusch commented Mar 11, 2024

Description - What happened? *

During provisiong of any CaaS the dashboard breaks.

Expected Behavior *

The dashboard works consistently.

Observed Behavior *

The dashboard break due to some URL being null in the backend. This most likely originates from the endpoint URL not being set during the provisioning of a CaaS.

Steps to Reproduce

  1. Create CaaS
  2. Go to dashboard during provisioning

Context Information

No response

Relevant log output

2024-03-11 14:40:23,088 ERROR [io.qua.ver.htt.run.QuarkusErrorHandler] (executor-thread-3) HTTP Request to /api/component-statuses?environmentId=test failed, error id: 7fc8f305-ff65-46f7-9cfa-aa6d1067cb93-2: java.lang.NullPointerException: Parameter specified as non-null is null: method de.sovity.authorityportal.web.thirdparty.broker.model.AuthorityPortalConnectorInfo.setConnectorEndpoint, parameter <set-?>
	at de.sovity.authorityportal.web.thirdparty.broker.model.AuthorityPortalConnectorInfo.setConnectorEndpoint(AuthorityPortalConnectorInfo.kt)
	at de.sovity.authorityportal.web.pages.ComponentStatusApiService.withUnknownConnectors(ComponentStatusApiService.kt:170)
	at de.sovity.authorityportal.web.pages.ComponentStatusApiService.countConnectorStatuses(ComponentStatusApiService.kt:147)
	at de.sovity.authorityportal.web.pages.ComponentStatusApiService.getComponentsStatus(ComponentStatusApiService.kt:52)
	at de.sovity.authorityportal.web.pages.ComponentStatusApiService_ClientProxy.getComponentsStatus(Unknown Source)
	at de.sovity.authorityportal.web.UiResourceImpl.getComponentsStatus(UiResourceImpl.kt:458)
	at de.sovity.authorityportal.web.UiResourceImpl_Subclass.getComponentsStatus$$superforward(Unknown Source)
	at de.sovity.authorityportal.web.UiResourceImpl_Subclass$$function$$2.apply(Unknown Source)
	at io.quarkus.arc.impl.AroundInvokeInvocationContext.proceed(AroundInvokeInvocationContext.java:73)
	at io.quarkus.arc.impl.AroundInvokeInvocationContext$NextAroundInvokeInvocationContext.proceed(AroundInvokeInvocationContext.java:97)
	at io.quarkus.hibernate.validator.runtime.interceptor.AbstractMethodValidationInterceptor.validateMethodInvocation(AbstractMethodValidationInterceptor.java:71)
	at io.quarkus.hibernate.validator.runtime.jaxrs.ResteasyReactiveEndPointValidationInterceptor.validateMethodInvocation(ResteasyReactiveEndPointValidationInterceptor.java:21)
	at io.quarkus.hibernate.validator.runtime.jaxrs.ResteasyReactiveEndPointValidationInterceptor_Bean.intercept(Unknown Source)
	at io.quarkus.arc.impl.InterceptorInvocation.invoke(InterceptorInvocation.java:42)
	at io.quarkus.arc.impl.AroundInvokeInvocationContext.proceed(AroundInvokeInvocationContext.java:70)
	at io.quarkus.arc.impl.AroundInvokeInvocationContext$NextAroundInvokeInvocationContext.proceed(AroundInvokeInvocationContext.java:97)
	at io.quarkus.security.runtime.interceptor.SecurityHandler.handle(SecurityHandler.java:47)
	at io.quarkus.security.runtime.interceptor.PermitAllInterceptor.intercept(PermitAllInterceptor.java:23)
	at io.quarkus.security.runtime.interceptor.PermitAllInterceptor_Bean.intercept(Unknown Source)
	at io.quarkus.arc.impl.InterceptorInvocation.invoke(InterceptorInvocation.java:42)
	at io.quarkus.arc.impl.AroundInvokeInvocationContext.proceed(AroundInvokeInvocationContext.java:70)
	at io.quarkus.arc.impl.AroundInvokeInvocationContext$NextAroundInvokeInvocationContext.proceed(AroundInvokeInvocationContext.java:97)
	at io.quarkus.narayana.jta.runtime.interceptor.TransactionalInterceptorBase.invokeInOurTx(TransactionalInterceptorBase.java:136)
	at io.quarkus.narayana.jta.runtime.interceptor.TransactionalInterceptorBase.invokeInOurTx(TransactionalInterceptorBase.java:107)
	at io.quarkus.narayana.jta.runtime.interceptor.TransactionalInterceptorRequired.doIntercept(TransactionalInterceptorRequired.java:38)
	at io.quarkus.narayana.jta.runtime.interceptor.TransactionalInterceptorBase.intercept(TransactionalInterceptorBase.java:61)
	at io.quarkus.narayana.jta.runtime.interceptor.TransactionalInterceptorRequired.intercept(TransactionalInterceptorRequired.java:32)
	at io.quarkus.narayana.jta.runtime.interceptor.TransactionalInterceptorRequired_Bean.intercept(Unknown Source)
	at io.quarkus.arc.impl.InterceptorInvocation.invoke(InterceptorInvocation.java:42)
	at io.quarkus.arc.impl.AroundInvokeInvocationContext.proceed(AroundInvokeInvocationContext.java:70)
	at io.quarkus.arc.impl.AroundInvokeInvocationContext.proceed(AroundInvokeInvocationContext.java:62)
	at io.quarkus.resteasy.reactive.server.runtime.StandardSecurityCheckInterceptor.intercept(StandardSecurityCheckInterceptor.java:44)
	at io.quarkus.resteasy.reactive.server.runtime.StandardSecurityCheckInterceptor_PermitAllInterceptor_Bean.intercept(Unknown Source)
	at io.quarkus.arc.impl.InterceptorInvocation.invoke(InterceptorInvocation.java:42)
	at io.quarkus.arc.impl.AroundInvokeInvocationContext.perform(AroundInvokeInvocationContext.java:30)
	at io.quarkus.arc.impl.InvocationContexts.performAroundInvoke(InvocationContexts.java:27)
	at de.sovity.authorityportal.web.UiResourceImpl_Subclass.getComponentsStatus(Unknown Source)
	at de.sovity.authorityportal.api.UiResource$quarkusrestinvoker$getComponentsStatus_e94e03f3215c147be2c91b48a24081db0f10a55d.invoke(Unknown Source)
	at org.jboss.resteasy.reactive.server.handlers.InvocationHandler.handle(InvocationHandler.java:29)
	at io.quarkus.resteasy.reactive.server.runtime.QuarkusResteasyReactiveRequestContext.invokeHandler(QuarkusResteasyReactiveRequestContext.java:141)
	at org.jboss.resteasy.reactive.common.core.AbstractResteasyReactiveContext.run(AbstractResteasyReactiveContext.java:147)
	at io.quarkus.vertx.core.runtime.VertxCoreRecorder$14.runWith(VertxCoreRecorder.java:582)
	at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2513)
	at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1538)
	at org.jboss.threads.DelegatingRunnable.run(DelegatingRunnable.java:29)
	at org.jboss.threads.ThreadLocalResettingRunnable.run(ThreadLocalResettingRunnable.java:29)
	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
	at java.base/java.lang.Thread.run(Thread.java:840)

Screenshots

No response

@jridderbusch jridderbusch added kind/bug Something isn't working. The software does not behave as expected or specified. area/backend labels Mar 11, 2024
@jridderbusch jridderbusch added this to the Release March 15 milestone Mar 11, 2024
@jridderbusch jridderbusch added the status/updated MDS Authority Portal Issue was updated since last Bi-weekly label Mar 11, 2024
@jridderbusch jridderbusch linked a pull request Mar 11, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/backend kind/bug Something isn't working. The software does not behave as expected or specified. status/updated MDS Authority Portal Issue was updated since last Bi-weekly
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant