Uploaded image for project: 'UY'
  1. UY
  2. UY-947

NPE on IdPs view after DB migration from 2.8

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: v3.1.1
    • Labels:
      None

      Description

      System was upgraded via  in place DB upgrade. After entering the IDP view on console there is error (view is not showing). In logs this is presented

      ..... [CUT] ...
      Caused by: java.lang.NullPointerException
       at pl.edu.icm.unity.oauth.console.OAuthServiceController.lambda$getTokenService$1(OAuthServiceController.java:191) ~[unity-server-oauth-3.1.0.jar:?]
       at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174) ~[?:1.8.0_232]
       at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382) ~[?:1.8.0_232]
       at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) ~[?:1.8.0_232]
       at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) ~[?:1.8.0_232]
       at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708) ~[?:1.8.0_232]
       at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:1.8.0_232]
       at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:566) ~[?:1.8.0_232]
       at pl.edu.icm.unity.oauth.console.OAuthServiceController.getTokenService(OAuthServiceController.java:192) ~[unity-server-oauth-3.1.0.jar:?]
       at pl.edu.icm.unity.oauth.console.OAuthServiceController.getServices(OAuthServiceController.java:172) ~[unity-server-oauth-3.1.0.jar:?]
       ... 82 more

       

      I suppose that this tag was not added appropriately?

      Note that unless it is hardcore, this should be fixed without migration (for the 3.1.1, patch release)

        Attachments

          Activity

            People

            • Assignee:
              piotrpiernik Piotr Piernik
              Reporter:
              golbi Krzysztof Benedyczak
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: