Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] UI error for subject previously in wheel group

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] UI error for subject previously in wheel group


Chronological Thread 
  • From: Scott Koranda <>
  • To: Chris Hyzer <>
  • Cc: "GW Brown, Information Systems and Computing" <>, "" <>
  • Subject: Re: [grouper-users] UI error for subject previously in wheel group
  • Date: Thu, 19 Mar 2009 08:27:51 -0700

> Ok, I look at the message again, and it says:
>
> PrivilegeHelper.java 237.
>
> Then I look at that line number, and there is some less than ideal error
> handling:
>
> catch (Exception e) {
> LOG.error("canViewMemberships: " + e.getMessage());
> }
> }
> return mships;
>
> What this means is that the error logged, without the stack (more
> underlying information), and then the user just gets a result anyways, not
> really knowing there is a problem (the error doesn't bubble up).
>
> Scott, if you can tweak the source and rebuild, to this (note the comma and
> e):
>
> catch (Exception e) {
> LOG.error("canViewMemberships: " + e.getMessage(), e );
> }
> }
> return mships;
>
> Then let the user hit it again, look in the logs,
> and hopefully we will have the underlying cause
> here...

For the archives, I have built a new grouper.jar with
the change as asked for by Chris and restarted
Tomcat. Then I sent via private email to Chris and
Gary the much longer stack trace.

Cheers,

Scott




Archive powered by MHonArc 2.6.16.

Top of Page