Skip to content

Static Binding Generator throws NullPointerException #766

@SamiPatanen

Description

@SamiPatanen

Please, provide the details below:

Did you verify this is a real problem by searching Stack Overflow and the other open issues in this repo?

Yes, I couldn't find anything.

Tell us about the problem

Static Binding Generator throws NullPointerException at :asbg:generateBindings.

Please provide the following version numbers that your issue occurs with:

tns --version
3.0.1

Did the error happen while the app was being constructed? (buildtime error)

:asbg:generateBindings
Exception in thread "main" java.lang.NullPointerException
        at org.nativescript.staticbindinggenerator.Generator.collectInterfaceMethods(Generator.java:673)
        at org.nativescript.staticbindinggenerator.Generator.getPublicApi(Generator.java:212)
        at org.nativescript.staticbindinggenerator.Generator.writeBinding(Generator.java:336)
        at org.nativescript.staticbindinggenerator.Generator.generateBinding(Generator.java:108)
        at org.nativescript.staticbindinggenerator.Generator.processRows(Generator.java:148)
        at org.nativescript.staticbindinggenerator.Generator.generateBindings(Generator.java:68)
        at org.nativescript.staticbindinggenerator.Generator.writeBindings(Generator.java:50)
        at org.nativescript.staticbindinggenerator.Main.main(Main.java:15)
:asbg:generateBindings FAILED

Please tell us how to recreate the issue in as much detail as possible.

This happens for my system every time I try to run "tns run android", but I have no idea what is causing it. This happens for all projects, even the Hello World template.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions