Skip to content

Java::OrgLogstash::MissingConverterException on baseline config #12

@PhaedrusTheGreek

Description

@PhaedrusTheGreek
  • Version: 7.3
  • Operating System: OSX
  • Steps to Reproduce:
 % sqlite /tmp/example.db
    sqlite> CREATE TABLE weblogs (
        id INTEGER PRIMARY KEY AUTOINCREMENT,
        ip STRING,
        request STRING,
        response INTEGER);
    sqlite> INSERT INTO weblogs (ip, request, response)
        VALUES ("1.2.3.4", "/index.html", 200);
input {
      sqlite {
        path => "/tmp/example.db"
      }
    }

filter {}

output {
    stdout { codec => rubydebug }
 }

Results in:

[2019-09-11T16:22:23,317][ERROR][logstash.pipeline        ] A plugin had an unrecoverable error. Will restart this plugin.
  Pipeline_id:main
  Plugin: <LogStash::Inputs::Sqlite path=>"/tmp/example.db", id=>"e277edb8d2780f79bc7e7d9877fa6304afda66e2ceb921437520334083b99db2", enable_metric=>true, codec=><LogStash::Codecs::Plain id=>"plain_b7a6bed8-80b3-4f06-9c13-1537e0b2701e", enable_metric=>true, charset=>"UTF-8">, batch=>5>
  Error: Missing Converter handling for full class name=org.jruby.gen.RubyObject30, simple name=RubyObject30
  Exception: Java::OrgLogstash::MissingConverterException
  Stack: org.logstash.Valuefier.fallbackConvert(Valuefier.java:97)
org.logstash.Valuefier.convert(Valuefier.java:75)
org.logstash.ConvertedMap$1.visit(ConvertedMap.java:35)
org.logstash.ConvertedMap$1.visit(ConvertedMap.java:29)
org.jruby.RubyHash.visitLimited(RubyHash.java:690)
org.jruby.RubyHash.visitAll(RubyHash.java:675)
org.logstash.ConvertedMap.newFromRubyHash(ConvertedMap.java:69)
org.logstash.ext.JrubyEventExtLibrary$RubyEvent.ruby_initialize(JrubyEventExtLibrary.java:72)
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions