You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2015/02/03 14:50:36 UTC

[Bug 57528] Random NPE when sending multipart content

https://issues.apache.org/bugzilla/show_bug.cgi?id=57528

Konstantin Kolinko <kn...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

--- Comment #1 from Konstantin Kolinko <kn...@gmail.com> ---


> ...
> org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1157)
> org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:998)
> ...

I wonder why DispatcherServlet loads a class here. I wonder what class it tries
to load.

Generally DispatcherServlet is a frequently executed piece of code. Maybe you
are hitting a rare path that does not have the necessary classes loaded.

Looking into Spring 4.1.4 (I do not know your Spring version, line numbers do
not match), there are no explicit loadClass() calls in DispatcherServlet. Thus
this class loading is implicit one.


Look into Tomcat log files for the information on when your web application
started and whether it was stopped or reloaded recently.

If a web application has been stopped, class loading should fail, though I
would expect it to fail in a different way.


Can you provide a simple web application reproducing the issue?


> I think also with tomcat 7

Resources implementation with Tomcat 7 is rather different. There is no
"org.apache.catalina.webresources.AbstractArchiveResource" in Tomcat 7.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org