Skip to Content.
Sympa Menu

grouper-users - [grouper-users] RE: Exception

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] RE: Exception


Chronological Thread 
  • From: Chris Hyzer <>
  • To: "Sachdeva, Vivek" <>, "" <>
  • Subject: [grouper-users] RE: Exception
  • Date: Thu, 14 Aug 2014 08:41:10 +0000
  • Accept-language: en-US

Im having trouble reproducing this one…

 

It is supposed to show max 30 roles (and max 30 folders, attribute defs and names for a total of one hundred and some objects max).  The browser scrollbar will get you to the bottom of the list.  Is there more to your stacktrace?  Can you send me the whole thing (and any logs above and below it) so I can see what the problem is?

 

I added 530 roles to a folder and displayed it…  here is the menu on the left and the parent folder screen which both show the roles.

 

/**

* @author mchyzer

* $Id$

*/

package edu.internet2.middleware.grouper.ui.util;

 

import edu.internet2.middleware.grouper.GroupSave;

import edu.internet2.middleware.grouper.GrouperSession;

import edu.internet2.middleware.grouper.group.TypeOfGroup;

 

 

/**

*

*/

public class LoadSomeGroups {

 

  /**

   *

   */

  public LoadSomeGroups() {

  }

 

 /**

   * @param args

   */

  public static void main(String[] args) {

 

    GrouperSession grouperSession = GrouperSession.startRootSession();

   

    for (int i=0;i<540;i++) {

      new GroupSave(grouperSession)

        .assignTypeOfGroup(TypeOfGroup.role)

        .assignCreateParentStemsIfNotExist(true)

        .assignName("someStem3:role_" + i).save();

    }

   

  }

 

}

 

 

 

 

 

From: [mailto:] On Behalf Of Sachdeva, Vivek
Sent: Thursday, August 14, 2014 1:38 AM
To:
Subject: [grouper-users] Exception

 

Hi,

 

I am seeing the following exception when I click on one of the folders in the Browse Folder section on the left.  Folder has about 530 roles. Also when I click on the + icon to see the roles in the tree structure, it shows only up to 30 roles and there is no scrollbar. Can someone help?

 

Thanks,

Vivek

 

Problem in HibernateSession: HibernateSession (2573b49): new, readonly, READONLY_NEW, notActiveTransaction, session (6e98f967),

Exception in list: (class edu.internet2.middleware.grouper.Group), ByHqlStatic, query: 'select distinct theGroup from Group theGroup  where  theGroup.parentUuid = :theStemId  and theGroup.typeOfGroupDb in ( :R83WNZ490, :R83WNZ491 ) ', cacheable: false, cacheRegion: edu.internet2.middleware.grouper.internal.dao.hib3.Hib3GroupDAO.GetAllGroupsSecure, tx type: null, options: QueryOptions: queryPaging: pageSize: 50, pageNumberOnIndexed: -1, querySort: theGroup.displayExtensionDb asc, , tx type: nullBind var[0]: 'Param (class java.lang.String): 'theStemId'->'a6f9b4bb14a64be1b98739d2e3b54362', Bind var[1]: 'Param (class java.lang.String): 'R83WNZ490'->'role'Bind var[2]: 'Param (class java.lang.String): 'R83WNZ491'->'group', 

at edu.internet2.middleware.grouper.hibernate.HibernateSession._internal_hibernateSessionCatch(HibernateSession.java:542)

at edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:664)

at edu.internet2.middleware.grouper.hibernate.ByHqlStatic.list(ByHqlStatic.java:372)

at edu.internet2.middleware.grouper.hibernate.ByHqlStatic.listSet(ByHqlStatic.java:421)

at edu.internet2.middleware.grouper.internal.dao.hib3.Hib3GroupDAO.findAllGroupsSecureHelper(Hib3GroupDAO.java:2701)

at edu.internet2.middleware.grouper.internal.dao.hib3.Hib3GroupDAO.getAllGroupsSecure(Hib3GroupDAO.java:3101)

at edu.internet2.middleware.grouper.GroupFinder.findGroups(GroupFinder.java:683)

at edu.internet2.middleware.grouper.misc.GrouperObjectFinder.findGrouperObjects(GrouperObjectFinder.java:676)

at edu.internet2.middleware.grouper.grouperUi.serviceLogic.UiV2Stem.filterHelper(UiV2Stem.java:873)

at edu.internet2.middleware.grouper.grouperUi.serviceLogic.UiV2Stem.viewStem(UiV2Stem.java:913)

 

 

 




Archive powered by MHonArc 2.6.16.

Top of Page