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

AuditLog exception when uninstalling a content pack with inputs #19034

Open
patrickmann opened this issue Apr 12, 2024 · 0 comments
Open

AuditLog exception when uninstalling a content pack with inputs #19034

patrickmann opened this issue Apr 12, 2024 · 0 comments

Comments

@patrickmann
Copy link
Contributor

AuditLog exception is thrown when uninstalling a content pack with inputs.

Expected Behavior

No exception

Current Behavior

2024-04-12 13:39:15,913 WARN : org.graylog.plugins.auditlog.jersey.AuditLogFilter - Couldn't capture response entity
java.lang.IllegalArgumentException: No serializer found for class org.graylog2.contentpacks.facades.AutoValue_InputWithExtractors and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: com.google.common.collect.RegularImmutableMap["uninstalled"]->org.graylog2.contentpacks.model.AutoValue_ContentPackUninstallation["entity_objects"]->com.google.common.collect.SingletonImmutableBiMap["f0b097ca-501b-4fc8-babe-6e5f170e69b0"])
at com.fasterxml.jackson.databind.ObjectMapper._convert(ObjectMapper.java:4624) ~[jackson-databind-2.17.0.jar:2.17.0]
at com.fasterxml.jackson.databind.ObjectMapper.convertValue(ObjectMapper.java:4565) ~[jackson-databind-2.17.0.jar:2.17.0]
at org.graylog2.audit.jersey.ResponseEntityConverter.convertValue(ResponseEntityConverter.java:45) ~[classes/:?]
at org.graylog.plugins.auditlog.jersey.AuditLogFilter.readResponseEntity(AuditLogFilter.java:185) ~[classes/:?]
at org.graylog.plugins.auditlog.jersey.AuditLogFilter.lambda$filter$4(AuditLogFilter.java:145) ~[classes/:?]
at java.base/java.util.Optional.ifPresent(Optional.java:178) [?:?]
at org.graylog.plugins.auditlog.jersey.AuditLogFilter.filter(AuditLogFilter.java:116) [classes/:?]

Possible Solution

Steps to Reproduce (for bugs)

  1. Install a content pack that includes an input, eg RandomHTTP
  2. Uninstall the content pack
  3. Observe exception

Your Environment

  • Graylog Version: 6.0.0 RC4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants