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

Cannot read property 'type' of null #354

Open
devatwork opened this issue May 21, 2021 · 1 comment
Open

Cannot read property 'type' of null #354

devatwork opened this issue May 21, 2021 · 1 comment

Comments

@devatwork
Copy link
Contributor

Found by #349

!!! Crash found !!!
Selector: array:fold-left([1,2,3], [], function($x, $y){[$x, ?y]})
Language: XPath3.1

TypeError: Cannot read property 'type' of null
    at gs (C:\fontoxml\platform\fontoxpath\dist\fontoxpath.esm.js:277:240)
    at C:\fontoxml\platform\fontoxpath\dist\fontoxpath.esm.js:278:138
    at Array.reduce (<anonymous>)
    at C:\fontoxml\platform\fontoxpath\dist\fontoxpath.esm.js:278:110
    at C:\fontoxml\platform\fontoxpath\dist\fontoxpath.esm.js:61:434
    at Xc.E.O (C:\fontoxml\platform\fontoxpath\dist\fontoxpath.esm.js:61:446)
    at hs (C:\fontoxml\platform\fontoxpath\dist\fontoxpath.esm.js:278:87)
    at js.evaluate (C:\fontoxml\platform\fontoxpath\dist\fontoxpath.esm.js:278:633)
    at ok (C:\fontoxml\platform\fontoxpath\dist\fontoxpath.esm.js:164:458)
    at C:\fontoxml\platform\fontoxpath\dist\fontoxpath.esm.js:219:889
@devatwork
Copy link
Contributor Author

!!! Crash found !!!
Selector: fn:fold-left((true(), false(), false()), false(), function($a, $b) { ?a and $b })
Language: XQueryUpdate3.1

TypeError: Cannot read property 'type' of null
    at gs (C:\fontoxml\platform\fontoxpath\dist\fontoxpath.esm.js:277:240)
    at C:\fontoxml\platform\fontoxpath\dist\fontoxpath.esm.js:278:138
    at Array.reduce (<anonymous>)
    at C:\fontoxml\platform\fontoxpath\dist\fontoxpath.esm.js:278:110
    at C:\fontoxml\platform\fontoxpath\dist\fontoxpath.esm.js:61:434
    at Xc.E.O (C:\fontoxml\platform\fontoxpath\dist\fontoxpath.esm.js:61:446)
    at hs (C:\fontoxml\platform\fontoxpath\dist\fontoxpath.esm.js:278:87)
    at js.evaluate (C:\fontoxml\platform\fontoxpath\dist\fontoxpath.esm.js:278:633)
    at ok (C:\fontoxml\platform\fontoxpath\dist\fontoxpath.esm.js:164:458)
    at Object.next (C:\fontoxml\platform\fontoxpath\dist\fontoxpath.esm.js:248:483)

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

No branches or pull requests

1 participant