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

NoSuchMethodError: The getter 'isBottom' was called on null #34209

Mantas0726 opened this Issue Aug 21, 2018 · 1 comment


None yet
4 participants
Copy link

commented Aug 21, 2018

Analyzer Feedback from IntelliJ

Version information

  • IDEA AI-173.4907809
  • 2.0.0-edge.eab492385c3f345cb2f44f3b702b0e30e4a9c107
  • AI-173.4907809, JRE 1.8.0_152-release-1024-b02x64 JetBrains s.r.o, OS Windows 10(amd64) v10.0 , screens 1920x1080, 1920x1080, 1920x1080


Please append the contents of:

Dart analysis server, SDK version 2.0.0-edge.eab492385c3f345cb2f44f3b702b0e30e4a9c107, server version 1.20.5, error: Analysis failed: C:\taskermate_flutter\lib\networking\TM_api.dart context: exception_20180821_110102_005
NoSuchMethodError: The getter 'isBottom' was called on null.
Receiver: null
Tried calling: isBottom
#0      Object.noSuchMethod (dart:core/runtime/libobject_patch.dart:47:5)
#1      _isBottom (package:analyzer/src/generated/type_system.dart:50:12)
#2      GenericInferrer._matchSubtypeOf (package:analyzer/src/generated/type_system.dart:654:9)
#3      GenericInferrer.tryMatchSubtypeOf (package:analyzer/src/generated/type_system.dart:271:20)
#4      GenericInferrer.constrainArgument (package:analyzer/src/generated/type_system.dart:116:5)
#5      StrongTypeSystemImpl.inferGenericFunctionOrType (package:analyzer/src/generated/type_system.dart:950:16)
#6      StaticTypeAnalyzer._inferGenericInvoke (package:analyzer/src/generated/static_type_analyzer.dart:1472:17)
#7      StaticTypeAnalyzer._inferInstanceCreationExpression (package:analyzer/src/generated/static_type_analyzer.dart:1511:29)
#8      StaticTypeAnalyzer.visitInstanceCreationExpression (package:analyzer/src/generated/static_type_analyzer.dart:544:5)
#9      InstanceCreationExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:6487:15)
#10     ResolverVisitor.visitInstanceCreationExpression (package:analyzer/src/generated/resolver.dart:6066:10)

@bwilkerson bwilkerson added this to the Dart2.1 milestone Aug 28, 2018

@devoncarew devoncarew changed the title Encountered a Dart Analysis Server error. NoSuchMethodError: The getter 'isBottom' was called on null Sep 4, 2018

@scheglov scheglov self-assigned this Sep 5, 2018


This comment has been minimized.

Copy link

commented Sep 5, 2018

dart-bot pushed a commit that referenced this issue Sep 5, 2018

Give import prefix type 'dynamic' when it is used as an expression.

Bug: #34209
Change-Id: I6c393af70342037c496adebefaaf66c7a685852a
Reviewed-by: Brian Wilkerson <>
Commit-Queue: Konstantin Shcheglov <>

@scheglov scheglov closed this Sep 5, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.