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

Better error message if sonar-tantivy is not found or crashes #28

Open
flipsimon opened this issue Feb 12, 2020 · 1 comment
Open

Better error message if sonar-tantivy is not found or crashes #28

flipsimon opened this issue Feb 12, 2020 · 1 comment

Comments

@flipsimon
Copy link
Contributor

When starting sonar with ./sonar start --dev, I get an error when searching in an island. However, the error doesn't occur when starting server and ui separately.

events.js:298
      throw er; // Unhandled 'error' event
      ^

Error: Child process died: 101
    at ChildProcess.<anonymous> (sonar/sonar-dat/node_modules/@arso-project/sonar-tantivy/src-nodejs/rpc.js:30:45)
    at ChildProcess.emit (events.js:321:20)
    at maybeClose (internal/child_process.js:1021:16)
    at Socket.<anonymous> (internal/child_process.js:443:11)
    at Socket.emit (events.js:321:20)
    at Pipe.<anonymous> (net.js:668:12)
Emitted 'error' event on IndexCatalog instance at:
    at RpcPipe.<anonymous> (sonar/sonar-dat/node_modules/@arso-project/sonar-tantivy/src-nodejs/catalog.js:25:39)
    at RpcPipe.emit (events.js:333:22)
    at ChildProcess.<anonymous> (sonar/sonar-dat/node_modules/@arso-project/sonar-tantivy/src-nodejs/rpc.js:30:31)
    at ChildProcess.emit (events.js:321:20)
    [... lines matching original stack trace ...]
    at Pipe.<anonymous> (net.js:668:12)
@Frando
Copy link
Member

Frando commented Apr 24, 2020

This error occurs if sonar-tantivy is not found or crashes. We should have a better error message here.

@Frando Frando changed the title Network Error on Search Better error message if sonar-tantivy is not found or crashes Apr 24, 2020
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

2 participants