Skip to content

NullPointer in Hystrix.reset() #124

@eduponte

Description

@eduponte

We are facing a NullPointerException during undelpoy/redeploy. HystrixTimer thread seems to have been correctly removed, though.

Current Hystrix version is 1.2.11

2013-03-05 19:23:27,253 [ContainerBackgroundProcessor[StandardEngine[Catalina]]] ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/api]- Excepción enviando evento de contexto destruído a instancia de escuchador de clase etech.ticket.web.listener.ApiContextLoaderListener
java.lang.NullPointerException
    at com.netflix.hystrix.util.HystrixTimer.reset(HystrixTimer.java:63)
    at com.netflix.hystrix.HystrixCollapser.reset(HystrixCollapser.java:1105)
    at com.netflix.hystrix.Hystrix._reset(Hystrix.java:44)
    at com.netflix.hystrix.Hystrix.reset(Hystrix.java:19)
    at etech.ticket.web.listener.ClientContextLoaderListener.contextDestroyed(ClientContextLoaderListener.java:23)
    at etech.ticket.web.listener.ApiContextLoaderListener.contextDestroyed(ApiContextLoaderListener.java:17)
    at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4831)
    at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5478)
    at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)
    at org.apache.catalina.core.StandardContext.reload(StandardContext.java:3913)
    at org.apache.catalina.loader.WebappLoader.backgroundProcess(WebappLoader.java:426)
    at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1345)
    at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1530)
    at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1540)
    at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1540)
    at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1519)
    at java.lang.Thread.run(Thread.java:722)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions