You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/02/25 19:42:18 UTC

[jira] [Commented] (GEODE-983) NPE with transactions on PR with overflow

    [ https://issues.apache.org/jira/browse/GEODE-983?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15167621#comment-15167621 ] 

ASF subversion and git services commented on GEODE-983:
-------------------------------------------------------

Commit deaa7aa68e368b26d8fea203d5273a37e7892a2a in incubator-geode's branch refs/heads/develop from [~swapnil.bawaskar]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-geode.git;h=deaa7aa ]

GEODE-983: NPE with transactions on PR with overflow

Use a BucketRegion while faulting-in an overflowed value.


> NPE with transactions on PR with overflow
> -----------------------------------------
>
>                 Key: GEODE-983
>                 URL: https://issues.apache.org/jira/browse/GEODE-983
>             Project: Geode
>          Issue Type: Bug
>          Components: transactions
>            Reporter: Swapnil Bawaskar
>            Assignee: Swapnil Bawaskar
>         Attachments: TXWithOverflowTest.java
>
>
> When a PartitionedRegion is configured for overflow and a transaction is trying to fault-in an overflowed value, we get an NPE.
> {noformat}
> java.lang.NullPointerException
> 	at com.gemstone.gemfire.internal.cache.DiskEntry$Helper.faultInValue(DiskEntry.java:1227)
> 	at com.gemstone.gemfire.internal.cache.DiskEntry$Helper.faultInValue(DiskEntry.java:1205)
> 	at com.gemstone.gemfire.internal.cache.AbstractOplogDiskRegionEntry.getValue(AbstractOplogDiskRegionEntry.java:76)
> 	at com.gemstone.gemfire.internal.cache.LocalRegion.createReadEntry(LocalRegion.java:9080)
> 	at com.gemstone.gemfire.internal.cache.TXState.txReadEntry(TXState.java:1365)
> 	at com.gemstone.gemfire.internal.cache.TXState.txWriteExistingEntry(TXState.java:1285)
> 	at com.gemstone.gemfire.internal.cache.TXState.destroyExistingEntry(TXState.java:1243)
> 	at com.gemstone.gemfire.internal.cache.TXStateProxyImpl.destroyExistingEntry(TXStateProxyImpl.java:313)
> 	at com.gemstone.gemfire.internal.cache.PartitionedRegion.basicDestroy(PartitionedRegion.java:5545)
> 	at com.gemstone.gemfire.internal.cache.LocalRegion.validatedDestroy(LocalRegion.java:1214)
> 	at com.gemstone.gemfire.internal.cache.LocalRegion.destroy(LocalRegion.java:1199)
> 	at com.gemstone.gemfire.internal.cache.AbstractRegion.destroy(AbstractRegion.java:331)
> 	at com.gemstone.gemfire.internal.cache.lru.TXWithOverflowTest.testpartitionedRegionWithOverflow(TXWithOverflowTest.java:46)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:497)
> 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
> 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
> 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
> 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)