Skip to content
This repository has been archived by the owner on Dec 11, 2021. It is now read-only.

File upload conks out on HL7 upload #566

Open
jsachs opened this issue May 3, 2015 · 0 comments
Open

File upload conks out on HL7 upload #566

jsachs opened this issue May 3, 2015 · 0 comments
Assignees

Comments

@jsachs
Copy link
Contributor

jsachs commented May 3, 2015

/Users/Jacob/Documents/dev/DRE/node_modules/blue-button-cms/lib/cmsTxtToIntObj.js:455
    for (var section = 0; section < sectionArray.length; section++) {
                                                ^
TypeError: Cannot read property 'length' of null
    at getIntObj (/Users/Jacob/Documents/dev/DRE/node_modules/blue-button-cms/lib/cmsTxtToIntObj.js:455:49)
    at Object.parseCMS [as parseText] (/Users/Jacob/Documents/dev/DRE/node_modules/blue-button-cms/lib/parser.js:9:18)
    at parseText (/Users/Jacob/Documents/dev/DRE/node_modules/blue-button/lib/parser.js:42:30)
    at Object.parse (/Users/Jacob/Documents/dev/DRE/node_modules/blue-button/lib/parser.js:119:20)
    at /Users/Jacob/Documents/dev/DRE/lib/storage/index.js:371:31
    at fs.js:271:14
    at Object.oncomplete (fs.js:107:15)

Looks like the parser is misidentifying it as CMS.
Dmitry wants to rewrite it.
AFL fuzz test may be a good idea to investigate breakage.

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

No branches or pull requests

2 participants