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

Empty JS source causes exception upon storing #78

Closed
elvis-epx opened this issue Jul 13, 2013 · 3 comments
Closed

Empty JS source causes exception upon storing #78

elvis-epx opened this issue Jul 13, 2013 · 3 comments
Assignees
Labels

Comments

@elvis-epx
Copy link

The presence of an empty JS source (empty = only remarks or a 0-line file) causes an IndexOutOfBounds error when trying to store (using jscoverage_store() from within JS).

Adding some filler statement like "var foo234 = 0" on empty file avoided the error.

@ghost ghost assigned tntim96 Jul 13, 2013
@tntim96
Copy link
Owner

tntim96 commented Jul 13, 2013

Thanks for the report. I'll take a look.

@tntim96
Copy link
Owner

tntim96 commented Jul 13, 2013

I've fixed one IndexOutOfBounds issue in trunk. Can you build from trunk and re-test?

If you're still having a problem, can you please attach the stack-trace?

@elvis-epx
Copy link
Author

Seems to have resolved the issue, thanks!

On Jul 13, 2013, at 7:22 AM, tntim96 wrote:

I've fixed one IndexOutOfBounds issue in trunk. Can you build from trunk and re-test?

If you're still having a problem, can you please attach the stack-trace?


Reply to this email directly or view it on GitHub.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants