iOS Client building but not running on Simulator or Device

Offen
#32 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
25/100
Issue-Typ
Bug
Klarheit
Muss geklärt werden
Aktivitätsstatus
Veraltet
Tech-Stack
objective-c
Bereich
mobile-dev

Rechercherichtung

Beginne damit, den Launch-Fehler im iOS Simulator oder auf einem Gerät zu reproduzieren, und untersuche HPAppDelegate initializeUI, wo der Stacktrace die Exception meldet. Verfolge den an NSDictionary übergebenen nil-Wert während willFinishLaunchingWithOptions. Erledigt ist die Aufgabe, wenn die Hackpad-App ohne die nicht abgefangene NSInvalidArgumentException erfolgreich startet.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

Thanks!

2015-10-17 12:09:01:020 Hackpad[28043:1803] TestFlight: Crash Handlers are installed
objc[28043]: EXCEPTIONS: throwing 0x7ffc12d68348 (object 0x7ffc12d65c60, a NSException)
objc[28043]: EXCEPTIONS: searching through frame [ip=0x110fb766f sp=0x7fff5022cef0] for exception 0x7ffc12d68328
objc[28043]: EXCEPTIONS: searching through frame [ip=0x11517f7ab sp=0x7fff5022d690] for exception 0x7ffc12d68328
objc[28043]: EXCEPTIONS: searching through frame [ip=0x112a19e97 sp=0x7fff5022e490] for exception 0x7ffc12d68328
objc[28043]: EXCEPTIONS: unwinding through frame [ip=0x110fb766f sp=0x7fff5022cef0] for exception 0x7ffc12d68328
objc[28043]: EXCEPTIONS: unwinding through frame [ip=0x110fb7dd5 sp=0x7fff5022cef0] for exception 0x7ffc12d68328
objc[28043]: EXCEPTIONS: unwinding through frame [ip=0x11517f7ab sp=0x7fff5022d690] for exception 0x7ffc12d68328
objc[28043]: EXCEPTIONS: unwinding through frame [ip=0x11517f80a sp=0x7fff5022d690] for exception 0x7ffc12d68328
objc[28043]: EXCEPTIONS: unwinding through frame [ip=0x112a19e97 sp=0x7fff5022e490] for exception 0x7ffc12d68328
objc[28043]: EXCEPTIONS: handling exception 0x7ffc12d68328 at 0x112a19f38
objc[28043]: EXCEPTIONS: rethrowing current exception
objc[28043]: EXCEPTIONS: searching through frame [ip=0x112a19f53 sp=0x7fff5022e490] for exception 0x7ffc12d68328
objc[28043]: EXCEPTIONS: terminating
objc[28043]: EXCEPTIONS: searching through frame [ip=0x11257300d sp=0x7fff5022e410] for exception 0x7ffc12d68328
objc[28043]: EXCEPTIONS: catch(id)
objc[28043]: EXCEPTIONS: unwinding through frame [ip=0x11257300d sp=0x7fff5022e410] for exception 0x7ffc12d68328
objc[28043]: EXCEPTIONS: handling exception 0x7ffc12d68328 at 0x11257302c
2015-10-17 12:09:01.070 Hackpad[28043:225011] * 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 0x0000000112af8f65 __exceptionPreprocess + 165
1 libobjc.A.dylib 0x0000000112572deb objc_exception_throw + 48
2 CoreFoundation 0x00000001129fbf5e -[__NSPlaceholderDictionary initWithObjects:forKeys:count:] + 318
3 CoreFoundation 0x0000000112a0e2ab +[NSDictionary dictionaryWithObjects:forKeys:count:] + 59
4 Hackpad 0x000000010f9d1bcf -[HPAppDelegate initializeUI] + 131
5 Hackpad 0x000000010f9d161c -[HPAppDelegate application:willFinishLaunchingWithOptions:] + 268
6 UIKit 0x0000000110fb6469 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 175
7 UIKit 0x0000000110fb7670 -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 3415
8 UIKit 0x0000000110fbde15 -[UIApplication _runWithMainScene:transitionContext:completion:] + 1755
9 UIKit 0x0000000110fbaff0 -[UIApplication workspaceDidEndTransaction:] + 188
10 FrontBoardServices 0x000000011517f7ac -[FBSSerialQueue _performNext] + 192
11 FrontBoardServices 0x000000011517fb1a -[FBSSerialQueue _performNextFromRunLoopSource] + 45
12 CoreFoundation 0x0000000112a250a1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION
+ 17
13 CoreFoundation 0x0000000112a1afcc __CFRunLoopDoSources0 + 556
14 CoreFoundation 0x0000000112a1a483 __CFRunLoopRun + 867
15 CoreFoundation 0x0000000112a19e98 CFRunLoopRunSpecific + 488
16 UIKit 0x0000000110fba98d -[UIApplication _run] + 402
17 UIKit 0x0000000110fbf676 UIApplicationMain + 171
18 Hackpad 0x000000010f9d14f0 main + 80
19 libdyld.dylib 0x0000000112fa492d start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException

Vorherrschende Sprache
Java
Sterne
3.6k
Forks
517
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Entwicklungsumgebung

  • Enthält ein Dockerfile oder eine Docker-Compose-Datei
  • Keine Pull-Request-Vorlage
  • Kein Beitragsleitfaden

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus dropbox/hackpad

Alle Issues in dropbox/hackpad

Ähnliche Issues

Weitere Issues zu Java

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.