Note that there are some explanatory texts on larger screens.

plurals
  1. POECGraph not working on device, but works on simulator
    text
    copied!<p>is there any reason why ECGraph would run fine on the simulator, but yet give me this error when i run it on my device:</p> <pre><code> 2012-08-24 01:57:18.543 Portfolio[3538:907] *** -[__NSCFCalendar components:fromDate:toDate:options:]: fromDate cannot be nil I mean really, what do you think that operation is supposed to mean with a nil fromDate? An exception has been avoided for now. A few of these errors are going to be reported with this complaint, then further violations will simply silently do whatever random thing results from the nil. Here is the backtrace where this occurred this time (some frames may be missing due to compiler optimizations): ( 0 CoreFoundation 0x37a1d78f &lt;redacted&gt; + 86 1 Portfolio 0x000a0d1f -[ECGraph(Private) getDaysFrom:To:] + 202 2 Portfolio 0x000a1577 -[ECGraph(Private) getXDaysFromLines:minDate:] + 502 3 Portfolio 0x000a2623 -[ECGraph drawCurveWithLines:lineWidth:color:] + 978 4 Portfolio 0x000a716f -[GraphView drawRect:] + 2682 5 UIKit 0x38b1811d &lt;redacted&gt; + 364 6 QuartzCore 0x39468035 &lt;redacted&gt; + 112 7 QuartzCore 0x39467771 &lt;redacted&gt; + 1808 8 QuartzCore 0x39466f45 &lt;redacted&gt; + 980 9 QuartzCore 0x39466a7b &lt;redacted&gt; + 202 10 QuartzCore 0x3953a9f5 &lt;redacted&gt; + 24 11 QuartzCore 0x394663d3 &lt;redacted&gt; + 238 12 QuartzCore 0x39466119 &lt;redacted&gt; + 316 13 QuartzCore 0x3945dfe1 &lt;redacted&gt; + 60 14 CoreFoundation 0x37a4f18d &lt;redacted&gt; + 20 15 CoreFoundation 0x37a4d3f9 &lt;redacted&gt; + 276 16 CoreFoundation 0x37a4d74f &lt;redacted&gt; + 742 17 CoreFoundation 0x379cbc1d CFRunLoopRunSpecific + 356 18 CoreFoundation 0x379cbaa9 CFRunLoopRunInMode + 104 19 GraphicsServices 0x3a88f33b GSEventRunModal + 74 20 UIKit 0x38b35535 UIApplicationMain + 1120 21 Portfolio 0x00094e7d main + 152 22 Portfolio 0x00094de0 start + 40 </code></pre> <p>)</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload