Code Monkey home page Code Monkey logo

adgraphview's Issues

NSException Error occurs when plugging into iOS7

When put into iOS7, and attempt to render with default data, a nice NSException error occurs like so:

2014-03-11 19:30:13.036 myAPP[12103:a0b] * Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '* -[**NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[0]'
* First throw call stack:
(
0 CoreFoundation 0x0000000102fbd795 __exceptionPreprocess + 165
1 libobjc.A.dylib 0x0000000101e59991 objc_exception_throw + 43
2 CoreFoundation 0x0000000102f86ffe -[_NSPlaceholderDictionary initWithObjects:forKeys:count:] + 382
3 CoreFoundation 0x0000000102fb254f +[NSDictionary dictionaryWithObjects:forKeys:count:] + 63
4 myAPP 0x000000010000c956 -[GraphScrollableArea drawDateForDayNumber:] + 726
5 myAPP 0x000000010000d5cc -[GraphScrollableArea drawRect:] + 1436
6 UIKit 0x00000001008df651 -[UIView(CALayerDelegate) drawLayer:inContext:] + 474
7 QuartzCore 0x00000001002d6588 -[CALayer drawInContext:] + 116
8 QuartzCore 0x00000001001dd393 CABackingStoreUpdate
+ 2641
9 QuartzCore 0x00000001002d6494 ___ZN2CA5Layer8display_Ev_block_invoke + 59
10 QuartzCore 0x00000001002d6333 _ZN2CA5Layer8display_Ev + 1461
11 QuartzCore 0x00000001002cb393 _ZN2CA5Layer17display_if_neededEPNS_11TransactionE + 319
12 QuartzCore 0x00000001002cb415 _ZN2CA5Layer28layout_and_display_if_neededEPNS_11TransactionE + 35
13 QuartzCore 0x0000000100240694 _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 252
14 QuartzCore 0x000000010024170c _ZN2CA11Transaction6commitEv + 394
15 QuartzCore 0x0000000100241d79 _ZN2CA11Transaction17observer_callbackEP19__CFRunLoopObservermPv + 89
16 CoreFoundation 0x0000000102f88ff7 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION
+ 23
17 CoreFoundation 0x0000000102f88f67 __CFRunLoopDoObservers + 391
18 CoreFoundation 0x0000000102f686d2 __CFRunLoopRun + 946
19 CoreFoundation 0x0000000102f67f33 CFRunLoopRunSpecific + 467
20 GraphicsServices 0x00000001032333a0 GSEventRunModal + 161
21 UIKit 0x0000000100884043 UIApplicationMain + 1010
22 myAPP 0x0000000100005063 main + 115
23 libdyld.dylib 0x0000000106b1b7e1 start + 0
)
libc++abi.dylib: terminating with uncaught exception of type NSException

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.