Skip to content
This repository has been archived by the owner on Jan 25, 2024. It is now read-only.

Failing to convert getting SketchController: [ERROR] - NoSuchMethodError: The method '[]' was called on null. Receiver: null Tried calling: []("alpha") #372

Closed
trailerzone opened this issue Apr 13, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@trailerzone
Copy link

Getting message when I try to convert the sketch file to flutter:

[WARNING]: No semantics found for Tab

[INFO]: Plugin already in file. Skipping...

[INFO]: Done processing!

warning: failed to load external entity "tempout.xml"

Main: [INFO] - Current version: 1.4.4

Main: [INFO] - [-p, /Users/user/AndroidStudioProjects/sketchfiles/leasedcard2.sketch, -n, newproject]

Main: [INFO] - Downloading submodule SketchAssetConverter

SketchController: [ERROR] - NoSuchMethodError: The method '[]' was called on null.
Receiver: null
Tried calling:

lib/main.dart: Warning: Interpreting this as package URI, 'package:parabeac_core/main.dart'.
Unhandled exception:
NoSuchMethodError: The getter 'id' was called on null.
Receiver: null
Tried calling: id
#0 Object.noSuchMethod (dart:core-patch/object_patch.dart:54:5)
#1 SketchController.convertFile (package:parabeac_core/controllers/sketch_controller.dart:35:53)
#2 main (package:parabeac_core/main.dart:189:24)

Steps to reproduce the behavior:

dart parabeac.dart -p /Users/user/AndroidStudioProjects/sketchfiles/leasedcard2.sketch -n newproject

It fails to convert the sketch file on Mac Catalina 10.15.7

@trailerzone trailerzone added the bug Something isn't working label Apr 13, 2021
@ivan-015
Copy link
Collaborator

Hi @trailerzone , I'd love to help you solve this issue and convert your file. Is it possible for you to post your Sketch file so I can try to convert it and debug?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants