Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-44212

Admin: Add Users - file upload [missing key (npe): helper att.add]

    XMLWordPrintable

    Details

    • Test Plan:
      Hide

      I think this needs to be tested after a server restart - the first time an admin tries to import a users file

      1. Log in as admin
      2. Click Users
      3. Click Import from file

      Is there a missing key error?

      Show
      I think this needs to be tested after a server restart - the first time an admin tries to import a users file Log in as admin Click Users Click Import from file Is there a missing key error?

      Description

      I did not see this problem yesterday when uploading a csv file with users as an admin. This happened the first time now when I tried to import a file. After clicking on Users > Import from file again, the page displayed correctly.

      Log in as admin, click Users, import from file - [missing key (npe): helper att.add] displays

      From the server logs:

      02-Sep-2020 17:34:24.163 WARN [http-nio-20013-exec-15] org.sakaiproject.util.ResourceLoader.getString bundle 'users' null pointer exception: 'useact.newuse' from: org.sakaiproject.user.tool.UsersAction.buildMainPanelContext(UsersAction.java:357)
      02-Sep-2020 17:34:24.170 WARN [http-nio-20013-exec-15] org.sakaiproject.util.ResourceLoader.getString bundle 'velocity-tool' null pointer exception: 'sea.sea' from: org.sakaiproject.user.tool.UsersAction.buildListContext(UsersAction.java:445)
      02-Sep-2020 17:34:27.806 WARN [http-nio-20013-exec-26] org.sakaiproject.util.ResourceLoader.getString bundle 'helper' null pointer exception: 'att.add' from: sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      02-Sep-2020 17:34:27.814 ERROR [http-nio-20013-exec-26] org.sakaiproject.velocity.util.SLF4JLogChute.log VelocityViewServlet: Exception processing the template: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getContentTypeImageClass' in class org.sakaiproject.content.impl.BasicContentTypeImageService threw exception java.lang.NullPointerException at /vm/content/sakai_filepicker_select.vm[line 195, column 71]

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  Unassigned Unassigned
                  Reporter:
                  agschmidt Andrea Schmidt
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration