[jira] [Commented] (GEODE-4790) Access violation exception when setting cache-xml-file on cache factory

2018-03-30 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on GEODE-4790:


Commit 4e446d1b99d0c38a7898bf5b7be94a10ee65875d in geode-native's branch 
refs/heads/develop from M. Oleske
[ https://gitbox.apache.org/repos/asf?p=geode-native.git;h=4e446d1 ]

GEODE-4790: Fixes back references to cache (#251)

- Region should be referencing CacheImpl, not Cache
- Refactored AuthenticatedView
- Make delta.clone pure virtual

Signed-off-by: Michael Oleske 
Signed-off-by: Ryan McMahon 


> Access violation exception when setting cache-xml-file on cache factory
> ---
>
> Key: GEODE-4790
> URL: https://issues.apache.org/jira/browse/GEODE-4790
> Project: Geode
>  Issue Type: Bug
>  Components: native client
>Reporter: Ryan McMahon
>Assignee: Ryan McMahon
>Priority: Major
>
> When using the latest geode-native, the following code results in an access 
> violation exception.  This appears to be a regression as the same code worked 
> in 9.2 and prior.
> {code:java}
> var cache = new CacheFactory()
> .Set("cache-xml-file", somePath)
> .Create();
> var region = cache.GetRegion(someRegionName);
> {code}
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (GEODE-4790) Access violation exception when setting cache-xml-file on cache factory

2018-03-23 Thread Michael Oleske (JIRA)

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

Michael Oleske commented on GEODE-4790:
---

Initial investigation has revealed that there are several classes that are 
affected by this bug. The following changes will be made:
 * PDXInstanceFactory needs to be changed from using m_cache to m_cacheImpl
 * PDXInstanceImpl needs to be changed from using m_cache to m_cacheImpl
 * TcrChunkedContext needs to be changed from using m_cache to m_cacheImpl
 * TXState needs to be changed from using m_cache to m_cacheImpl

 * Delta should not be referencing m_cache

> Access violation exception when setting cache-xml-file on cache factory
> ---
>
> Key: GEODE-4790
> URL: https://issues.apache.org/jira/browse/GEODE-4790
> Project: Geode
>  Issue Type: Bug
>  Components: native client
>Reporter: Ryan McMahon
>Assignee: Ryan McMahon
>Priority: Major
>
> When using the latest geode-native, the following code results in an access 
> violation exception.  This appears to be a regression as the same code worked 
> in 9.2 and prior.
> {code:java}
> var cache = new CacheFactory()
> .Set("cache-xml-file", somePath)
> .Create();
> var region = cache.GetRegion(someRegionName);
> {code}
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)