com.vaadin.server.ServiceException: java.lang.IllegalStateException: Can't find proper view for @ViewScoped bean, no views are active for this ui.

Stack Overflow | andi17 | 10 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Browser Refresh leads to IllegalStateException with Vaadin CDI and ViewScoped beans

    Stack Overflow | 10 months ago | andi17
    com.vaadin.server.ServiceException: java.lang.IllegalStateException: Can't find proper view for @ViewScoped bean, no views are active for this ui.

Root Cause Analysis

  1. com.vaadin.server.ServiceException

    java.lang.IllegalStateException: Can't find proper view for @ViewScoped bean, no views are active for this ui.

    at com.vaadin.server.VaadinService.handleExceptionDuringRequest()
  2. com.vaadin.server
    VaadinService.handleRequest
    1. com.vaadin.server.VaadinService.handleExceptionDuringRequest(VaadinService.java:1464)
    2. com.vaadin.server.VaadinService.handleRequest(VaadinService.java:1421)
    2 frames
  3. com.vaadin.cdi
    VaadinCDIServletService.handleRequest
    1. com.vaadin.cdi.server.VaadinCDIServletService.handleRequest(VaadinCDIServletService.java:92)
    1 frame
  4. com.vaadin.server
    VaadinServlet.service
    1. com.vaadin.server.VaadinServlet.service(VaadinServlet.java:364)
    1 frame
  5. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
    1 frame