Skip to content
This repository has been archived by the owner on Sep 16, 2022. It is now read-only.

Avoid NPE with @GeneratedInjector with Provider(null) #1570

Closed
matanlurey opened this issue Aug 14, 2018 · 0 comments
Closed

Avoid NPE with @GeneratedInjector with Provider(null) #1570

matanlurey opened this issue Aug 14, 2018 · 0 comments

Comments

@matanlurey
Copy link
Contributor

From an internal customer:

SEVERE]: Unhandled exception in the AngularDart compiler!
 
Please report a bug: go/angular-dart-bug
Unsupported operation: Null
package:source_gen/src/constants/reader.dart 133:33                                                                                           _NullConstant.objectValue
package:angular_compiler/src/analyzer/di/providers.dart 52:28                                                    ProviderReader._parseProvider

... we should be careful and check (and error "nicely" for null in this case).

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

No branches or pull requests

1 participant