<!-- 
RSS generated by JIRA (4.4#649-r158309) at Wed Jun 19 06:00:49 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://dev.clojure.org/jira/si/jira.issueviews:issue-xml/CLJ-724/CLJ-724.xml?field=key&field=summary
-->
<rss version="0.92" >
<channel>
    <title>Clojure JIRA</title>
    <link>http://dev.clojure.org/jira</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>4.4</version>
        <build-number>649</build-number>
        <build-date>25-07-2011</build-date>
    </build-info>

<item>
            <title>[CLJ-724] bean throws NPE when key doesn&apos;t exist</title>
                <link>http://dev.clojure.org/jira/browse/CLJ-724</link>
                <project id="10010" key="CLJ">Clojure</project>
                        <description>&lt;p&gt;The result of (bean obj) throws a NullPointerException when passed in a key that doen&apos;t exist. I think instead it should return nil to be consistent with maps and records - or at least the error message should be more explicit.&lt;/p&gt;</description>
                <environment></environment>
            <key id="14337">CLJ-724</key>
            <summary>bean throws NPE when key doesn&apos;t exist</summary>
                <type id="1" iconUrl="http://dev.clojure.org/jira/images/icons/bug.gif">Defect</type>
                                <priority id="4" iconUrl="http://dev.clojure.org/jira/images/icons/priority_minor.gif">Minor</priority>
                    <status id="6" iconUrl="http://dev.clojure.org/jira/images/icons/status_closed.gif">Closed</status>
                    <resolution id="2">Declined</resolution>
                                <assignee username="-1">Unassigned</assignee>
                                <reporter username="bsteuber">Benjamin Teuber</reporter>
                        <labels>
                    </labels>
                <created>Sat, 22 Jan 2011 09:57:23 -0600</created>
                <updated>Tue, 5 Apr 2011 20:46:42 -0500</updated>
                    <resolved>Tue, 5 Apr 2011 20:46:41 -0500</resolved>
                            <version>Release 1.3</version>
                                                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="26332" author="aredington" created="Fri, 25 Mar 2011 09:51:31 -0500"  >&lt;p&gt;The proxy returned by (bean) performs a bare invocation on the getter method without checking if it exists first. Fixed the bug by adding a long-hand constantly as the missing value for the map fetch. (constantly is not defined yet when core_proxy is read.)&lt;/p&gt;

&lt;p&gt;Also renamed the property map defined in bean to &apos;propmap&apos; instead of &apos;pmap&apos; to avoid ambiguity with clojure.core/pmap&lt;/p&gt;</comment>
                    <comment id="26347" author="stu" created="Tue, 5 Apr 2011 20:46:42 -0500"  >&lt;p&gt;Beans aren&apos;t maps, and without any discussion of motivation it isn&apos;t clear that this change is an improvement.&lt;/p&gt;

&lt;p&gt;If bean was more consumer-friendly, people might use it in production more often. Don&apos;t. Reflection is slow. If there is a motivating use case other than REPL exploration for converting beans to maps, let&apos;s design something more performant targeted to that case.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                    <attachment id="10163" name="clj-724.diff" size="2850" author="aredington" created="Fri, 25 Mar 2011 09:51:31 -0500" />
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                <customfield id="customfield_10002" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                <customfieldname>Approval</customfieldname>
                <customfieldvalues>
                        <customfieldvalue key="10013">Test</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10010" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Global Rank</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                            <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                <customfieldname>Patch</customfieldname>
                <customfieldvalues>
                        <customfieldvalue key="10002">Code and Test</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                        </customfields>
    </item>
</channel>
</rss>