Skip to content

Chrome - TypeError: Object #<Object> has no method 'undef' #55

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

Closed
foxx opened this issue Jul 22, 2013 · 10 comments
Closed

Chrome - TypeError: Object #<Object> has no method 'undef' #55

foxx opened this issue Jul 22, 2013 · 10 comments

Comments

@foxx
Copy link

foxx commented Jul 22, 2013

Seems to be happening again... see related #18

Chrome 28.0.1500.72

TypeError: Object #<Object> has no method 'undef'

    at Object.printStackTrace.implementation.createException (http://cloud.github.com/downloads/eriwen/javascript-stacktrace/stacktrace-min-0.4.js:2:202)

    at Object.printStackTrace.implementation.run (http://cloud.github.com/downloads/eriwen/javascript-stacktrace/stacktrace-min-0.4.js:2:71)

    at printStackTrace (http://cloud.github.com/downloads/eriwen/javascript-stacktrace/stacktrace-min-0.4.js:1:114)

    at assertEquals (http://b2.int:8080/static/js/script.js:89:18)

    at WidgetMealSelectionHelper.select_meal_id (http://b2.int:8080/order/choice:244:13)

    at Number.<anonymous> (http://b2.int:8080/order/choice:263:25)

    at Function.b.extend.each (http://b2.int:8080/static/js/libs/jquery-1.9.1.min.js:3:5257)

    at WidgetMealSelectionHelper.load_widget (http://b2.int:8080/order/choice:262:19)

    at new WidgetMealSelectionHelper (http://b2.int:8080/order/choice:270:14)

    at HTMLDocument.<anonymous> (http://b2.int:8080/order/choice:274:24) script.js:90
Uncaught assertEquals failed: 0 !== 2 script.js:91

Triggered with;


    try {
        assert(v1 == v2, err);
    } catch(e) {
        var tb = printStackTrace().join("\n\n");
        console.log(tb);
        throw e;
    }
victor-homyakov added a commit that referenced this issue Jul 31, 2013
@victor-homyakov
Copy link
Contributor

Seems to me that it's duplicate of #51, and is already fixed (at least works for me in Chrome 27.X - 28.X).

@filiptc
Copy link

filiptc commented Sep 19, 2013

Currently seeing this error on Chrome 31.0.1626.0 dev (with official download v0.4)

@rickhanlonii
Copy link

Also seeing this on Chrome 29.0.1547.76, and just like issue 51 you can reproduce with:

window.printStackTrace().join('\n');

@foxx
Copy link
Author

foxx commented Sep 20, 2013

I was still seeing this the last time I checked, but gave up trying to make
it work :/

On Fri, Sep 20, 2013 at 1:21 AM, Rick Hanlon II [email protected]:

Also seeing this on Chrome 29.0.1547.76.


Reply to this email directly or view it on GitHubhttps://github.com//issues/55#issuecomment-24782939
.

@eriwen
Copy link
Member

eriwen commented Sep 29, 2013

@foxx @rickhanlonii @filiptc I must be missing something because I can't reproduce this using Chrome 29.0.1547.76 or 32.0.1655.0 canary on Mac OS 10.8.4.

Could someone provide more detail on their environment and perhaps a test page? I want to figure out what's wrong but I can't validate this.

@filiptc
Copy link

filiptc commented Sep 30, 2013

This was happening to me with 0.4 and is fixed in master.

@victor-homyakov
Copy link
Contributor

Yep. The error is present in version 0.4 but is fixed in master. Sorry for misunderstanding.
@eriwen IMHO it's time to update http://stacktracejs.com and https://npmjs.org/package/stacktrace-js with latest version of stacktrace.js

@eriwen
Copy link
Member

eriwen commented Oct 1, 2013

@victor-homyakov Yep, totally agreed.

@WanderingZombie
Copy link

@victor-homyakov IMHO it would be simpler to just have a link to github for download purposes - it becomes very clear then that there's just one javascript-stacktrace and that stacktracejs is the same thing, not a competing library.

@eriwen
Copy link
Member

eriwen commented Oct 6, 2013

@victor-homyakov @WanderingZombie Done.

@eriwen eriwen closed this as completed Oct 6, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

6 participants