struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin McCann (JIRA)" <>
Subject [jira] Commented: (WW-2240) FileUploadInterceptor causes null pointer exception
Date Fri, 18 Jan 2008 13:19:05 GMT


Benjamin McCann commented on WW-2240:

Yes.  It happens every single time, as long as I choose a file and do not submit an empty
input.  I am running WebLogic 10 on Windows XP and the error is logged to C:\appServer\bea\user_projects\domains\base_domain\servers\AdminServer\logs\base_domain.log:
####<Jan 18, 2008 8:08:48 AM EST> <Error> <HTTP> <L3A3454> <AdminServer>
<[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS
Kernel>> <> <> <1200661728011> <BEA-101017> <[weblogic.servlet.internal.WebAppServletContext@1d75e80
- appName: '_appsdir_webtest_war', name: 'webtest.war', context-path: '/webtest'] Root cause
of ServletException.
	at org.apache.struts2.interceptor.FileUploadInterceptor.intercept(

It happens every single time I or a coworker try to use a FileUploadInterceptor at work as
well.  There I am running WebLogic 9.2 on Windows XP.  WebLogic is a free download (
though I believe the file size is a bit large.

> FileUploadInterceptor causes null pointer exception
> ---------------------------------------------------
>                 Key: WW-2240
>                 URL:
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core Interceptors
>    Affects Versions: 2.1.0
>            Reporter: Benjamin McCann
>             Fix For: 2.1.1
>         Attachments: improvedLogging.patch, null context.jpg,, webtest.war
> Using struts2-core-2.1.0-SNAPSHOT-20071003.jar, I received the following:
> java.lang.NullPointerException
> 	at org.apache.struts2.interceptor.FileUploadInterceptor.intercept(
> 	at com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(
> 	at com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(
> 	at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(
> 	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(
> My action was able to access the File, so it must have been something in the cleanup.
 My action was very similar to the one found in this tutorial

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message