Uploaded image for project: 'LAMS Development'
  1. LAMS Development
  2. LDEV-2742

Wookie server throws an exception when trying to add a user

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4
    • Fix Version/s: 2.4
    • Component/s: Tool Wookie
    • Labels:
      None

      Description

      It seems that we are the parameter "participantThumbnailUrl" as null and it is meant to be having a value

      04:30:40,346 ERROR log:? - /wookie/WidgetServiceServlet
      java.lang.RuntimeException: Exception caught for transaction: <openjpa-2.0.0-r422266:935683 fatal user error> org.apache.openjpa.persistence.InvalidStateException: The field "participantThumbnailUrl" of instance "org.apache.wookie.beans.jpa.impl.ParticipantImpl@3a2c4ede" contained a null value; the metadata for this field specifies that nulls are illegal.
              at org.apache.wookie.server.MainFilter.doFilter(MainFilter.java:85)
              at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089)
              at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365)
              at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
              at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
              at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
              at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
              at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
              at org.mortbay.jetty.Server.handle(Server.java:285)
              at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:502)
              at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:821)
              at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:513)
              at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:208)
              at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:378)
              at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:226)
              at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)

        Activity

        Hide
        ernieg Ernie Ghiglione added a comment -
        This exception was thrown because Wookie now demands that a thumbnail for the user is submitted when adding a participant.
        Show
        ernieg Ernie Ghiglione added a comment - This exception was thrown because Wookie now demands that a thumbnail for the user is submitted when adding a participant.
        Hide
        ernieg Ernie Ghiglione added a comment -
        Tested and closed
        Show
        ernieg Ernie Ghiglione added a comment - Tested and closed

          People

          • Assignee:
            ernieg Ernie Ghiglione
            Reporter:
            ernieg Ernie Ghiglione
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development