<?xml version="1.0" encoding="UTF-8"?>
<ticket>
  <assigned-user-id type="integer" nil="true"></assigned-user-id>
  <attachments-count type="integer">0</attachments-count>
  <closed type="boolean">true</closed>
  <created-at type="datetime">2009-06-14T13:54:31-05:00</created-at>
  <creator-id type="integer">59896</creator-id>
  <milestone-due-on type="datetime" nil="true"></milestone-due-on>
  <milestone-id type="integer" nil="true"></milestone-id>
  <number type="integer">7</number>
  <permalink>nscfarray-objectatindex-index-1-or-possibly-larger-beyond-bounds-0</permalink>
  <priority type="integer">120894</priority>
  <project-id type="integer">24800</project-id>
  <raw-data type="binary" nil="true" encoding="base64"></raw-data>
  <state>resolved</state>
  <tag nil="true"></tag>
  <title>[NSCFArray objectAtIndex:]: index (-1( or possibly larger)) beyond bounds (0)</title>
  <updated-at type="datetime">2009-07-16T00:12:05-05:00</updated-at>
  <user-id type="integer">45213</user-id>
  <user-name>rentzsch</user-name>
  <creator-name>Rainer</creator-name>
  <url>http://rentzsch.lighthouseapp.com/projects/24800/tickets/7</url>
  <original-body>I am getting the same error as in bug # 6, it shows in your sample app like this:
*** -[NSCFArray objectAtIndex:]: index (-1( or possibly larger)) beyond bounds (0)
I'm on 10.5.7, Xcode 3.1, 10.5|Release|i386. When this error occurs, you can click the button again, and everything is fine. But a third click produces the same error, the fourth click gets the desired window.
I'm a Cocoa newbie, couldn't make the stack trace happen, but I am willing to try again, if you - or someone? - were to tell me how.
By caveman-debugging I found that the error is triggered by this line in +showFeedbackWithBugDetails in JRFeedbackController.m:
[gFeedbackController showWindow:self];
This line is roughly on line 57 of your code.</original-body>
  <latest-body>I am getting the same error as in bug # 6, it shows in your sample app like this:
*** -[NSCFArray objectAtIndex:]: index (-1( or possibly larger)) beyond bounds (0)
I'm on 10.5.7, Xcode 3.1, 10.5|Release|i386. When this error occurs, you can click the button again, and everything is fine. But a third click produces the same error, the fourth click gets the desired window.
I'm a Cocoa newbie, couldn't make the stack trace happen, but I am willing to try again, if you - or someone? - were to tell me how.
By caveman-debugging I found that the error is triggered by this line in +showFeedbackWithBugDetails in JRFeedbackController.m:
[gFeedbackController showWindow:self];
This line is roughly on line 57 of your code.</latest-body>
  <original-body-html>&lt;div&gt;&lt;p&gt;I am getting the same error as in bug # 6, it shows in your
sample app like this: *** -[NSCFArray objectAtIndex:]: index (-1(
or possibly larger)) beyond bounds (0) I'm on 10.5.7, Xcode 3.1,
10.5|Release|i386. When this error occurs, you can click the button
again, and everything is fine. But a third click produces the same
error, the fourth click gets the desired window. I'm a Cocoa
newbie, couldn't make the stack trace happen, but I am willing to
try again, if you - or someone? - were to tell me how. By
caveman-debugging I found that the error is triggered by this line
in +showFeedbackWithBugDetails in JRFeedbackController.m:
[gFeedbackController showWindow:self]; This line is roughly on line
57 of your code.&lt;/p&gt;&lt;/div&gt;</original-body-html>
  <versions type="array">
    <version type="Ticket::Version">
      <assigned-user-id type="integer" nil="true"></assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>I am getting the same error as in bug #6, it shows in your sample app like this:
*** -[NSCFArray objectAtIndex:]: index (-1( or possibly larger)) beyond bounds (0)
I'm on 10.5.7, Xcode 3.1, 10.5|Release|i386. When this error occurs, you can click the button again, and everything is fine. But a third click produces the same error, the fourth click gets the desired window.
I'm a Cocoa newbie, couldn't make the stack trace happen, but I am willing to try again, if you - or someone? - were to tell me how.
By caveman-debugging I found that the error is triggered by this line in +showFeedbackWithBugDetails in JRFeedbackController.m:
[gFeedbackController showWindow:self];
This line is roughly on line 57 of your code.</body>
      <body-html>&lt;div&gt;&lt;p&gt;I am getting the same error as in bug &lt;a href=
&quot;/projects/24800/tickets/6&quot; title=&quot;Ticket #6&quot;&gt;#6&lt;/a&gt;, it shows in
your sample app like this:&lt;br&gt;
*** -[NSCFArray objectAtIndex:]: index (-1( or possibly larger))
beyond bounds (0) I'm on 10.5.7, Xcode 3.1, 10.5|Release|i386. When
this error occurs, you can click the button again, and everything
is fine. But a third click produces the same error, the fourth
click gets the desired window.&lt;br&gt;
I'm a Cocoa newbie, couldn't make the stack trace happen, but I am
willing to try again, if you - or someone? - were to tell me
how.&lt;br&gt;
By caveman-debugging I found that the error is triggered by this
line in +showFeedbackWithBugDetails in JRFeedbackController.m:&lt;br&gt;
[gFeedbackController showWindow:self]; This line is roughly on line
57 of your code.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-06-14T13:54:31-05:00</created-at>
      <creator-id type="integer">59896</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">7</number>
      <permalink>nscfarray-objectatindex-index-1-or-possibly-larger-beyond-bounds-0</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">24800</project-id>
      <state>new</state>
      <tag nil="true"></tag>
      <title>[NSCFArray objectAtIndex:]: index (-1( or possibly larger)) beyond bounds (0)</title>
      <updated-at type="datetime">2009-06-15T22:23:19-05:00</updated-at>
      <user-id type="integer">59896</user-id>
      <user-name>Rainer</user-name>
      <creator-name>Rainer</creator-name>
      <url>http://rentzsch.lighthouseapp.com/projects/24800/tickets/7</url>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer" nil="true"></assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>Hello,

I think I found the culprit: I had no email entered for myself in the address book, and thus the method 'windowDidLoad' of 'JRFeedbackController.m' produced *** -[NSCFArray objectAtIndex:]: index (-1( or possibly larger)) beyond bounds (0) when trying get an email address.

Adding an if-clause helps that problem, like so:

if (addyCount &gt; 0){		
				for (; addyIndex &lt; addyCount; addyIndex++) {
					NSLog(@&quot;25&quot;);
					[emailAddressComboBox addItemWithObjectValue:[emailAddresses valueAtIndex:addyIndex]];
				}
				[emailAddressComboBox selectItemAtIndex:0];
			}</body>
      <body-html>&lt;div&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I think I found the culprit: I had no email entered for myself
in the address book, and thus the method 'windowDidLoad' of
'JRFeedbackController.m' produced *** -[NSCFArray objectAtIndex:]:
index (-1( or possibly larger)) beyond bounds (0) when trying get
an email address.&lt;/p&gt;
&lt;p&gt;Adding an if-clause helps that problem, like so:&lt;/p&gt;
&lt;p&gt;if (addyCount &amp;gt; 0){&lt;br&gt;&lt;/p&gt;
&lt;pre&gt;
&lt;code&gt;            for (; addyIndex &amp;lt; addyCount; addyIndex++) {
                NSLog(@&quot;25&quot;);
                [emailAddressComboBox addItemWithObjectValue:[emailAddresses valueAtIndex:addyIndex]];
            }
            [emailAddressComboBox selectItemAtIndex:0];
        }&lt;/code&gt;
&lt;/pre&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-07-15T12:38:35-05:00</created-at>
      <creator-id type="integer">59896</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">7</number>
      <permalink>nscfarray-objectatindex-index-1-or-possibly-larger-beyond-bounds-0</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">24800</project-id>
      <state>new</state>
      <tag nil="true"></tag>
      <title>[NSCFArray objectAtIndex:]: index (-1( or possibly larger)) beyond bounds (0)</title>
      <updated-at type="datetime">2009-07-15T12:38:38-05:00</updated-at>
      <user-id type="integer">59896</user-id>
      <user-name>Rainer</user-name>
      <creator-name>Rainer</creator-name>
      <url>http://rentzsch.lighthouseapp.com/projects/24800/tickets/7</url>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer" nil="true"></assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>Fixed in 1.5.3, thanks for reporting this and tracking it down!</body>
      <body-html>&lt;div&gt;&lt;p&gt;Fixed in 1.5.3, thanks for reporting this and tracking it
down!&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2009-07-16T00:12:03-05:00</created-at>
      <creator-id type="integer">59896</creator-id>
      <diffable-attributes type="yaml">--- 
:state: new
</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">7</number>
      <permalink>nscfarray-objectatindex-index-1-or-possibly-larger-beyond-bounds-0</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">24800</project-id>
      <state>resolved</state>
      <tag nil="true"></tag>
      <title>[NSCFArray objectAtIndex:]: index (-1( or possibly larger)) beyond bounds (0)</title>
      <updated-at type="datetime">2009-07-16T00:12:05-05:00</updated-at>
      <user-id type="integer">45213</user-id>
      <user-name>rentzsch</user-name>
      <creator-name>Rainer</creator-name>
      <url>http://rentzsch.lighthouseapp.com/projects/24800/tickets/7</url>
    </version>
  </versions>
</ticket>
