com.vaadin.server.ServiceException: com.vaadin.server.ServiceException: No UIProvider has been added and there is no "UI" init parameter.

Hot problem!
This exception has a lot of traffic. You can help 21 users by writing a short tip.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by jHetfield
, 1 year ago
com.vaadin.server.ServiceException: No UIProvider has been added and there is no "UI" init parameter.
via Stack Overflow by andi17
, 1 year ago
java.lang.IllegalStateException: Can't find proper view for @ViewScoped bean, no views are active for this ui.
via GitHub by kermitas
, 2 years ago
com.vaadin.server.ServiceException: No UIProvider has been added and there is no "UI" init parameter.
via GitHub by voodoohoo
, 2 years ago
: org.vaadin.spring.events.EventBus$UIEventBus org.vaadin.spring.samples.mvp.ui.MvpUI.eventBus; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [org.vaadin.spring.events.EventBus$UIEventBus
via Stack Overflow by Daniel
, 1 year ago
java.lang.IllegalArgumentException: Trying to navigate to an unknown state '' and an error view provider not present
via GitHub by vaadin-bot
, 1 year ago
'viewScopedComponent': Scope 'vaadin-view' is not active for the current thread; consider defining a scoped proxy for this bean if you intend to refer to it from a singleton; nested exception is java.lang.IllegalStateException: No active view
com.vaadin.server.ServiceException: com.vaadin.server.ServiceException: No UIProvider has been added and there is no "UI" init parameter.
at com.vaadin.server.ServletPortletHelper.checkUiProviders(ServletPortletHelper.java:179)
at com.vaadin.server.VaadinService.onVaadinSessionStarted(VaadinService.java:775)
at com.vaadin.server.VaadinService.createAndRegisterSession(VaadinService.java:734)
at com.vaadin.server.VaadinService.doFindOrCreateVaadinSession(VaadinService.java:690)
at com.vaadin.server.VaadinService.findOrCreateVaadinSession(VaadinService.java:631)
at com.vaadin.server.VaadinService.findVaadinSession(VaadinService.java:495)
at com.vaadin.server.VaadinService.handleRequest(VaadinService.java:1365)
at com.vaadin.server.VaadinServlet.service(VaadinServlet.java:238)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at org.eclipse.equinox.http.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:38)
at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)
at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)
at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)
at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)
at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383)
at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)
at org.eclipse.equinox.http.servlet.internal.FilterRegistration.doFilter(FilterRegistration.java:81)
at org.eclipse.equinox.http.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:35)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:132)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:60)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:669)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:457)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:229)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1075)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:384)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1009)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
at org.eclipse.jetty.server.Server.handle(Server.java:364)
at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489)
at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:942)
at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1004)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:640)
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:628)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
at java.lang.Thread.run(Unknown Source)

Users with the same issue

5 times, 4 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 10 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.