<!-- 
RSS generated by JIRA (5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9) at Wed May 22 08:17:03 CDT 2013

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary add field=key&field=summary to the URL of your request.
For example:
http://www.couchbase.com/issues/si/jira.issueviews:issue-xml/NCBC-210/NCBC-210.xml?field=key&field=summary
-->
<rss version="0.92" >
<channel>
    <title>Couchbase</title>
    <link>http://www.couchbase.com/issues</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>5.2.4</version>
        <build-number>845</build-number>
        <build-date>26-12-2012</build-date>
    </build-info>

<item>
            <title>[NCBC-210] .NET Client is throwing NullReferenceExceptions (CBSE-341)</title>
                <link>http://www.couchbase.com/issues/browse/NCBC-210</link>
                <project id="10046" key="NCBC">Couchbase .NET client library</project>
                        <description>Issue is raised by a customer in ticket CBSE-341 (&lt;a href=&quot;http://www.couchbase.com/issues/browse/CBSE-341),&quot;&gt;http://www.couchbase.com/issues/browse/CBSE-341),&lt;/a&gt; the details are mentioned in the ticket itself.&lt;br/&gt;
&lt;br/&gt;
Following are the observations related to the issue:&lt;br/&gt;
&lt;br/&gt;
--&amp;gt; when we create a client with bucket which doesn&amp;#39;t exist, the error message should be more appropriate like &amp;quot;Bucket does not exist&amp;quot; and the code should simply exit with a false status. Currently it throws an exception and the error message that comes is &amp;quot;Object reference not set to an instance of an object.&amp;quot;.&lt;br/&gt;
&lt;br/&gt;
Error source : Couchbase.CouchbasePool.Enyim.Caching.Memcached.IServerPool.Locate(String key)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Couchbase.CouchbaseClient.PerformStore(StoreMode mode, String key, Object value, UInt32 expires, UInt64&amp;amp; cas, Int32&amp;amp; statusCode)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Enyim.Caching.MemcachedClient.Store(StoreMode mode, String key, Object value) &lt;br/&gt;
May be we need to add some condition that checks whether node (returned from Locate()) in null or not. If null, it should not proceed further to perform store operation. It should return apt message and simply exit with false status.&lt;br/&gt;
&lt;br/&gt;
--&amp;gt; Rebalance operation takes quite some time. During this operation, the server nodes may become unavailable for sometime or even get removed from the cluster and hence the bucket is also not available. Exception is thrown &amp;quot;Object reference not set to an instance of an object)&amp;quot;. Error source same as above : Couchbase.CouchbasePool.Enyim.Caching.Memcached.IServerPool.Locate(String key)&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
--&amp;gt; Refer to the attached sample code, I used my cluster which has following server nodes:&lt;br/&gt;
10.3.3.206&lt;br/&gt;
10.3.121.134&lt;br/&gt;
10.3.121.135&lt;br/&gt;
10.3.121.136&lt;br/&gt;
In the code Program.cs, use the bucket name that does not exist, the code will throw the exception.&lt;br/&gt;
Next use the correct bucket name but manually fail over a node &amp;amp; start rebalance. It will throw the exception.&lt;br/&gt;
</description>
                <environment></environment>
            <key id="21986">NCBC-210</key>
            <summary>.NET Client is throwing NullReferenceExceptions (CBSE-341)</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="6" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="3">Duplicate</resolution>
                                <assignee username="saakshi.manocha">Saakshi Manocha</assignee>
                                <reporter username="saakshi.manocha">Saakshi Manocha</reporter>
                        <labels>
                    </labels>
                <created>Fri, 25 Jan 2013 03:21:43 -0600</created>
                <updated>Wed, 30 Jan 2013 16:10:17 -0600</updated>
                    <resolved>Wed, 30 Jan 2013 16:10:17 -0600</resolved>
                                                            <component>library</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="48603" author="saakshi.manocha" created="Fri, 25 Jan 2013 04:12:29 -0600"  >sample code to reproduce issue</comment>
                    <comment id="49043" author="john" created="Wed, 30 Jan 2013 16:10:17 -0600"  >&lt;a href=&quot;http://www.couchbase.com/issues/browse/NCBC-192&quot;&gt;http://www.couchbase.com/issues/browse/NCBC-192&lt;/a&gt;</comment>
                </comments>
                    <attachments>
                    <attachment id="16292" name="CouchbaseClientNullReferenceCrash.rar" size="9741990" author="saakshi.manocha" created="Fri, 25 Jan 2013 04:12:29 -0600" />
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>9895</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>
</channel>
</rss>