grouper-users - RE: FIND_BY_STEM_NAME error in 1.4.2
Subject: Grouper Users - Open Discussion List
List archive
- From: Paul Gazda <>
- To: Chris Hyzer <>, Grouper Users Mailing List <>
- Subject: RE: FIND_BY_STEM_NAME error in 1.4.2
- Date: Wed, 17 Jun 2009 08:23:03 -0700
- Accept-language: en-US
- Acceptlanguage: en-US
I have done more digging. I can FIND_BY_STEM_NAME for other stems. I think that the stem delete error is due to a problem
with a specific group that I created in the ENTERPRISE stem when I demonstrated
the ability to create two groups with the same name, a bug which you fixed https://bugs.internet2.edu/jira/browse/GRP-278. I suspect a particular group in
the ENTERPRISE stem because I cannot delete it either. As far as I can tell
from queries, there are no duplicate named groups, but according to the error
message, a unique result is not being returned for the delete. I will send the
stack trace to you separately. Since this is a test instance, the problem of
not being able to delete the group is not serious. Paul Gazda From: Chris Hyzer [mailto:] https://bugs.internet2.edu/jira/browse/GRP-294 I ran
the query on my test db and could not reproduce… what is different
about yours? Is it supposed to return groups? What kind of groups
are they simple, has groups as members, composite? Is there more info in
the logs? If
nothing pops to mind, think you can either setup a simple test case and let me
know what you do to reproduce Well,
looking at the code, I have no idea why there was a null pointer since the
result should not ever be null, but I added in a check for it anyways, maybe it
will help. If you want to try the latest in the 1.4 branch (and put the
new grouper.jar in your web services project, or rebuild), go for it cvs
-d:pserver::/home/cvs/i2mi login cvs
-d:pserver::/home/cvs/i2mi export –r
GROUPER_1_4_BRANCH grouper Thanks, Chris ###############
no groups ################ C:\grouper>java
-jar grouperClient.jar --operation=findGroupsWs
--queryFilterType=FIND_BY_STEM_NAME --stemNameScope=ALL_IN_SUBTREE
--stemName=test:test3 ###############
no groups viewable ############# C:\
grouper >java -jar grouperClient.jar --operation=findGroupsWs
--queryFilterType=FIND_BY_STEM_NAME --stemNameScope=ALL_IN_SUBTREE
--stemName=test:test2 ###############
1 group viewable ################ C:\
grouper >java -jar grouperClient.jar --operation=findGroupsWs
--queryFilterType=FIND_BY_STEM_NAME --stemNameScope=ALL_IN_SUBTREE
--stemName=test:test2 Index
0: name: test:test2:test, displayName: test:test2:test From: Paul Gazda [mailto:] I am unable to run a query in 1.4.2
that ran successfully in 1.4.1. Below is the query and stack trace. java -jar grouperClient.jar
--operation=findGroupsWs --queryFilterType=FIND_BY_STEM_NAME
--stemName=ENTERPRISE --stemNameScope=ALL_IN_SUBTREE Error with grouper client, check
the logs: Bad response from web service: resultCode: EXCEPTION, clientVersion:
v1_4_002, wsQueryFilter: WsQueryFilter[queryFilterType=FIND_BY_STEM_NAME,stemName=ENTERPRISE,stemNameScope=ALL_IN_SUBTREE] , includeGroupDetail: false,
actAsSubject: null, paramNames: , params: null,
java.lang.NullPointerException
at edu.internet2.middleware.grouper.filter.GrouperQuery.getGroups(GrouperQuery.java:120)
at
edu.internet2.middleware.grouper.ws.GrouperServiceLogic.findGroups(GrouperServiceLogic.java:663)
at
edu.internet2.middleware.grouper.ws.soap.GrouperService.findGroups(GrouperService.java:199)
at
edu.internet2.middleware.grouper.ws.rest.GrouperServiceRest.findGroups(GrouperServiceRest.java:84)
at
edu.internet2.middleware.grouper.ws.rest.method.GrouperWsRestGet$1.service(GrouperWsRestGet.java:63)
at edu.internet2.middleware.grouper.ws.rest.method.GrouperRestHttpMethod$1.service(GrouperRestHttpMethod.java:42)
at
edu.internet2.middleware.grouper.ws.rest.GrouperRestServlet.service(GrouperRestServlet.java:169)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at edu.internet2.middleware.grouper.ws.GrouperServiceJ2ee.doFilter(GrouperServiceJ2ee.java:576)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:754)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:684)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:876)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595) Paul Gazda |
- FIND_BY_STEM_NAME error in 1.4.2, Paul Gazda, 06/16/2009
- RE: FIND_BY_STEM_NAME error in 1.4.2, Chris Hyzer, 06/17/2009
- RE: FIND_BY_STEM_NAME error in 1.4.2, Paul Gazda, 06/17/2009
- RE: FIND_BY_STEM_NAME error in 1.4.2, Paul Gazda, 06/17/2009
- RE: FIND_BY_STEM_NAME error in 1.4.2, Chris Hyzer, 06/17/2009
- RE: FIND_BY_STEM_NAME error in 1.4.2, Paul Gazda, 06/17/2009
- RE: FIND_BY_STEM_NAME error in 1.4.2, Paul Gazda, 06/17/2009
- RE: FIND_BY_STEM_NAME error in 1.4.2, Chris Hyzer, 06/17/2009
Archive powered by MHonArc 2.6.16.