<!-- 
RSS generated by JIRA (5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9) at Sun May 26 02:10: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/JCBC-168/JCBC-168.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>[JCBC-168] CouchClient.getView always throws an exception</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-168</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>It would seem that client.getView(String designdocName, String viewName) has stopped working in 1.1-beta.  It now throws:&lt;br/&gt;
&lt;br/&gt;
java.lang.RuntimeException: Timed out waiting for operation&lt;br/&gt;
	at com.couchbase.client.internal.HttpFuture.get(HttpFuture.java:66)&lt;br/&gt;
	at com.couchbase.client.CouchbaseClient.getView(CouchbaseClient.java:492)&lt;br/&gt;
&lt;br/&gt;
This was working fine in 1.1-dp4.</description>
                <environment></environment>
            <key id="21171">JCBC-168</key>
            <summary>CouchClient.getView always throws an exception</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="1" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/blocker.png">Blocker</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="ingenthr">Matt Ingenthron</assignee>
                                <reporter username="ctash_jt">Chris Tashjian</reporter>
                        <labels>
                    </labels>
                <created>Wed, 5 Dec 2012 17:34:51 -0600</created>
                <updated>Tue, 11 Dec 2012 10:16:53 -0600</updated>
                    <resolved>Tue, 11 Dec 2012 10:16:53 -0600</resolved>
                            <version>1.1-beta</version>
                                <fixVersion>1.1.0</fixVersion>
                                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="45553" author="daschl" created="Thu, 6 Dec 2012 00:16:47 -0600"  >Hi Chris,&lt;br/&gt;
&lt;br/&gt;
thanks for filing this. There has been a change that makes the ViewTimeout tunable, which I think may be the problem here. All my tests go through without problems, so I think you&amp;#39;re using the FactoryBuilder right?&lt;br/&gt;
&lt;br/&gt;
Can you please give me your bootstrap code and all the timeouts you are using? Also, please check your boot logs if it says something about a low view timeout. Thanks!</comment>
                    <comment id="45573" author="ctash_jt" created="Thu, 6 Dec 2012 10:17:57 -0600"  >We&amp;#39;re using the default ViewTimeout...&lt;br/&gt;
&lt;br/&gt;
CouchbaseConnectionFactoryBuilder builder = new CouchbaseConnectionFactoryBuilder();&lt;br/&gt;
builder.setAuthDescriptor(new AuthDescriptor(new String[]{&amp;quot;PLAIN&amp;quot;}, new PlainCallbackHandler(bucketName, password)));&lt;br/&gt;
builder.setOpTimeout(opTimeout);&lt;br/&gt;
if (failureMode != null) {&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;builder.setFailureMode(FailureMode.valueOf(failureMode));&lt;br/&gt;
}&lt;br/&gt;
CouchbaseClient client = createClient(builder, uris);</comment>
                    <comment id="45583" author="ctash_jt" created="Thu, 6 Dec 2012 12:59:06 -0600"  >Ok, I think I was able to get this to work by adding &amp;quot;builder.setViewTimeout(5000);&amp;quot;.&lt;br/&gt;
&lt;br/&gt;
At one point I had it set to 3000 and got a timeout exception... however, if you don&amp;#39;t explicitly call setViewTimeout, it seems that you get the less informative RuntimeException that I originally filed this for.  It might be helpful if the constructor for CouchbaseConnectionFactoryBuilder set some kind of default timeout.</comment>
                    <comment id="45788" author="ingenthr" created="Tue, 11 Dec 2012 01:53:43 -0600"  >&lt;a href=&quot;http://review.couchbase.org/#/c/23189/&quot;&gt;http://review.couchbase.org/#/c/23189/&lt;/a&gt;</comment>
                    <comment id="45802" author="daschl" created="Tue, 11 Dec 2012 10:16:53 -0600"  >fixed and pushed to master!</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>10098</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>