Uploaded image for project: 'Grouper'
  1. Grouper
  2. GRP-2537

source getAllSubjectIds fails on json marshalling

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.4.0.patch, 2.5.0, 2.4.1
    • None
    • None

    Description

      2020-01-05 13:54:14,321: [http-nio-8080-exec-2] ERROR GrouperUiFilter.doFilter(1146) -  - UI error
      net.sf.json.JSONException: java.lang.reflect.InvocationTargetException
      	at net.sf.json.JSONObject.defaultBeanProcessing(JSONObject.java:818)
      	at net.sf.json.JSONObject._fromBean(JSONObject.java:699)
      	at net.sf.json.JSONObject.fromObject(JSONObject.java:172)
      	at net.sf.json.AbstractJSON._processValue(AbstractJSON.java:274)
      	at net.sf.json.JSONObject._processValue(JSONObject.java:2655)
      	at net.sf.json.JSONObject.processValue(JSONObject.java:2721)
      	at net.sf.json.JSONObject.setInternal(JSONObject.java:2736)
      	at net.sf.json.JSONObject.setValue(JSONObject.java:1424)
      	at net.sf.json.JSONObject.defaultBeanProcessing(JSONObject.java:765)
      	at net.sf.json.JSONObject._fromBean(JSONObject.java:699)
      	at net.sf.json.JSONObject.fromObject(JSONObject.java:172)
      	at net.sf.json.AbstractJSON._processValue(AbstractJSON.java:274)
      	at net.sf.json.JSONObject._processValue(JSONObject.java:2655)
      	at net.sf.json.JSONObject.processValue(JSONObject.java:2721)
      	at net.sf.json.JSONObject.setInternal(JSONObject.java:2736)
      	at net.sf.json.JSONObject.setValue(JSONObject.java:1424)
      	at net.sf.json.JSONObject.defaultBeanProcessing(JSONObject.java:765)
      	at net.sf.json.JSONObject._fromBean(JSONObject.java:699)
      	at net.sf.json.JSONObject.fromObject(JSONObject.java:172)
      	at net.sf.json.AbstractJSON._processValue(AbstractJSON.java:274)
      	at net.sf.json.JSONObject._processValue(JSONObject.java:2655)
      	at net.sf.json.JSONObject.processValue(JSONObject.java:2721)
      	at net.sf.json.JSONObject.setInternal(JSONObject.java:2736)
      	at net.sf.json.JSONObject.setValue(JSONObject.java:1424)
      	at net.sf.json.JSONObject.defaultBeanProcessing(JSONObject.java:765)
      	at net.sf.json.JSONObject._fromBean(JSONObject.java:699)
      	at net.sf.json.JSONObject.fromObject(JSONObject.java:172)
      	at net.sf.json.AbstractJSON._processValue(AbstractJSON.java:274)
      	at net.sf.json.JSONObject._processValue(JSONObject.java:2655)
      	at net.sf.json.JSONObject.processValue(JSONObject.java:2721)
      	at net.sf.json.JSONObject.setInternal(JSONObject.java:2736)
      	at net.sf.json.JSONObject.setValue(JSONObject.java:1424)
      	at net.sf.json.JSONObject.defaultBeanProcessing(JSONObject.java:765)
      	at net.sf.json.JSONObject._fromBean(JSONObject.java:699)
      	at net.sf.json.JSONObject.fromObject(JSONObject.java:172)
      	at net.sf.json.AbstractJSON._processValue(AbstractJSON.java:274)
      	at net.sf.json.JSONArray._processValue(JSONArray.java:2513)
      	at net.sf.json.JSONArray.processValue(JSONArray.java:2538)
      	at net.sf.json.JSONArray.addValue(JSONArray.java:2525)
      	at net.sf.json.JSONArray._fromCollection(JSONArray.java:1056)
      	at net.sf.json.JSONArray.fromObject(JSONArray.java:123)
      	at net.sf.json.AbstractJSON._processValue(AbstractJSON.java:240)
      	at net.sf.json.JSONObject._processValue(JSONObject.java:2655)
      	at net.sf.json.JSONObject.processValue(JSONObject.java:2721)
      	at net.sf.json.JSONObject.setInternal(JSONObject.java:2736)
      	at net.sf.json.JSONObject.setValue(JSONObject.java:1424)
      	at net.sf.json.JSONObject.defaultBeanProcessing(JSONObject.java:765)
      	at net.sf.json.JSONObject._fromBean(JSONObject.java:699)
      	at net.sf.json.JSONObject.fromObject(JSONObject.java:172)
      	at edu.internet2.middleware.grouper.util.GrouperUtil.jsonConvertToNoWrap(GrouperUtil.java:1697)
      	at edu.internet2.middleware.grouper.grouperUi.beans.json.GuiResponseJs.printToScreen(GuiResponseJs.java:80)
      	at edu.internet2.middleware.grouper.j2ee.GrouperUiRestServlet.doGet(GrouperUiRestServlet.java:388)
      	at edu.internet2.middleware.grouper.j2ee.GrouperUiRestServlet.doPost(GrouperUiRestServlet.java:197)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:661)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      	at org.owasp.csrfguard.CsrfGuardFilter.doFilter(CsrfGuardFilter.java:88)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      	at edu.internet2.middleware.grouper.ui.GrouperUiFilter.doFilter(GrouperUiFilter.java:1139)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
      	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
      	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:621)
      	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
      	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
      	at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:650)
      	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
      	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
      	at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:803)
      	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
      	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:790)
      	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1459)
      	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      	at java.lang.Thread.run(Thread.java:748)
      Caused by: java.lang.reflect.InvocationTargetException
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.apache.commons.beanutils.PropertyUtilsBean.invokeMethod(PropertyUtilsBean.java:2127)
      	at org.apache.commons.beanutils.PropertyUtilsBean.getSimpleProperty(PropertyUtilsBean.java:1278)
      	at org.apache.commons.beanutils.PropertyUtilsBean.getNestedProperty(PropertyUtilsBean.java:808)
      	at org.apache.commons.beanutils.PropertyUtilsBean.getProperty(PropertyUtilsBean.java:884)
      	at org.apache.commons.beanutils.PropertyUtils.getProperty(PropertyUtils.java:464)
      	at net.sf.json.JSONObject.defaultBeanProcessing(JSONObject.java:749)
      	... 82 more
      Caused by: java.lang.UnsupportedOperationException
      	at edu.internet2.middleware.subject.provider.BaseSourceAdapter.getAllSubjectIds(BaseSourceAdapter.java:65)
      	... 92 more 

      Attachments

        Activity

          People

            chris.hyzer@at.internet2.edu Chris Hyzer (upenn.edu)
            chris.hyzer@at.internet2.edu Chris Hyzer (upenn.edu)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Smart Checklist