镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

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

Description

@banerjed

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
)

Activity

  1. banerjed commented on Jan 29, 2017

    @banerjed
    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

  2. sachaschwab commented on Aug 19, 2017

    @sachaschwab

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions