Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

JS: Binding: Run-time error occured in file: undefined at line: undefined and column: undefined #443

Closed
enchev opened this issue May 9, 2016 · 8 comments

Comments

@enchev
Copy link

enchev commented May 9, 2016

From @Jpaagt on May 5, 2016 19:3

With the release of version 2.0.0, I keep getting a lot of the following error messages in the console that are not very helpful:

JS: Binding: Run-time error occured in file: undefined at line: undefined and column: undefined

The application does not break and seems to work as expected, but the error messages are quite annoying, since there is not much information of what could be causing them. Would it be possible to improve the messages so that they are helpful at least?

Which platform(s) does your issue occur on?

Android

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

  • CLI: 2.0.0

Copied from original issue: NativeScript/NativeScript#2074

@mnahkies
Copy link

I've been observing similar errors. I haven't attempted to dig into it yet, as without the file / line number it's hard to know where to start.

@slavchev
Copy link

I examined the problem and it seems it is not android runtime related.

ping @hshristov

@hshristov
Copy link

@slavchev I've reopened the original issue.

@ryc16
Copy link

ryc16 commented Aug 11, 2016

Just upgraded to 2.2.0. Still got the same error.

>tns info
All NativeScript components versions information
┌──────────────────┬─────────────────┬────────────────┬───────────────┐
│ Component        │ Current version │ Latest version │ Information   │
│ nativescript     │ 2.2.0           │ 2.2.0          │ Up to date    │
│ tns-core-modules │ 2.2.0           │ 2.2.0          │ Up to date    │
│ tns-android      │ 2.2.0           │ 2.2.0          │ Up to date    │
│ tns-ios          │                 │ 2.2.0          │ Not installed │
└──────────────────┴─────────────────┴────────────────┴───────────────┘

@hshristov
Copy link

@ryc16 Could you please attach a sample project which demonstrate this issue?

@hshristov hshristov reopened this Aug 12, 2016
@Plamen5kov
Copy link
Contributor

fixed with: #524

@Plamen5kov Plamen5kov added this to the 2.3.0 milestone Aug 12, 2016
@slavchev slavchev added the done label Sep 14, 2016
@kk86bioinfo
Copy link

kk86bioinfo commented Nov 6, 2016

Hi,

I am still facing this error messages that block me from debug my application. 

iOS is running fine with the same javascript codebase. 

I am running with latest version of tns-android (2.3.0).

Please advise how I can debug the error in android platform.

screen shot 2016-11-06 at 8 16 35 am

 I think some javascript function like "replace()" is not working with Android returned JSON from ajax call. Is Android have different ajax response format? Please advise. 

Thanks.

@Plamen5kov
Copy link
Contributor

Hi, @kk86bioinfo
Can you provide us with a way to reproduce your issue?

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

7 participants