cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sands Fish (JIRA)" <>
Subject [jira] Commented: (COCOON-2277) NPE in DynamicURLStreamHandlerFactory (Cocoon JNET)
Date Mon, 20 Sep 2010 18:37:33 GMT


Sands Fish commented on COCOON-2277:

I'm from the "other open source project", and I want to confirm that this bug is biting us
very hard.  I work on MIT's DSpace repository, and we are seeing regular occurrences of up
to 3 or 4 times per day on our production instance.  

I was able to reproduce the condition by stressing our server with a large amount of concurrent
requests on the same URL.  Particularly, on a URL that throws an exception during pipeline
processing, though this is correct behavior for our application.  

We received the exact same exception as listed above and this is happening on a regular basis
due to the amount of traffic from spiders + normal traffic.

Could someone please comment on the status of this fix and the anticipated resolution time?
 There are some hacks on the JIRA ticket for DSpace listed above.

> NPE in DynamicURLStreamHandlerFactory (Cocoon JNET)
> ---------------------------------------------------
>                 Key: COCOON-2277
>                 URL:
>             Project: Cocoon
>          Issue Type: Bug
>          Components: * Cocoon Core, - Servlet service framework
>    Affects Versions: 2.2-dev (Current SVN)
>            Reporter: Gabriel Gruber
>            Priority: Critical
> From time to time after more heavy of our cocoon 2.2 based application (which is not
yet in production) I am getting this exception from cocoon jnet. after this exception occurs
we have to restart the web application as this exception keeps coming and noone can do anything
with the webapp....
> java.lang.NullPointerException
>                 java.util.LinkedList.remove(
>                 java.util.LinkedList.remove(
>                 org.apache.cocoon.jnet.DynamicURLStreamHandlerFactory.pop(
>                 org.apache.cocoon.jnet.URLHandlerFactoryCollector.popUrlHandlerFactories(
>                 org.apache.cocoon.jnet.URLHandlerFactoryCollector.installURLHandlers(
>                 sun.reflect.GeneratedMethodAccessor516.invoke(Unknown Source)
>                 sun.reflect.DelegatingMethodAccessorImpl.invoke(
>                 java.lang.reflect.Method.invoke(
>                 org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(
>                 org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(
>                 org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(
>                 org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
>                 org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(
>                 org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
>                 org.springframework.aop.framework.JdkDynamicAopProxy.invoke(
>                 $Proxy34.service(Unknown Source)
>                 org.apache.cocoon.servletservice.ServletServiceContext$PathDispatcher.forward(
>                 org.apache.cocoon.servletservice.ServletServiceContext$PathDispatcher.forward(
>                 org.apache.cocoon.servletservice.spring.ServletFactoryBean$ServiceInterceptor.invoke(
>                 org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
>                 org.springframework.aop.framework.JdkDynamicAopProxy.invoke(
>                 $Proxy94.service(Unknown Source)
>                 org.apache.cocoon.servletservice.DispatcherServlet.service(
>                 javax.servlet.http.HttpServlet.service(
>                 org.apache.cocoon.servlet.multipart.MultipartFilter.doFilter(
> *NOTE* that another open source project reported similar problems:

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

View raw message