Seems like a null value has been placed in the cache. Anyway, I have now
handled that condition as well.

Azeez


On Mon, Jul 29, 2013 at 6:56 PM, Nirodha Pramod <[email protected]> wrote:

> Hi Azeez,
>
> In the cluster setup we see the following NPE when Cache Cleanup Task is
> running.
>
> TID: [0] [AS] [2013-07-29 18:16:45,285] ERROR
> {org.wso2.carbon.caching.impl.CacheCleanupTask} -  Error occurred while
> running CacheCleanupTask {org.wso2.carbon.caching.impl.CacheCleanupTask}
> java.lang.NullPointerException
> at org.wso2.carbon.caching.impl.CacheImpl.expire(CacheImpl.java:684)
>  at
> org.wso2.carbon.caching.impl.CacheImpl.runCacheExpiry(CacheImpl.java:800)
>  at
> org.wso2.carbon.caching.impl.CacheCleanupTask.run(CacheCleanupTask.java:61)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>  at
> java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
>  at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
> at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
>  at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
>  at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>  at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> at java.lang.Thread.run(Thread.java:722)
>
>
> See the below JIRA,
>
> https://wso2.org/jira/browse/CARBON-14232
>
> - Nirodha
>
>
>
>
>
> --
> *
> *
> *Nirodha Gallage*
> Senior Software Engineer, QA.
> WSO2 Inc.: http://wso2.com/
> Mobile: +94716429078
>



-- 
*Afkham Azeez*
Director of Architecture; WSO2, Inc.; http://wso2.com
Member; Apache Software Foundation; http://www.apache.org/
* <http://www.apache.org/>**
email: **[email protected]* <[email protected]>* cell: +94 77 3320919
blog: **http://blog.afkham.org* <http://blog.afkham.org>*
twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to