Graylog2 / Graylog2/graylog2-server

Data Adapter which failed during `doStart()` is still usable.

Open
#4,522 1 comment 0 reactions 0 assignees View on GitHub
bug triaged
Dominant language
Java
Stars
8.1k
Forks
1.1k
Avg merge
1d 20h
Merged PRs (30d)
217

Description

## Expected Behavior
A data adapter which failed during `doStart()` is not accessible using the frontend and/or the API.

## Current Behavior
A data adapter which failed during `doStart()` is still accessible using its `doGet()` method. This leads to using a partially/not initialized data adapter, which fails during the method.

## Possible Solution

## Steps to Reproduce (for bugs)

1. Create a HTTPJsonPath data adapter, give it an indefinite single value path
2. Navigate to this data adapters detail page
3. Use an arbitrary key for lookup
4. Check the server logs

## Context

## Your Environment

* Graylog Version: 3.0.0-SNAPSHOT+9cfcf41
* Elasticsearch Version:
* MongoDB Version:
* Operating System:
* Browser version:

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.