Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] Error liteui member import

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] Error liteui member import

Chronological Thread 
  • From: Colin Hudler <>
  • To: "" <>
  • Subject: Re: [grouper-users] Error liteui member import
  • Date: Fri, 06 Jan 2012 11:43:11 -0600

Forget all that. I do see that you've created a custom servletFileUpload() to wrap it all with the factory. This stands out:

String tempDir = TagUtils.mediaResourceString("file.upload.temp.dir");

That property has no setting in Why would it work in the other environments? It can be fixed by giving that a valid value. It also fixes my previous report of the problem. I'd love to be able to understand what might make it work without that setting, since none of the other environments have it either.

On 01/06/2012 11:23 AM, Colin Hudler wrote:
My previous troubleshooting was probably a red-herring. Here's something else that I am more interested in. I think it is related and may provide better indications as to what is wrong. Also the problem makes the ui hard to use.

Only one of our many grouper environments has this problem, but I cannot detect any difference. Some are exact clones with no FS change whatsoever, yet do not exhibit this. *It happens with any browser and every time*. We're running 1.6.3.

The fault is easily triggered. Navigate to any group, then select "Manage members". Click "Change Display". The display setting is not saved, but the standard grouper-ui "Error" screen is displayed. The following is logged.

2012-01-06 10:33:39,844 ERROR ui.GrouperUiFilter: UI error
at org.apache.commons.fileupload.disk.DiskFileItem.getTempFile(
at org.apache.commons.fileupload.disk.DiskFileItem.getOutputStream(
at org.apache.commons.fileupload.FileUploadBase.parseRequest(
at org.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest(
at edu.internet2.middleware.grouper.j2ee.GrouperRequestWrapper.initMultipartMap(
at edu.internet2.middleware.grouper.j2ee.GrouperRequestWrapper.init(
at edu.internet2.middleware.grouper.ui.GrouperUiFilter.initRequest(
at edu.internet2.middleware.grouper.ui.GrouperUiFilter.doFilter(
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
at org.apache.catalina.core.ApplicationFilterChain.doFilter(
at org.apache.catalina.core.StandardWrapperValve.invoke(
at org.apache.catalina.core.StandardContextValve.invoke(
at org.apache.catalina.core.StandardHostValve.invoke(
at org.apache.catalina.valves.ErrorReportValve.invoke(
at org.apache.catalina.core.StandardEngineValve.invoke(
at org.apache.catalina.connector.CoyoteAdapter.service(
at org.apache.jk.server.JkCoyoteHandler.invoke(
at org.apache.jk.common.HandlerRequest.invoke(
at org.apache.jk.common.ChannelSocket.invoke(
at org.apache.jk.common.ChannelSocket.processConnection(
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(
at org.apache.tomcat.util.threads.ThreadPool$
2012-01-06 10:33:39,856 ERROR ui.TileRecorderTag: javax.servlet.jsp.JspException: ServletException in '/WEB-INF/jsp/dynamicTile.jsp': NullPointerException:null

Note that this stacktrace is about the same as the one I was troubleshooting on the liteUI page. Here's some observations, but I'm hoping you can steer me in some certain direction.

- The tempfile setup for tomcat looks good. It can write files and owns the directory, etc.
- The form on that page is multipart/form-data. There is no file-upload input.
- GrouperRequestWrapper.initMultipartMap does indeed initialize servletFileUpload() and parse the request
- We're using tomcat 6.0.29
- Grouper-ui is rather stock here with no changes outside of the normal configuration files.
- GrouperRequestWrapper.initMultipartMap doesn't use a FileItemFactory, which is not correct use of the API, as far as I can tell. See <>. On the other hand, I have no idea why it works everywhere else.

On 10/11/2011 02:46 PM, Chris Hyzer wrote:
It works for me. Can you reproduce it on the grouper demo server (google finds link)? :)

Which browser are you using?


-----Original Message-----
From: [mailto:] On Behalf Of Colin Hudler
Sent: Tuesday, October 11, 2011 3:12 PM

Subject: [grouper-users] Error liteui member import

Importing members from LiteUI (Advanced->Import) results in no web
response, but the attached error is logged. What is going on? It doesn't
happen every time, but most of the time. Seems to happen equally if "on
screen" or file upload is selected.

Archive powered by MHonArc 2.6.16.

Top of Page