grouper-users - [grouper-users] RE: Getting Started Quickly - lite ui error
Subject: Grouper Users - Open Discussion List
List archive
- From: Chris Hyzer <>
- To: "Baker, Doug" <>, "''" <>
- Subject: [grouper-users] RE: Getting Started Quickly - lite ui error
- Date: Thu, 31 May 2012 17:04:25 +0000
- Accept-language: en-US
Thanks, I updated the wiki. Chris From: [mailto:]
On Behalf Of Baker, Doug I followed
https://spaces.internet2.edu/display/Grouper/Grouper+Getting+Started+Quickly in order to get a test environment up, including adding myself as a subject as in the example. The environment (so far) consists of 2 Debian boxes – one for MySQL, the other for
Apache/Tomcat with the API and UI. I did not import any quickstart data. I noticed that the Admin UI was not displaying my information (for example, when exploring etc.sysadmingroup, there was a checkbox followed by “is a direct member” without displaying my name)
In addition, the Lite UI would fail to launch and the browser would display a popup with an “error[object XMLHttpRequest]”. grouper_error.log contained: 2012-05-31 10:46:59,002: [TP-Processor2] ERROR GrouperUiFilter.doFilter(814) - - UI error net.sf.json.JSONException: java.lang.reflect.InvocationTargetException at net.sf.json.JSONObject._fromBean(JSONObject.java:987) at net.sf.json.JSONObject.fromObject(JSONObject.java:168) at net.sf.json.AbstractJSON._processValue(AbstractJSON.java:265) at net.sf.json.JSONObject._processValue(JSONObject.java:2808) at net.sf.json.JSONObject.processValue(JSONObject.java:2874) at net.sf.json.JSONObject.setInternal(JSONObject.java:2889) at net.sf.json.JSONObject.setValue(JSONObject.java:1577) at net.sf.json.JSONObject._fromBean(JSONObject.java:934) at net.sf.json.JSONObject.fromObject(JSONObject.java:168) at net.sf.json.AbstractJSON._processValue(AbstractJSON.java:265) at net.sf.json.JSONObject._processValue(JSONObject.java:2808) at net.sf.json.JSONObject.processValue(JSONObject.java:2874) at net.sf.json.JSONObject.setInternal(JSONObject.java:2889) at net.sf.json.JSONObject.setValue(JSONObject.java:1577) at net.sf.json.JSONObject._fromBean(JSONObject.java:934) at net.sf.json.JSONObject.fromObject(JSONObject.java:168) at net.sf.json.AbstractJSON._processValue(AbstractJSON.java:265) at net.sf.json.JSONArray._processValue(JSONArray.java:2514) at net.sf.json.JSONArray.processValue(JSONArray.java:2539) at net.sf.json.JSONArray.addValue(JSONArray.java:2526) at net.sf.json.JSONArray._fromCollection(JSONArray.java:1057) at net.sf.json.JSONArray.fromObject(JSONArray.java:123) at net.sf.json.AbstractJSON._processValue(AbstractJSON.java:237) at net.sf.json.JSONObject._processValue(JSONObject.java:2808) at net.sf.json.JSONObject.processValue(JSONObject.java:2874) at net.sf.json.JSONObject.setInternal(JSONObject.java:2889) at net.sf.json.JSONObject.setValue(JSONObject.java:1577) at net.sf.json.JSONObject._fromBean(JSONObject.java:934) at net.sf.json.JSONObject.fromObject(JSONObject.java:168) at edu.internet2.middleware.grouper.util.GrouperUtil.jsonConvertToNoWrap(GrouperUtil.java:1450) at edu.internet2.middleware.grouper.grouperUi.beans.json.GuiResponseJs.printToScreen(GuiResponseJs.java:39) at edu.internet2.middleware.grouper.j2ee.GrouperUiRestServlet.doGet(GrouperUiRestServlet.java:256) at edu.internet2.middleware.grouper.j2ee.GrouperUiRestServlet.doPost(GrouperUiRestServlet.java:118) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at edu.internet2.middleware.grouper.ui.GrouperUiFilter.doFilter(GrouperUiFilter.java:807) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690) at java.lang.Thread.run(Thread.java:636) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.apache.commons.beanutils.PropertyUtilsBean.invokeMethod(PropertyUtilsBean.java:1773) at org.apache.commons.beanutils.PropertyUtilsBean.getSimpleProperty(PropertyUtilsBean.java:1132) at org.apache.commons.beanutils.PropertyUtilsBean.getNestedProperty(PropertyUtilsBean.java:686) at org.apache.commons.beanutils.PropertyUtilsBean.getProperty(PropertyUtilsBean.java:715) at org.apache.commons.beanutils.PropertyUtils.getProperty(PropertyUtils.java:290) at net.sf.json.JSONObject._fromBean(JSONObject.java:918) ... 52 more Caused by: edu.internet2.middleware.grouper.exception.ExpressionLanguageMissingVariableException: variable 'subject.description' is not defined in script: 'subject.description' at edu.internet2.middleware.grouper.util.GrouperUtil.substituteExpressionLanguage(GrouperUtil.java:8936) at edu.internet2.middleware.grouper.util.GrouperUtil.substituteExpressionLanguage(GrouperUtil.java:8839) at edu.internet2.middleware.grouper.util.GrouperUtil.substituteExpressionLanguage(GrouperUtil.java:8810) at edu.internet2.middleware.grouper.ui.util.GrouperUiUtils.convertSubjectToLabelConfigured(GrouperUiUtils.java:1287) at edu.internet2.middleware.grouper.ui.util.GrouperUiUtils.convertSubjectToLabelLong(GrouperUiUtils.java:964) at edu.internet2.middleware.grouper.grouperUi.beans.api.GuiSubject.initScreenLabels(GuiSubject.java:34) at edu.internet2.middleware.grouper.grouperUi.beans.api.GuiSubject.isNeedsTooltip(GuiSubject.java:141) ... 62 more Caused by: org.apache.commons.jexl2.JexlException:
]: 'subject.description;' undefined variable subject.description at org.apache.commons.jexl2.Interpreter.visit(Interpreter.java:1064) at org.apache.commons.jexl2.parser.ASTReference.jjtAccept(ASTReference.java:18) at org.apache.commons.jexl2.Interpreter.interpret(Interpreter.java:162) at org.apache.commons.jexl2.ExpressionImpl.evaluate(ExpressionImpl.java:64) at edu.internet2.middleware.grouper.util.GrouperUtil.substituteExpressionLanguage(GrouperUtil.java:8922) ... 68 more 2012-05-31 10:48:22,193: [TP-Processor2] ERROR GrouperUiFilter.doFilter(814) - - UI error net.sf.json.JSONException: java.lang.reflect.InvocationTargetException at net.sf.json.JSONObject._fromBean(JSONObject.java:987) at net.sf.json.JSONObject.fromObject(JSONObject.java:168) at net.sf.json.AbstractJSON._processValue(AbstractJSON.java:265) at net.sf.json.JSONObject._processValue(JSONObject.java:2808) at net.sf.json.JSONObject.processValue(JSONObject.java:2874) at net.sf.json.JSONObject.setInternal(JSONObject.java:2889) at net.sf.json.JSONObject.setValue(JSONObject.java:1577) at net.sf.json.JSONObject._fromBean(JSONObject.java:934) at net.sf.json.JSONObject.fromObject(JSONObject.java:168) at net.sf.json.AbstractJSON._processValue(AbstractJSON.java:265) at net.sf.json.JSONObject._processValue(JSONObject.java:2808) at net.sf.json.JSONObject.processValue(JSONObject.java:2874) at net.sf.json.JSONObject.setInternal(JSONObject.java:2889) at net.sf.json.JSONObject.setValue(JSONObject.java:1577) at net.sf.json.JSONObject._fromBean(JSONObject.java:934) at net.sf.json.JSONObject.fromObject(JSONObject.java:168) at net.sf.json.AbstractJSON._processValue(AbstractJSON.java:265) at net.sf.json.JSONArray._processValue(JSONArray.java:2514) at net.sf.json.JSONArray.processValue(JSONArray.java:2539) at net.sf.json.JSONArray.addValue(JSONArray.java:2526) at net.sf.json.JSONArray._fromCollection(JSONArray.java:1057) at net.sf.json.JSONArray.fromObject(JSONArray.java:123) at net.sf.json.AbstractJSON._processValue(AbstractJSON.java:237) at net.sf.json.JSONObject._processValue(JSONObject.java:2808) at net.sf.json.JSONObject.processValue(JSONObject.java:2874) at net.sf.json.JSONObject.setInternal(JSONObject.java:2889) at net.sf.json.JSONObject.setValue(JSONObject.java:1577) at net.sf.json.JSONObject._fromBean(JSONObject.java:934) at net.sf.json.JSONObject.fromObject(JSONObject.java:168) at edu.internet2.middleware.grouper.util.GrouperUtil.jsonConvertToNoWrap(GrouperUtil.java:1450) at edu.internet2.middleware.grouper.grouperUi.beans.json.GuiResponseJs.printToScreen(GuiResponseJs.java:39) at edu.internet2.middleware.grouper.j2ee.GrouperUiRestServlet.doGet(GrouperUiRestServlet.java:256) at edu.internet2.middleware.grouper.j2ee.GrouperUiRestServlet.doPost(GrouperUiRestServlet.java:118) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at edu.internet2.middleware.grouper.ui.GrouperUiFilter.doFilter(GrouperUiFilter.java:807) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690) at java.lang.Thread.run(Thread.java:636) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.apache.commons.beanutils.PropertyUtilsBean.invokeMethod(PropertyUtilsBean.java:1773) at org.apache.commons.beanutils.PropertyUtilsBean.getSimpleProperty(PropertyUtilsBean.java:1132) at org.apache.commons.beanutils.PropertyUtilsBean.getNestedProperty(PropertyUtilsBean.java:686) at org.apache.commons.beanutils.PropertyUtilsBean.getProperty(PropertyUtilsBean.java:715) at org.apache.commons.beanutils.PropertyUtils.getProperty(PropertyUtils.java:290) at net.sf.json.JSONObject._fromBean(JSONObject.java:918) ... 52 more Caused by: edu.internet2.middleware.grouper.exception.ExpressionLanguageMissingVariableException: variable 'subject.description' is not defined in script: 'subject.description' at edu.internet2.middleware.grouper.util.GrouperUtil.substituteExpressionLanguage(GrouperUtil.java:8936) at edu.internet2.middleware.grouper.util.GrouperUtil.substituteExpressionLanguage(GrouperUtil.java:8839) at edu.internet2.middleware.grouper.util.GrouperUtil.substituteExpressionLanguage(GrouperUtil.java:8810) at edu.internet2.middleware.grouper.ui.util.GrouperUiUtils.convertSubjectToLabelConfigured(GrouperUiUtils.java:1287) at edu.internet2.middleware.grouper.ui.util.GrouperUiUtils.convertSubjectToLabelLong(GrouperUiUtils.java:964) at edu.internet2.middleware.grouper.grouperUi.beans.api.GuiSubject.initScreenLabels(GuiSubject.java:34) at edu.internet2.middleware.grouper.grouperUi.beans.api.GuiSubject.isNeedsTooltip(GuiSubject.java:141) ... 62 more Caused by: org.apache.commons.jexl2.JexlException:
]: 'subject.description;' undefined variable subject.description at org.apache.commons.jexl2.Interpreter.visit(Interpreter.java:1064) at org.apache.commons.jexl2.parser.ASTReference.jjtAccept(ASTReference.java:18) at org.apache.commons.jexl2.Interpreter.interpret(Interpreter.java:162) at org.apache.commons.jexl2.ExpressionImpl.evaluate(ExpressionImpl.java:64) at edu.internet2.middleware.grouper.util.GrouperUtil.substituteExpressionLanguage(GrouperUtil.java:8922) ... 68 more Not until I manually inserted data into the grouper.subjecttribute MySQL table for myself (akin to the subjects.sql in step 10 of the API install) did the Lite UI successfully launch and my information appear in the admin UI. Perhaps I missed a step, but just an FYI to anyone following the Getting Started Quickly guide. Doug Baker |
- [grouper-users] Getting Started Quickly - lite ui error, Baker, Doug, 05/31/2012
- [grouper-users] RE: Getting Started Quickly - lite ui error, Chris Hyzer, 05/31/2012
Archive powered by MHonArc 2.6.16.