Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AMUncaughtException occurs in Google Apps settings if there are host IDPs and COTs only in other realms #92

Closed
tsujiguchitky opened this issue May 13, 2019 · 0 comments
Assignees
Milestone

Comments

@tsujiguchitky
Copy link
Contributor

Description

AMUncaughtException occurs in Google Apps settings if there are host IDPs and COTs only in other realms.

Steps to reproduce

  1. Create two sub realms
  2. Configure Host IdP and Circle of Trust in one realm
  3. Try configuring Google Apps in the other realm

Expected Results

The following message is displayed because there is no host IdP and COT for the corresponding realm.

Unable to configure because there are no circle of trust with Identity Provider.

Actual Results

AMUncaughtException occurs in the admin console.

Debug Log

amConsole:05/13/2019 12:47:54:642 PM JST: Thread[http-bio-8080-exec-10,5,main]: TransactionId[d3f6e1ae-2f49-4a02-a9f9-0fcd656975bc-1059]
ERROR: ConsoleServletBase.onUncaughtException
com.iplanet.jato.NavigationException: Exception encountered during forward
Root cause = [java.lang.NullPointerException]
        at com.iplanet.jato.view.ViewBeanBase.forward(ViewBeanBase.java:380)
        at com.iplanet.jato.view.ViewBeanBase.forwardTo(ViewBeanBase.java:261)
        at com.sun.identity.console.base.AMViewBeanBase.forwardTo(AMViewBeanBase.java:162)
        at com.sun.identity.console.base.AMPrimaryMastHeadViewBean.forwardTo(AMPrimaryMastHeadViewBean.java:113)
        at com.sun.identity.console.task.ConfigureGoogleAppsViewBean.forwardTo(ConfigureGoogleAppsViewBean.java:87)
        at com.iplanet.jato.ApplicationServletBase.dispatchRequest(ApplicationServletBase.java:981)
        at com.iplanet.jato.ApplicationServletBase.processRequest(ApplicationServletBase.java:615)
        at com.iplanet.jato.ApplicationServletBase.doGet(ApplicationServletBase.java:459)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
...
Root cause:
java.lang.NullPointerException
        at com.sun.identity.console.task.ConfigureGoogleAppsViewBean.beginDisplay(ConfigureGoogleAppsViewBean.java:171)
        at com.iplanet.jato.taglib.UseViewBeanTag.doStartTag(UseViewBeanTag.java:149)
        at org.apache.jsp.console.task.ConfigureGoogleApps_jsp._jspService(ConfigureGoogleApps_jsp.java:150)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:439)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
...

References

@tsujiguchitky tsujiguchitky added this to the OpenAM 14.0.0 milestone May 30, 2019
Ko-Hoshino added a commit that referenced this issue Sep 17, 2019
…here are host IDPs and COTs only in other realms
ogis-miyamura pushed a commit that referenced this issue Oct 17, 2019
…here are host IDPs and COTs only in other realms (#147)

Thank you for the code. I think it's good.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants