Skip to content

Example not working Β #10

Description

@Akorius

I am running your test application, but it doesn't work.

flutter (31735): β”‚ πŸ› Initiated InjectorIO in mode: InjectorMode.DEBUG
I/flutter (31735): └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
I/flutter (31735): β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
I/flutter (31735): β”‚ #0   DefinitionRegistry._log (package:injectorio/src/bean_registry.dart:83:44)
I/flutter (31735): β”‚ #1   DefinitionRegistry._showInstanceNotFound (package:injectorio/src/bean_registry.dart:91:7)
I/flutter (31735): β”œβ”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„
I/flutter (31735): β”‚ πŸ› InjectorIO:::	!!!--- Instance of type CountriesWebService not found ---!!!
I/flutter (31735): └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
E/flutter (31735): [ERROR:flutter/lib/ui/ui_dart_state.cc(186)] Unhandled Exception: Exception: Instance of CountriesWebService not found. Make sure you added
E/flutter (31735):         it by using module or with [single()], [factory()] definition.
E/flutter (31735): #0      DefinitionRegistry.get (package:injectorio/src/bean_registry.dart:60:7)
E/flutter (31735): #1      get (package:injectorio/src/component_binder.dart:22:24)
E/flutter (31735): #2      get (package:injectorio/injectorio.dart:9:15)
E/flutter (31735): #3      new AppModule (package:example/main.dart:24:34)
E/flutter (31735): #4      main (package:example/main.dart:30:12)
E/flutter (31735): #5      _runMainZoned.<anonymous closure>.<anonymous closure> (dart:ui/hooks.dart:140:25)
E/flutter (31735): #6      _rootRun (dart:async/zone.dart:1354:13)
E/flutter (31735): #7      _CustomZone.run (dart:async/zone.dart:1258:19)
E/flutter (31735): #8      _runZoned (dart:async/zone.dart:1788:10)
E/flutter (31735): #9      runZonedGuarded (dart:async/zone.dart:1776:12)
E/flutter (31735): #10     _runMainZoned.<anonymous closure> (dart:ui/hooks.dart:133:5)
E/flutter (31735): #11     _delayEntrypointInvocation.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:283:19)
E/flutter (31735): #12     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:184:12)
E/flutter (31735): 
I/assango.exampl(31735): ProcessProfilingInfo new_methods=310 is saved saved_to_disk=1 resolve_classes_delay=8000
W/BpBinder(31735): Slow Binder: BpBinder transact took 302 ms, interface=android.ui.ISurfaceComposer, code=8 oneway=false
W/Looper  (31735): Slow Looper main: doFrame is 337ms late because of 2 msg, msg 1 took 336ms (seq=25 running=8ms runnable=19ms late=6ms h=android.app.ActivityThread$H w=137)

Activity

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