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

Uncaught exception #80

Open
jfieber opened this issue May 22, 2014 · 3 comments
Open

Uncaught exception #80

jfieber opened this issue May 22, 2014 · 3 comments

Comments

@jfieber
Copy link

jfieber commented May 22, 2014

No errors logged prior to the fatal exception. sinopia version 0.8.1, npm version 1.4.10, node version 0.10.28 installed on Mac OS 10.9.3.

 fatal --- uncaught exception, please report this
TypeError: Cannot call method 'destroy' of null
    at ServerResponse.res.send (/opt/brew/lib/node_modules/sinopia/lib/middleware.js:153:23)
    at ServerResponse.res.report_error (/opt/brew/lib/node_modules/sinopia/lib/index.js:67:10)
    at ReadTarball.<anonymous> (/opt/brew/lib/node_modules/sinopia/lib/index.js:166:15)
    at ReadTarball.EventEmitter.emit (events.js:117:20)
    at UploadTarball.<anonymous> (/opt/brew/lib/node_modules/sinopia/lib/storage.js:255:11)
    at UploadTarball.EventEmitter.emit (events.js:117:20)
    at /opt/brew/lib/node_modules/sinopia/lib/local-storage.js:356:12
    at callback (/opt/brew/lib/node_modules/sinopia/lib/local-storage.js:459:15)
    at /opt/brew/lib/node_modules/sinopia/lib/local-storage.js:465:12
    at /opt/brew/lib/node_modules/sinopia/lib/local-fs.js:195:19
@rlidwka
Copy link
Owner

rlidwka commented Jun 20, 2014

Fixed one possible issue. I'm not completely sure it's the cause of the crash, so if you get the same error with new code, please reopen this.

@THemming
Copy link

I still get this error in version 0.8.2, on Windows 7.

 http  <-- 200, user: undefined, req: 'GET /grunt-contrib-watch/-/grunt-contrib-watch-0.6.1.tgz', bytes: 0/14012
 error --- unexpected error: EPERM, rename 'C:\Users\TimHemming\storage\grunt-contrib-copy\package.json'
Error: EPERM, rename 'C:\Users\TimHemming\storage\grunt-contrib-copy\package.json'
 fatal --- uncaught exception, please report this
TypeError: Cannot call method 'destroy' of null
    at ServerResponse.res.send (C:\Users\TimHemming\AppData\Roaming\npm\node_modules\sinopia\lib\middleware.js:155:23)
    at ServerResponse.res.report_error (C:\Users\TimHemming\AppData\Roaming\npm\node_modules\sinopia\lib\index.js:76:10)
    at ReadTarball.<anonymous> (C:\Users\TimHemming\AppData\Roaming\npm\node_modules\sinopia\lib\index.js:167:15)
    at ReadTarball.EventEmitter.emit (events.js:117:20)
    at UploadTarball.<anonymous> (C:\Users\TimHemming\AppData\Roaming\npm\node_modules\sinopia\lib\storage.js:255:11)
    at UploadTarball.EventEmitter.emit (events.js:117:20)
    at C:\Users\TimHemming\AppData\Roaming\npm\node_modules\sinopia\lib\local-storage.js:356:12
    at C:\Users\TimHemming\AppData\Roaming\npm\node_modules\sinopia\lib\local-storage.js:456:16
    at Object.oncomplete (fs.js:107:15)

@rlidwka
Copy link
Owner

rlidwka commented Jun 24, 2014

Thanks for the report, I guess it didn't fix it. Reopening...

@rlidwka rlidwka reopened this Jun 24, 2014
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

3 participants