Uploaded image for project: 'FenixEdu Academic'
  1. FenixEdu Academic
  2. ACDM-1173

IllegalStateException when teacher sends email to students

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 5.4.2
    • Fix Version/s: Lost Issues
    • Component/s: None
    • External Issue ID:
      515086 522344

      Description

      Caused by: java.lang.IllegalStateException: This is not a JSON Array.
      	at com.google.gson.JsonElement.getAsJsonArray(JsonElement.java:106)
      	at org.fenixedu.academic.ui.spring.controller.teacher.AttendsSearchController.sendEmail(AttendsSearchController.java:295)
      	at sun.reflect.GeneratedMethodAccessor4236.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:215)
      	at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132)
      	at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104)
      	at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:749)
      	at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:689)
      	at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:83)
      	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:938)
      	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:870)
      	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:961)
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              diutsu goncalo.sousa
              Reporter:
              sergiofbsilva Sérgio Silva
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: