• Bug
  • Status: Closed
  • 2 Major
  • Resolution: Fixed
  • klalithr
  • Reporter: klalithr
  • April 02, 2013
  • 0
  • Watchers: 7
  • June 13, 2013
  • June 11, 2013

Attachments

  • amaheshw (2.00 k) application/x-7z-compressed cdv-1653.7z

Description

NullPointerException when writeBatching set to true for Write-behind feature

http://forums.terracotta.org/forums/posts/list/8128.page

Comments

Abhishek Maheshwari 2013-04-02

NPE from forum page

net.sf.ehcache.CacheException: Unexpected exception while processing write behind operation at org.terracotta.modules.ehcache.writebehind.CacheWriterProcessor.process(CacheWriterProcessor.java:79) at org.terracotta.modules.ehcache.async.ProcessingBucket.processBatchedItems(ProcessingBucket.java:374) at org.terracotta.modules.ehcache.async.ProcessingBucket.doProcessItems(ProcessingBucket.java:313) at org.terracotta.modules.ehcache.async.ProcessingBucket.processItems(ProcessingBucket.java:303) at org.terracotta.modules.ehcache.async.ProcessingBucket.access$200(ProcessingBucket.java:22) at org.terracotta.modules.ehcache.async.ProcessingBucket$ProcessingWorker.run(ProcessingBucket.java:450) at java.lang.Thread.run(Thread.java:722) Caused by: java.lang.NullPointerException at org.terracotta.modules.ehcache.writebehind.CacheWriterProcessor.process(CacheWriterProcessor.java:76) … 6 more

Abhishek Maheshwari 2013-04-03

ehcache config from forum

Manoseelan Subramanian 2013-04-03

Attached sample project and necessary instruction to simulate this error on the originating forum.

Abhishek Maheshwari 2013-04-03

I think we have already fixed this in 4.0.x and trunk. Can you simulate the attached zip on forum and update the jira?

Sundar Krishnamoorthy 2013-06-11

Can someone confirm please that the fix is in place and which release the fix is available in? Thanks.

Fiona OShea 2013-06-11

We were waiting for Field to verify that this solution did resolve the issue.None the less the unverified fix is in 4.0.1

Aurelien Broszniowski 2013-06-13

I tested this with 4.0.1-RC and the issue is fixed