Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] Invalid group type

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] Invalid group type


Chronological Thread 
  • From: Steve Lemons <>
  • To: "blair christensen." <>
  • Cc:
  • Subject: Re: [grouper-users] Invalid group type
  • Date: Tue, 26 Sep 2006 16:00:00 -0400


On Sep 26, 2006, at 12:33 PM, Steve Lemons wrote:

On Sep 26, 2006, at 9:37 AM, blair christensen. wrote:

On 9/25/06, Steve Lemons
<>
wrote:
Basically I get the same error "Invalid group type: base" on either
an add or a delete. See snippet below.


Message: Code(-9005) The driver returned a "fatal" status
indicating that
the driver should be shut down. Detail from driver:
<description>edu.internet2.m
iddleware.grouper.MemberAddException: invalid group type: base</
description>
<exception class-
name="edu.internet2.middleware.grouper.MemberAddException">
<message>invalid group type: base</message>
<stack-
trace>edu.internet2.middleware.grouper.MemberAddException: invalid
group type: base
at edu.internet2.middleware.grouper.Group.addMember(Unknown
Source)

This is a very unexpected error.

Did you manage to delete the `base` group type from the
`grouper_types` table? Or the `base` type from the group you are
trying to add a member to? You shouldn't be able to do either via the
API but the error *suggests* one of the those situations.

The 'base' group type appears to still exists and the group in question has the 'base' group type.

gsh-0.0.1 1% type=GroupTypeFinder.findAll()
edu.internet2.middleware.grouper.GroupType: dynamic
edu.internet2.middleware.grouper.GroupType: base


gsh/bin/gsh.sh
gsh-0.0.1 0% subj=SubjectFinder.findById("GrouperSystem")
sess=GrouperSession.start(subj)

gsh-0.0.1 2% group=GroupFinder.findByName(sess, "duke:students:graduates")
group: name='duke:students:graduates' displayName='Duke University:Students:graduates' uuid='89802203-624d-4121- a53a-68ad3330bdd1'

gsh-0.0.1 3% type=group.getTypes()
edu.internet2.middleware.grouper.GroupType: dynamic
edu.internet2.middleware.grouper.GroupType: base





Correction. I was looking at the wrong environment. It does appear that somehow or another the base group type got removed. Guess it is time to start over. Oh well, practice makes perfect.

steve





Archive powered by MHonArc 2.6.16.

Top of Page