Git Product home page Git Product logo

Comments (3)

nabil6391 avatar nabil6391 commented on May 24, 2024

Please share the error message and the stacktrace

from graphview.

RottenSchnitzel avatar RottenSchnitzel commented on May 24, 2024

Sure. Here is everything the console gave me:

════════ Exception caught by widgets library ═══════════════════════════════════
The following _CastError was thrown building GraphView(dirty, state: _GraphViewState#f555c):
type 'String' is not a subtype of type 'int' in type cast

The relevant error-causing widget was
GraphView
lib/common/tree.dart:72
When the exception was thrown, this was the stack
#0      _TreeState.build.<anonymous closure> (package:Test/common/tree.dart:80:41)
#1      _GraphView._extractChildren.<anonymous closure> (package:graphview/GraphView.dart:103:40)
#2      List.forEach (dart:core-patch/growable_array.dart:416:8)
#3      _GraphView._extractChildren (package:graphview/GraphView.dart:102:17)
#4      new _GraphView (package:graphview/GraphView.dart:86:35)
#5      _GraphViewState.build (package:graphview/GraphView.dart:69:14)
#6      StatefulElement.build (package:flutter/src/widgets/framework.dart:5080:27)
#7      ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4968:15)
#8      StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5133:11)
#9      Element.rebuild (package:flutter/src/widgets/framework.dart:4690:5)
#10     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4950:5)
#11     StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:5124:11)
#12     ComponentElement.mount (package:flutter/src/widgets/framework.dart:4944:5)
...     Normal element mounting (73 frames)
#85     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3953:16)
#86     MultiChildRenderObjectElement.inflateWidget (package:flutter/src/widgets/framework.dart:6512:36)
#87     MultiChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:6524:32)
...     Normal element mounting (9 frames)
#96     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3953:16)
#97     MultiChildRenderObjectElement.inflateWidget (package:flutter/src/widgets/framework.dart:6512:36)
#98     MultiChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:6524:32)
...     Normal element mounting (28 frames)
#126    Element.inflateWidget (package:flutter/src/widgets/framework.dart:3953:16)
#127    MultiChildRenderObjectElement.inflateWidget (package:flutter/src/widgets/framework.dart:6512:36)
#128    MultiChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:6524:32)
...     Normal element mounting (326 frames)
#454    Element.inflateWidget (package:flutter/src/widgets/framework.dart:3953:16)
#455    MultiChildRenderObjectElement.inflateWidget (package:flutter/src/widgets/framework.dart:6512:36)
#456    MultiChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:6524:32)
...     Normal element mounting (446 frames)
#902    Element.inflateWidget (package:flutter/src/widgets/framework.dart:3953:16)
#903    Element.updateChild (package:flutter/src/widgets/framework.dart:3682:18)
#904    RenderObjectToWidgetElement._rebuild (package:flutter/src/widgets/binding.dart:1176:16)
#905    RenderObjectToWidgetElement.mount (package:flutter/src/widgets/binding.dart:1145:5)
#906    RenderObjectToWidgetAdapter.attachToRenderTree.<anonymous closure> (package:flutter/src/widgets/binding.dart:1092:18)
#907    BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2682:19)
#908    RenderObjectToWidgetAdapter.attachToRenderTree (package:flutter/src/widgets/binding.dart:1091:13)
#909    WidgetsBinding.attachRootWidget (package:flutter/src/widgets/binding.dart:926:7)
#910    WidgetsBinding.scheduleAttachRootWidget.<anonymous closure> (package:flutter/src/widgets/binding.dart:906:7)
#914    _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:192:26)
(elided 3 frames from class _Timer and dart:async-patch)
════════════════════════════════════════════════════════════════════════════════
D/EGL_emulation( 8303): app_time_stats: avg=5484.56ms min=5484.56ms max=5484.56ms count=1

from graphview.

nabil6391 avatar nabil6391 commented on May 24, 2024

Cannot reproduce the issue

from graphview.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.