<!-- 
RSS generated by JIRA (4.4#649-r158309) at Sun May 19 01:13:38 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-1129/CLJ-1129.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-1129] Invalid ns macro can yield a difficult to trace exception</title>
                <link>http://dev.clojure.org/jira/browse/CLJ-1129</link>
                <project id="10010" key="CLJ">Clojure</project>
                        <description>&lt;p&gt;I inadvertently stripped off the namespace part of my ns macro, so that it was &lt;tt&gt;(ns (:use ...&lt;/tt&gt;.  Clearly a user error, but an easy one.  However, the result (from the REPL or the AOT compiler) was not ideal:&lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;Exception in thread &quot;main&quot; java.lang.ClassCastException: clojure.lang.PersistentList cannot be cast to clojure.lang.Named
	at clojure.core$name.invoke(core.clj:1489)
	at clojure.core$root_resource.invoke(core.clj:5210)
	at clojure.core$load_one.invoke(core.clj:5227)
	at clojure.core$compile$fn__4895.invoke(core.clj:5426)
	at clojure.core$compile.invoke(core.clj:5425)
	at clojuresque.tasks.compile$main$fn__64.invoke(compile.clj:23)
	at clojuresque.cli$with_command_line_STAR_.invoke(cli.clj:92)
	at clojuresque.tasks.compile$main.doInvoke(compile.clj:6)
	at clojure.lang.RestFn.applyTo(RestFn.java:137)
	at clojure.core$apply.invoke(core.clj:601)
	at clojure.lang.Var.invoke(Var.java:419)
	at clojuresque.Driver.main(Driver.java:39)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The problem here is that there is no indication of what file was being loaded and compiled at the time of the error. Since I was in the middle of refactoring a big swath of code, I had some work to do to track down which file I had mangled.&lt;/p&gt;

&lt;p&gt;I would like to see a little more logging to the System/err to identify what resource file was being read and compiled by the compiler at the time of the exception.&lt;/p&gt;</description>
                <environment></environment>
            <key id="15897">CLJ-1129</key>
            <summary>Invalid ns macro can yield a difficult to trace exception</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="3">Duplicate</resolution>
                                <assignee username="-1">Unassigned</assignee>
                                <reporter username="hlewisship">Howard Lewis Ship</reporter>
                        <labels>
                        <label>aot</label>
                        <label>feedback</label>
                    </labels>
                <created>Mon, 17 Dec 2012 16:56:53 -0600</created>
                <updated>Wed, 19 Dec 2012 01:09:27 -0600</updated>
                    <resolved>Wed, 19 Dec 2012 01:09:27 -0600</resolved>
                            <version>Release 1.4</version>
                                                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="30249" author="jafingerhut" created="Tue, 18 Dec 2012 01:12:18 -0600"  >&lt;p&gt;Howard, is this perhaps a duplicate of &lt;a href=&quot;http://dev.clojure.org/jira/browse/CLJ-939&quot; title=&quot;Exceptions thrown in the top level ns form are reported without file or line number&quot;&gt;CLJ-939&lt;/a&gt;?  Let me know, and I can close this ticket as a duplicate if so.&lt;/p&gt;</comment>
                    <comment id="30252" author="hlewisship" created="Tue, 18 Dec 2012 11:10:39 -0600"  >&lt;p&gt;Yes, looks like a dupe to me. Sorry about that, I did do a search for existing issue before adding mine, but they can be hard to find.&lt;/p&gt;</comment>
                    <comment id="30262" author="jafingerhut" created="Wed, 19 Dec 2012 01:09:27 -0600"  >&lt;p&gt;Closed as duplicate of &lt;a href=&quot;http://dev.clojure.org/jira/browse/CLJ-939&quot; title=&quot;Exceptions thrown in the top level ns form are reported without file or line number&quot;&gt;CLJ-939&lt;/a&gt;.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                            <customfield id="customfield_10010" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Global Rank</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>
</channel>
</rss>