Uploaded image for project: 'Clowder'
  1. Clowder
  2. CATS-482

A server admin can not add users to the default space

XMLWordPrintableJSON

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • Old Issues
    • None
    • None
    • Beta 2 Sprint 4, Beta 2 Sprint 5

      In the "Manage User" page for the default space (such as "ecgs-dev" on ecgs-dev.ncsa.illiois.edu), when adding a user to the "Admin" or other roles, hit the "Submit" button, there was no response. Deleting a user from the roles worked.

      Confirmed that this issue existed on both ecgs-dev 0.9.2#139 and in the latest build 0.9.2#165 with Luigi.

      When adding the user and hitting "submit", clowder.log showed:

      2016-03-28 15:10:12,149 - [ERROR ] - play - Cannot invoke the action, eventually got an error: java.util.NoSuchElementException: None.get
      2016-03-28 15:10:12,162 - [ERROR ] - application -

      ! @6phfi8mg1 - Internal server error, for (POST) [/clowder/api/spaces/56425d2be4b0e6fd44c534ba/updateUsers] ->

      play.api.Application$$anon$1: Execution exception[[NoSuchElementException: None.get]]
      at play.api.Application$class.handleError(Application.scala:293) ~[com.typesafe.play.play_2.10-2.2.3.jar:2.2.3]
      at play.api.DefaultApplication.handleError(Application.scala:399) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3]
      at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3]
      at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3]
      at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.10.4.jar:na]
      at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3.applyOrElse(PlayDefaultUpstreamHandler.scala:264) [com.typesafe.play.play_2.10-2.2.3.jar:2.2.3]
      Caused by: java.util.NoSuchElementException: None.get
      at scala.None$.get(Option.scala:313) ~[org.scala-lang.scala-library-2.10.4.jar:na]
      at scala.None$.get(Option.scala:311) ~[org.scala-lang.scala-library-2.10.4.jar:na]
      at api.Spaces$$anonfun$updateUsers$1$$anonfun$apply$21$$anonfun$apply$22.apply(Spaces.scala:407) ~[clowder.clowder-0.9.2-SNAPSHOT.jar:0.9.2-SNAPSHOT]
      at api.Spaces$$anonfun$updateUsers$1$$anonfun$apply$21$$anonfun$apply$22.apply(Spaces.scala:387) ~[clowder.clowder-0.9.2-SNAPSHOT.jar:0.9.2-SNAPSHOT]
      at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33) ~[org.scala-lang.scala-library-2.10.4.jar:na]
      at scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:108) ~[org.scala-lang.scala-library-2.10.4.jar:na]

              kooper Rob Kooper
              ruiliu Rui Liu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - 4 hours
                  4h
                  Remaining:
                  Remaining Estimate - 4 hours
                  4h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified