Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception 'Failed to get default FIRDatabase instance.....' #14

Open
banerjed opened this issue Jan 29, 2017 · 2 comments
Open

Exception 'Failed to get default FIRDatabase instance.....' #14

banerjed opened this issue Jan 29, 2017 · 2 comments

Comments

@banerjed
Copy link

Got this exception on the simulator window while launching - not sure why:

Exception 'Failed to get default FIRDatabase instance. Must call FIRApp.configure() before using FIRDatabase.' was thrown while invoking on target FirestackDatabase with params (

"/chat-messages/database-demo",
("orderByChild:createdAt",
"limitToLast:10",
"endAt:temp-id-484903"),
"child_added",
17
)

@banerjed
Copy link
Author

Here is a bit of the exception trace

Jan 28 21:12:12 Dhritimans-iMac FirestackApp[23029] : { title: 'Chat example', key: 'database.Chat example' }
Jan 28 21:12:12 Dhritimans-iMac FirestackApp[23029] : { title: 'Ordering example', key: 'database.Ordering example' }
Jan 28 21:12:12 Dhritimans-iMac FirestackApp[23029] : '%cfirestack:database |', 'color: hsl(84.98447189992442,99%,40%); font-weight: bold', '[debug]', 'Created new Database instance', { debug: '*' }
Jan 28 21:12:12 Dhritimans-iMac FirestackApp[23029] : '%cfirestack:dbRef |', 'color: hsl(307.4767078498866,99%,40%); font-weight: bold', '[debug]', 'Created new DatabaseRef', '/chat-messages/database-demo'
Jan 28 21:12:12 Dhritimans-iMac FirestackApp[23029] : Exception 'Failed to get default FIRDatabase instance. Must call FIRApp.configure() before using FIRDatabase.' was thrown while invoking on on target FirestackDatabase with params (
"/chat-messages/database-demo",
(
"orderByChild:createdAt",
"limitToLast:10",
"endAt:temp-id-484903"
),
"child_added",
11
)
Jan 28 21:12:12 Dhritimans-iMac FirestackApp[23029] : [Firebase/Core][I-COR000003] The default Firebase app has not yet been configured. Add [FIRApp configure] to your application initialization. Read more: https://goo.gl/ctyzm8.
Jan 28 21:12:12 Dhritimans-iMac FirestackApp[23029] : { title: 'Chat example', key: 'database.Chat example' }
Jan 28 21:12:13 Dhritimans-iMac FirestackApp[23029] : { title: 'Ordering example', key: 'database.Ordering example' }
Jan 28 21:12:14 Dhritimans-iMac FirestackApp[23029] : [] __nw_connection_get_connected_socket_block_invoke 5 Connection has no connected handler
Jan 28 21:12:16 Dhritimans-iMac CoreSimulatorBridge[22477] : Pasteboard change listener callback port <NSMachPort: 0x7fd8ab602740> registered

@sachaschwab
Copy link

I have the same issue. Any help?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants