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 | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Browser Refresh leads to IllegalStateException with Vaadin CDI and ViewScoped beans

    Stack Overflow | 7 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