# Logstash ERROR: (NameError) cannot initialize Java class org.logstash.plugins.AliasRegistry (java.lang.ExceptionInInitializerError)

**URL:** <https://discuss.elastic.co/t/logstash-error-nameerror-cannot-initialize-java-class-org-logstash-plugins-aliasregistry-java-lang-exceptionininitializererror/355350>\
**Category:** Logstash\
**Created:** [March 14, 2024, 1:26am UTC](https://discuss.elastic.co/t/logstash-error-nameerror-cannot-initialize-java-class-org-logstash-plugins-aliasregistry-java-lang-exceptionininitializererror/355350 "2024-03-14T01:26:11Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![Abdulberk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/abdulberk/32/132603_2.png) [@Abdulberk](https://discuss.elastic.co/u/Abdulberk)\
**Post date:** [March 14, 2024, 1:26am UTC](https://discuss.elastic.co/t/logstash-error-nameerror-cannot-initialize-java-class-org-logstash-plugins-aliasregistry-java-lang-exceptionininitializererror/355350/1 "2024-03-14T01:26:11Z")

</div>

I just got both Kibana and Elasticsearch up and running as a windows service and now i want to build a very basic logstash pipeline to figure how it will perform sending the results to Elasticsearch so that i can make sure the pipeline really works well, below are my config and the error message.I also checked both kibana and Elasticsearch on browser, logging in with these credentials. Feeling stuck, any help is appreciated

# **logstash.conf**

```auto
input { stdin { } }
output {
  elasticsearch { hosts => ["localhost:9200"] index => "test.logstash" user => "elastic" password => "=Slkd9*T39wyNxw175bK" }
  stdout { codec => rubydebug }
}

```

# **cmd commands:**

`D:\logstash-8.12.2-windows-x86_64\logstash-8.12.2\bin>logstash -f D:\logstash-8.12.2-windows-x86_64\logstash-8.12.2\bin\logstash.conf`

# **error message:**

```auto
"Using bundled JDK: D:\logstash-8.12.2-windows-x86_64\logstash-8.12.2\jdk\bin\java.exe"
D:/logstash-8.12.2-windows-x86_64/logstash-8.12.2/vendor/bundle/jruby/3.1.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/java_thread_pool_executor.rb:13: warning: method redefined; discarding old to_int
D:/logstash-8.12.2-windows-x86_64/logstash-8.12.2/vendor/bundle/jruby/3.1.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/java_thread_pool_executor.rb:13: warning: method redefined; discarding old to_f
[FATAL] 2024-03-14 01:17:34.844 [main] Logstash - Logstash stopped processing because of an error: (NameError) cannot initialize Java class org.logstash.plugins.AliasRegistry (java.lang.ExceptionInInitializerError)
org.jruby.exceptions.NameError: (NameError) cannot initialize Java class org.logstash.plugins.AliasRegistry (java.lang.ExceptionInInitializerError)
        at org.jruby.javasupport.JavaPackage.method_missing(org/jruby/javasupport/JavaPackage.java:253) ~[jruby.jar:?]
        at RUBY.initialize(D:/logstash-8.12.2-windows-x86_64/logstash-8.12.2/logstash-core/lib/logstash/plugins/registry.rb:126) ~[?:?]
        at org.jruby.RubyClass.new(org/jruby/RubyClass.java:897) ~[jruby.jar:?]
        at RUBY.<module:LogStash>(D:/logstash-8.12.2-windows-x86_64/logstash-8.12.2/logstash-core/lib/logstash/plugins/registry.rb:342) ~[?:?]
        at RUBY.<main>(D:/logstash-8.12.2-windows-x86_64/logstash-8.12.2/logstash-core/lib/logstash/plugins/registry.rb:25) ~[?:?]
        at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1071) ~[jruby.jar:?]
        at RUBY.<main>(D:/logstash-8.12.2-windows-x86_64/logstash-8.12.2/logstash-core/lib/logstash/plugins.rb:18) ~[?:?]
        at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1071) ~[jruby.jar:?]
        at RUBY.<main>(D:/logstash-8.12.2-windows-x86_64/logstash-8.12.2/logstash-core/lib/logstash/runner.rb:48) ~[?:?]
        at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1071) ~[jruby.jar:?]
        at D_3a_.logstash_minus_8_dot_12_dot_2_minus_windows_minus_x86_64.logstash_minus_8_dot_12_dot_2.lib.bootstrap.environment.<main>(D:\logstash-8.12.2-windows-x86_64\logstash-8.12.2\lib\bootstrap\environment.rb:88) ~[?:?]
Caused by: java.lang.ExceptionInInitializerError
        at java.lang.Class.forName0(Native Method) ~[?:?]
        at java.lang.Class.forName(Class.java:467) ~[?:?]
        at org.jruby.javasupport.JavaSupport.loadJavaClass(JavaSupport.java:327) ~[jruby.jar:?]
        at org.jruby.javasupport.Java.loadJavaClass(Java.java:1033) ~[jruby.jar:?]
        at org.jruby.javasupport.Java.loadJavaClass(Java.java:1022) ~[jruby.jar:?]
        at org.jruby.javasupport.Java.getProxyClassOrNull(Java.java:1073) ~[jruby.jar:?]
        at org.jruby.javasupport.Java.getProxyOrPackageUnderPackage(Java.java:964) ~[jruby.jar:?]
        at org.jruby.javasupport.JavaPackage.method_missing(JavaPackage.java:253) ~[jruby.jar:?]
        at org.jruby.javasupport.JavaPackage$INVOKER$i$method_missing.call(JavaPackage$INVOKER$i$method_missing.gen) ~[jruby.jar:?]
        at org.jruby.runtime.Helpers$MethodMissingWrapper.call(Helpers.java:636) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:456) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:195) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:350) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:66) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:76) ~[jruby.jar:?]
        at org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:164) ~[jruby.jar:?]
        at org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:151) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:461) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:210) ~[jruby.jar:?]
        at org.jruby.RubyClass.newInstance(RubyClass.java:897) ~[jruby.jar:?]
        at org.jruby.RubyClass$INVOKER$i$newInstance.call(RubyClass$INVOKER$i$newInstance.gen) ~[jruby.jar:?]
        at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroOrNBlock.call(JavaMethod.java:333) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:456) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:195) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:350) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:66) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:76) ~[jruby.jar:?]
        at org.jruby.ir.instructions.DefineModuleInstr.INTERPRET_MODULE(DefineModuleInstr.java:80) ~[jruby.jar:?]
        at org.jruby.ir.instructions.DefineModuleInstr.interpret(DefineModuleInstr.java:68) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.StartupInterpreterEngine.processOtherOp(StartupInterpreterEngine.java:155) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:98) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.Interpreter.INTERPRET_ROOT(Interpreter.java:96) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.Interpreter.execute(Interpreter.java:81) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.Interpreter.execute(Interpreter.java:30) ~[jruby.jar:?]
        at org.jruby.ir.IRTranslator.execute(IRTranslator.java:42) ~[jruby.jar:?]
        at org.jruby.Ruby.runInterpreter(Ruby.java:1299) ~[jruby.jar:?]
        at org.jruby.Ruby.loadFile(Ruby.java:3031) ~[jruby.jar:?]
        at org.jruby.runtime.load.LibrarySearcher$ResourceLibrary.load(LibrarySearcher.java:925) ~[jruby.jar:?]
        at org.jruby.runtime.load.LibrarySearcher$FoundLibrary.load(LibrarySearcher.java:883) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.tryLoadingLibraryOrScript(LoadService.java:682) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.lambda$smartLoadInternal$0(LoadService.java:584) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService$RequireLocks.executeAndClearLock(LoadService.java:517) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService$RequireLocks.lock(LoadService.java:481) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService$RequireLocks.access$300(LoadService.java:436) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.smartLoadInternal(LoadService.java:570) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.require(LoadService.java:423) ~[jruby.jar:?]
        at org.jruby.RubyKernel.requireCommon(RubyKernel.java:1078) ~[jruby.jar:?]
        at org.jruby.RubyKernel.require(RubyKernel.java:1071) ~[jruby.jar:?]
        at org.jruby.RubyKernel$INVOKER$s$1$0$require.call(RubyKernel$INVOKER$s$1$0$require.gen) ~[jruby.jar:?]
        at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOneOrNBlock.call(JavaMethod.java:423) ~[jruby.jar:?]
        at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:93) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:466) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:244) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:318) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:66) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.Interpreter.INTERPRET_ROOT(Interpreter.java:96) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.Interpreter.execute(Interpreter.java:81) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.Interpreter.execute(Interpreter.java:30) ~[jruby.jar:?]
        at org.jruby.ir.IRTranslator.execute(IRTranslator.java:42) ~[jruby.jar:?]
        at org.jruby.Ruby.runInterpreter(Ruby.java:1299) ~[jruby.jar:?]
        at org.jruby.Ruby.loadFile(Ruby.java:3031) ~[jruby.jar:?]
        at org.jruby.runtime.load.LibrarySearcher$ResourceLibrary.load(LibrarySearcher.java:925) ~[jruby.jar:?]
        at org.jruby.runtime.load.LibrarySearcher$FoundLibrary.load(LibrarySearcher.java:883) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.tryLoadingLibraryOrScript(LoadService.java:682) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.lambda$smartLoadInternal$0(LoadService.java:584) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService$RequireLocks.executeAndClearLock(LoadService.java:517) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService$RequireLocks.lock(LoadService.java:481) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService$RequireLocks.access$300(LoadService.java:436) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.smartLoadInternal(LoadService.java:570) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.require(LoadService.java:423) ~[jruby.jar:?]
        at org.jruby.RubyKernel.requireCommon(RubyKernel.java:1078) ~[jruby.jar:?]
        at org.jruby.RubyKernel.require(RubyKernel.java:1071) ~[jruby.jar:?]
        at org.jruby.RubyKernel$INVOKER$s$1$0$require.call(RubyKernel$INVOKER$s$1$0$require.gen) ~[jruby.jar:?]
        at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOneOrNBlock.call(JavaMethod.java:423) ~[jruby.jar:?]
        at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:93) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:466) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:244) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:318) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:66) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.Interpreter.INTERPRET_ROOT(Interpreter.java:96) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.Interpreter.execute(Interpreter.java:81) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.Interpreter.execute(Interpreter.java:30) ~[jruby.jar:?]
        at org.jruby.ir.IRTranslator.execute(IRTranslator.java:42) ~[jruby.jar:?]
        at org.jruby.Ruby.runInterpreter(Ruby.java:1299) ~[jruby.jar:?]
        at org.jruby.Ruby.loadFile(Ruby.java:3031) ~[jruby.jar:?]
        at org.jruby.runtime.load.LibrarySearcher$ResourceLibrary.load(LibrarySearcher.java:925) ~[jruby.jar:?]
        at org.jruby.runtime.load.LibrarySearcher$FoundLibrary.load(LibrarySearcher.java:883) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.tryLoadingLibraryOrScript(LoadService.java:682) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.lambda$smartLoadInternal$0(LoadService.java:584) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService$RequireLocks.executeAndClearLock(LoadService.java:517) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService$RequireLocks.lock(LoadService.java:481) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService$RequireLocks.access$300(LoadService.java:436) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.smartLoadInternal(LoadService.java:570) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.require(LoadService.java:423) ~[jruby.jar:?]
        at org.jruby.RubyKernel.requireCommon(RubyKernel.java:1078) ~[jruby.jar:?]
        at org.jruby.RubyKernel.require(RubyKernel.java:1071) ~[jruby.jar:?]
        at org.jruby.RubyKernel$INVOKER$s$1$0$require.call(RubyKernel$INVOKER$s$1$0$require.gen) ~[jruby.jar:?]
        at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOneBlock.call(JavaMethod.java:662) ~[jruby.jar:?]
        at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:133) ~[jruby.jar:?]
        at org.jruby.ir.targets.indy.InvokeSite.performIndirectCall(InvokeSite.java:735) ~[jruby.jar:?]
        at org.jruby.ir.targets.indy.InvokeSite.invoke(InvokeSite.java:680) ~[jruby.jar:?]
        at D_3a_.logstash_minus_8_dot_12_dot_2_minus_windows_minus_x86_64.logstash_minus_8_dot_12_dot_2.lib.bootstrap.environment.RUBY$script(D:\logstash-8.12.2-windows-x86_64\logstash-8.12.2\lib\bootstrap\environment.rb:88) ~[?:?]
        at D_3a_.logstash_minus_8_dot_12_dot_2_minus_windows_minus_x86_64.logstash_minus_8_dot_12_dot_2.lib.bootstrap.environment.run(D:\logstash-8.12.2-windows-x86_64\logstash-8.12.2\lib\bootstrap\environment.rb) ~[?:?]
        at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:732) ~[?:?]
        at org.jruby.ir.Compiler$1.load(Compiler.java:114) ~[jruby.jar:?]
        at org.jruby.Ruby.runScript(Ruby.java:1286) ~[jruby.jar:?]
        at org.jruby.Ruby.runNormally(Ruby.java:1203) ~[jruby.jar:?]
        at org.jruby.Ruby.runNormally(Ruby.java:1185) ~[jruby.jar:?]
        at org.jruby.Ruby.runNormally(Ruby.java:1221) ~[jruby.jar:?]
        at org.jruby.Ruby.runFromMain(Ruby.java:999) ~[jruby.jar:?]
        at org.logstash.Logstash.run(Logstash.java:163) [logstash-core.jar:?]
        at org.logstash.Logstash.main(Logstash.java:73) [logstash-core.jar:?]
Caused by: java.lang.IllegalArgumentException: No enum constant org.logstash.plugins.PluginLookup.PluginType.─░NPUT
        at java.lang.Enum.valueOf(Enum.java:273) ~[?:?]
        at org.logstash.plugins.PluginLookup$PluginType.valueOf(PluginLookup.java:142) ~[logstash-core.jar:?]
        at org.logstash.plugins.AliasRegistry$YamlWithChecksum.convertYamlMapToObject(AliasRegistry.java:120) ~[logstash-core.jar:?]
        at org.logstash.plugins.AliasRegistry$YamlWithChecksum.decodeYaml(AliasRegistry.java:108) ~[logstash-core.jar:?]
        at org.logstash.plugins.AliasRegistry$AliasYamlLoader.loadAliasesDefinitionsFromInputStream(AliasRegistry.java:208) ~[logstash-core.jar:?]
        at org.logstash.plugins.AliasRegistry$AliasYamlLoader.loadAliasesDefinitions(AliasRegistry.java:194) ~[logstash-core.jar:?]
        at org.logstash.plugins.AliasRegistry.<init>(AliasRegistry.java:252) ~[logstash-core.jar:?]
        at org.logstash.plugins.AliasRegistry.<clinit>(AliasRegistry.java:242) ~[logstash-core.jar:?]
        at java.lang.Class.forName0(Native Method) ~[?:?]
        at java.lang.Class.forName(Class.java:467) ~[?:?]
        at org.jruby.javasupport.JavaSupport.loadJavaClass(JavaSupport.java:327) ~[jruby.jar:?]
        at org.jruby.javasupport.Java.loadJavaClass(Java.java:1033) ~[jruby.jar:?]
        at org.jruby.javasupport.Java.loadJavaClass(Java.java:1022) ~[jruby.jar:?]
        at org.jruby.javasupport.Java.getProxyClassOrNull(Java.java:1073) ~[jruby.jar:?]
        at org.jruby.javasupport.Java.getProxyOrPackageUnderPackage(Java.java:964) ~[jruby.jar:?]
        at org.jruby.javasupport.JavaPackage.method_missing(JavaPackage.java:253) ~[jruby.jar:?]
        at org.jruby.javasupport.JavaPackage$INVOKER$i$method_missing.call(JavaPackage$INVOKER$i$method_missing.gen) ~[jruby.jar:?]
        at org.jruby.runtime.Helpers$MethodMissingWrapper.call(Helpers.java:636) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:456) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:195) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:350) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:66) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:76) ~[jruby.jar:?]
        at org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:164) ~[jruby.jar:?]
        at org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:151) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:461) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:210) ~[jruby.jar:?]
        at org.jruby.RubyClass.newInstance(RubyClass.java:897) ~[jruby.jar:?]
        at org.jruby.RubyClass$INVOKER$i$newInstance.call(RubyClass$INVOKER$i$newInstance.gen) ~[jruby.jar:?]
        at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroOrNBlock.call(JavaMethod.java:333) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:456) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:195) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:350) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:66) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:76) ~[jruby.jar:?]
        at org.jruby.ir.instructions.DefineModuleInstr.INTERPRET_MODULE(DefineModuleInstr.java:80) ~[jruby.jar:?]
        at org.jruby.ir.instructions.DefineModuleInstr.interpret(DefineModuleInstr.java:68) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.StartupInterpreterEngine.processOtherOp(StartupInterpreterEngine.java:155) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:98) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.Interpreter.INTERPRET_ROOT(Interpreter.java:96) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.Interpreter.execute(Interpreter.java:81) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.Interpreter.execute(Interpreter.java:30) ~[jruby.jar:?]
        at org.jruby.ir.IRTranslator.execute(IRTranslator.java:42) ~[jruby.jar:?]
        at org.jruby.Ruby.runInterpreter(Ruby.java:1299) ~[jruby.jar:?]
        at org.jruby.Ruby.loadFile(Ruby.java:3031) ~[jruby.jar:?]
        at org.jruby.runtime.load.LibrarySearcher$ResourceLibrary.load(LibrarySearcher.java:925) ~[jruby.jar:?]
        at org.jruby.runtime.load.LibrarySearcher$FoundLibrary.load(LibrarySearcher.java:883) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.tryLoadingLibraryOrScript(LoadService.java:682) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.lambda$smartLoadInternal$0(LoadService.java:584) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService$RequireLocks.executeAndClearLock(LoadService.java:517) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService$RequireLocks.lock(LoadService.java:481) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService$RequireLocks.access$300(LoadService.java:436) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.smartLoadInternal(LoadService.java:570) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.require(LoadService.java:423) ~[jruby.jar:?]
        at org.jruby.RubyKernel.requireCommon(RubyKernel.java:1078) ~[jruby.jar:?]
        at org.jruby.RubyKernel.require(RubyKernel.java:1071) ~[jruby.jar:?]
        at org.jruby.RubyKernel$INVOKER$s$1$0$require.call(RubyKernel$INVOKER$s$1$0$require.gen) ~[jruby.jar:?]
        at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOneOrNBlock.call(JavaMethod.java:423) ~[jruby.jar:?]
        at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:93) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:466) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:244) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:318) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:66) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.Interpreter.INTERPRET_ROOT(Interpreter.java:96) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.Interpreter.execute(Interpreter.java:81) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.Interpreter.execute(Interpreter.java:30) ~[jruby.jar:?]
        at org.jruby.ir.IRTranslator.execute(IRTranslator.java:42) ~[jruby.jar:?]
        at org.jruby.Ruby.runInterpreter(Ruby.java:1299) ~[jruby.jar:?]
        at org.jruby.Ruby.loadFile(Ruby.java:3031) ~[jruby.jar:?]
        at org.jruby.runtime.load.LibrarySearcher$ResourceLibrary.load(LibrarySearcher.java:925) ~[jruby.jar:?]
        at org.jruby.runtime.load.LibrarySearcher$FoundLibrary.load(LibrarySearcher.java:883) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.tryLoadingLibraryOrScript(LoadService.java:682) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.lambda$smartLoadInternal$0(LoadService.java:584) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService$RequireLocks.executeAndClearLock(LoadService.java:517) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService$RequireLocks.lock(LoadService.java:481) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService$RequireLocks.access$300(LoadService.java:436) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.smartLoadInternal(LoadService.java:570) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.require(LoadService.java:423) ~[jruby.jar:?]
        at org.jruby.RubyKernel.requireCommon(RubyKernel.java:1078) ~[jruby.jar:?]
        at org.jruby.RubyKernel.require(RubyKernel.java:1071) ~[jruby.jar:?]
        at org.jruby.RubyKernel$INVOKER$s$1$0$require.call(RubyKernel$INVOKER$s$1$0$require.gen) ~[jruby.jar:?]
        at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOneOrNBlock.call(JavaMethod.java:423) ~[jruby.jar:?]
        at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:93) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:466) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:244) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:318) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:66) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.Interpreter.INTERPRET_ROOT(Interpreter.java:96) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.Interpreter.execute(Interpreter.java:81) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.Interpreter.execute(Interpreter.java:30) ~[jruby.jar:?]
        at org.jruby.ir.IRTranslator.execute(IRTranslator.java:42) ~[jruby.jar:?]
        at org.jruby.Ruby.runInterpreter(Ruby.java:1299) ~[jruby.jar:?]
        at org.jruby.Ruby.loadFile(Ruby.java:3031) ~[jruby.jar:?]
        at org.jruby.runtime.load.LibrarySearcher$ResourceLibrary.load(LibrarySearcher.java:925) ~[jruby.jar:?]
        at org.jruby.runtime.load.LibrarySearcher$FoundLibrary.load(LibrarySearcher.java:883) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.tryLoadingLibraryOrScript(LoadService.java:682) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.lambda$smartLoadInternal$0(LoadService.java:584) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService$RequireLocks.executeAndClearLock(LoadService.java:517) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService$RequireLocks.lock(LoadService.java:481) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService$RequireLocks.access$300(LoadService.java:436) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.smartLoadInternal(LoadService.java:570) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.require(LoadService.java:423) ~[jruby.jar:?]
        at org.jruby.RubyKernel.requireCommon(RubyKernel.java:1078) ~[jruby.jar:?]
        at org.jruby.RubyKernel.require(RubyKernel.java:1071) ~[jruby.jar:?]
        at org.jruby.RubyKernel$INVOKER$s$1$0$require.call(RubyKernel$INVOKER$s$1$0$require.gen) ~[jruby.jar:?]
        at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOneBlock.call(JavaMethod.java:662) ~[jruby.jar:?]
        at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:133) ~[jruby.jar:?]
        at org.jruby.ir.targets.indy.InvokeSite.performIndirectCall(InvokeSite.java:735) ~[jruby.jar:?]
        at org.jruby.ir.targets.indy.InvokeSite.invoke(InvokeSite.java:680) ~[jruby.jar:?]
        at D_3a_.logstash_minus_8_dot_12_dot_2_minus_windows_minus_x86_64.logstash_minus_8_dot_12_dot_2.lib.bootstrap.environment.RUBY$script(D:\logstash-8.12.2-windows-x86_64\logstash-8.12.2\lib\bootstrap\environment.rb:88) ~[?:?]
        at D_3a_.logstash_minus_8_dot_12_dot_2_minus_windows_minus_x86_64.logstash_minus_8_dot_12_dot_2.lib.bootstrap.environment.run(D:\logstash-8.12.2-windows-x86_64\logstash-8.12.2\lib\bootstrap\environment.rb) ~[?:?]
        at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:732) ~[?:?]
        at org.jruby.ir.Compiler$1.load(Compiler.java:114) ~[jruby.jar:?]
        at org.jruby.Ruby.runScript(Ruby.java:1286) ~[jruby.jar:?]
        at org.jruby.Ruby.runNormally(Ruby.java:1203) ~[jruby.jar:?]
        at org.jruby.Ruby.runNormally(Ruby.java:1185) ~[jruby.jar:?]
        at org.jruby.Ruby.runNormally(Ruby.java:1221) ~[jruby.jar:?]
        at org.jruby.Ruby.runFromMain(Ruby.java:999) ~[jruby.jar:?]
        at org.logstash.Logstash.run(Logstash.java:163) ~[logstash-core.jar:?]
        at org.logstash.Logstash.main(Logstash.java:73) ~[logstash-core.jar:?]

```

uninstalled logstash and then reinstalled, but getting the same results ending up with that error

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [March 14, 2024, 1:30am UTC](https://discuss.elastic.co/t/logstash-error-nameerror-cannot-initialize-java-class-org-logstash-plugins-aliasregistry-java-lang-exceptionininitializererror/355350/2 "2024-03-14T01:30:49Z")

</div>

Hi @Abdulberk, Welcome to the community...

Common error... CD to the home directory and run from there .. logstash needs to that relative path to bin see [here](https://www.elastic.co/guide/en/logstash/current/running-logstash-windows.html#running-logstash-windows-manual)

In your case

```auto
PS> cd D:\logstash-8.12.2-windows-x86_64\logstash-8.12.2
PS> .\bin\logstash.bat -f .\bin\logstash.conf

```

BTW typically do not put the `.conf` file in the `bin` directory typically in the `config` directory

---

<div class="post-metadata">

**Author:** ![Abdulberk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/abdulberk/32/132603_2.png) [@Abdulberk](https://discuss.elastic.co/u/Abdulberk)\
**Post date:** [March 14, 2024, 11:53am UTC](https://discuss.elastic.co/t/logstash-error-nameerror-cannot-initialize-java-class-org-logstash-plugins-aliasregistry-java-lang-exceptionininitializererror/355350/3 "2024-03-14T11:53:48Z")

</div>

Hi @stephenb, thank you so much for your reply but it didnt work either, literally followed the same steps you mentioned, looked up the official guide as well.  
Even moved the conf file to config folder and tried to run it as Admin via PowerShell like the one below:

```auto
PS C:\Windows\system32> cd D:\logstash-8.12.2-windows-x86_64\logstash-8.12.2
PS D:\logstash-8.12.2-windows-x86_64\logstash-8.12.2> .\bin\logstash.bat -f .\config\logstash.conf

```

```auto
"Using bundled JDK: D:\logstash-8.12.2-windows-x86_64\logstash-8.12.2\jdk\bin\java.exe"
D:/logstash-8.12.2-windows-x86_64/logstash-8.12.2/vendor/bundle/jruby/3.1.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/java_thread_pool_executor.rb:13: warning: method redefined; discarding old to_int
D:/logstash-8.12.2-windows-x86_64/logstash-8.12.2/vendor/bundle/jruby/3.1.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/java_thread_pool_executor.rb:13: warning: method redefined; discarding old to_f
[FATAL] 2024-03-14 14:48:01.752 [main] Logstash - Logstash stopped processing because of an error: (NameError) cannot initialize Java class org.logstash.plugins.AliasRegistry (java.lang.ExceptionInInitializerError)
org.jruby.exceptions.NameError: (NameError) cannot initialize Java class org.logstash.plugins.AliasRegistry (java.lang.ExceptionInInitializerError)
        at org.jruby.javasupport.JavaPackage.method_missing(org/jruby/javasupport/JavaPackage.java:253) ~[jruby.jar:?]
        at RUBY.initialize(D:/logstash-8.12.2-windows-x86_64/logstash-8.12.2/logstash-core/lib/logstash/plugins/registry.rb:126) ~[?:?]
        at org.jruby.RubyClass.new(org/jruby/RubyClass.java:897) ~[jruby.jar:?]
        at RUBY.<module:LogStash>(D:/logstash-8.12.2-windows-x86_64/logstash-8.12.2/logstash-core/lib/logstash/plugins/registry.rb:342) ~[?:?]
        at RUBY.<main>(D:/logstash-8.12.2-windows-x86_64/logstash-8.12.2/logstash-core/lib/logstash/plugins/registry.rb:25) ~[?:?]
        at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1071) ~[jruby.jar:?]
        at RUBY.<main>(D:/logstash-8.12.2-windows-x86_64/logstash-8.12.2/logstash-core/lib/logstash/plugins.rb:18) ~[?:?]
        at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1071) ~[jruby.jar:?]
        at RUBY.<main>(D:/logstash-8.12.2-windows-x86_64/logstash-8.12.2/logstash-core/lib/logstash/runner.rb:48) ~[?:?]
        at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1071) ~[jruby.jar:?]
        at D_3a_.logstash_minus_8_dot_12_dot_2_minus_windows_minus_x86_64.logstash_minus_8_dot_12_dot_2.lib.bootstrap.environment.<main>(D:\logstash-8.12.2-windows-x86_64\logstash-8.12.2\lib\bootstrap\environment.rb:88) ~[?:?]
Caused by: java.lang.ExceptionInInitializerError
        at java.lang.Class.forName0(Native Method) ~[?:?]
        at java.lang.Class.forName(Class.java:467) ~[?:?]
        at org.jruby.javasupport.JavaSupport.loadJavaClass(JavaSupport.java:327) ~[jruby.jar:?]
        at org.jruby.javasupport.Java.loadJavaClass(Java.java:1033) ~[jruby.jar:?]
        at org.jruby.javasupport.Java.loadJavaClass(Java.java:1022) ~[jruby.jar:?]
        at org.jruby.javasupport.Java.getProxyClassOrNull(Java.java:1073) ~[jruby.jar:?]
        at org.jruby.javasupport.Java.getProxyOrPackageUnderPackage(Java.java:964) ~[jruby.jar:?]
        at org.jruby.javasupport.JavaPackage.method_missing(JavaPackage.java:253) ~[jruby.jar:?]
        at org.jruby.javasupport.JavaPackage$INVOKER$i$method_missing.call(JavaPackage$INVOKER$i$method_missing.gen) ~[jruby.jar:?]
        at org.jruby.runtime.Helpers$MethodMissingWrapper.call(Helpers.java:636) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:456) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:195) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:350) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:66) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:76) ~[jruby.jar:?]
        at org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:164) ~[jruby.jar:?]
        at org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:151) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:461) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:210) ~[jruby.jar:?]
        at org.jruby.RubyClass.newInstance(RubyClass.java:897) ~[jruby.jar:?]
        at org.jruby.RubyClass$INVOKER$i$newInstance.call(RubyClass$INVOKER$i$newInstance.gen) ~[jruby.jar:?]
        at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroOrNBlock.call(JavaMethod.java:333) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:456) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:195) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:350) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:66) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:76) ~[jruby.jar:?]
        at org.jruby.ir.instructions.DefineModuleInstr.INTERPRET_MODULE(DefineModuleInstr.java:80) ~[jruby.jar:?]
        at org.jruby.ir.instructions.DefineModuleInstr.interpret(DefineModuleInstr.java:68) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.StartupInterpreterEngine.processOtherOp(StartupInterpreterEngine.java:155) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:98) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.Interpreter.INTERPRET_ROOT(Interpreter.java:96) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.Interpreter.execute(Interpreter.java:81) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.Interpreter.execute(Interpreter.java:30) ~[jruby.jar:?]
        at org.jruby.ir.IRTranslator.execute(IRTranslator.java:42) ~[jruby.jar:?]
        at org.jruby.Ruby.runInterpreter(Ruby.java:1299) ~[jruby.jar:?]
        at org.jruby.Ruby.loadFile(Ruby.java:3031) ~[jruby.jar:?]
        at org.jruby.runtime.load.LibrarySearcher$ResourceLibrary.load(LibrarySearcher.java:925) ~[jruby.jar:?]
        at org.jruby.runtime.load.LibrarySearcher$FoundLibrary.load(LibrarySearcher.java:883) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.tryLoadingLibraryOrScript(LoadService.java:682) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.lambda$smartLoadInternal$0(LoadService.java:584) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService$RequireLocks.executeAndClearLock(LoadService.java:517) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService$RequireLocks.lock(LoadService.java:481) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService$RequireLocks.access$300(LoadService.java:436) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.smartLoadInternal(LoadService.java:570) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.require(LoadService.java:423) ~[jruby.jar:?]
        at org.jruby.RubyKernel.requireCommon(RubyKernel.java:1078) ~[jruby.jar:?]
        at org.jruby.RubyKernel.require(RubyKernel.java:1071) ~[jruby.jar:?]
        at org.jruby.RubyKernel$INVOKER$s$1$0$require.call(RubyKernel$INVOKER$s$1$0$require.gen) ~[jruby.jar:?]
        at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOneOrNBlock.call(JavaMethod.java:423) ~[jruby.jar:?]
        at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:93) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:466) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:244) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:318) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:66) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.Interpreter.INTERPRET_ROOT(Interpreter.java:96) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.Interpreter.execute(Interpreter.java:81) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.Interpreter.execute(Interpreter.java:30) ~[jruby.jar:?]
        at org.jruby.ir.IRTranslator.execute(IRTranslator.java:42) ~[jruby.jar:?]
        at org.jruby.Ruby.runInterpreter(Ruby.java:1299) ~[jruby.jar:?]
        at org.jruby.Ruby.loadFile(Ruby.java:3031) ~[jruby.jar:?]
        at org.jruby.runtime.load.LibrarySearcher$ResourceLibrary.load(LibrarySearcher.java:925) ~[jruby.jar:?]
        at org.jruby.runtime.load.LibrarySearcher$FoundLibrary.load(LibrarySearcher.java:883) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.tryLoadingLibraryOrScript(LoadService.java:682) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.lambda$smartLoadInternal$0(LoadService.java:584) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService$RequireLocks.executeAndClearLock(LoadService.java:517) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService$RequireLocks.lock(LoadService.java:481) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService$RequireLocks.access$300(LoadService.java:436) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.smartLoadInternal(LoadService.java:570) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.require(LoadService.java:423) ~[jruby.jar:?]
        at org.jruby.RubyKernel.requireCommon(RubyKernel.java:1078) ~[jruby.jar:?]
        at org.jruby.RubyKernel.require(RubyKernel.java:1071) ~[jruby.jar:?]
        at org.jruby.RubyKernel$INVOKER$s$1$0$require.call(RubyKernel$INVOKER$s$1$0$require.gen) ~[jruby.jar:?]
        at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOneOrNBlock.call(JavaMethod.java:423) ~[jruby.jar:?]
        at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:93) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:466) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:244) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:318) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:66) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.Interpreter.INTERPRET_ROOT(Interpreter.java:96) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.Interpreter.execute(Interpreter.java:81) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.Interpreter.execute(Interpreter.java:30) ~[jruby.jar:?]
        at org.jruby.ir.IRTranslator.execute(IRTranslator.java:42) ~[jruby.jar:?]
        at org.jruby.Ruby.runInterpreter(Ruby.java:1299) ~[jruby.jar:?]
        at org.jruby.Ruby.loadFile(Ruby.java:3031) ~[jruby.jar:?]
        at org.jruby.runtime.load.LibrarySearcher$ResourceLibrary.load(LibrarySearcher.java:925) ~[jruby.jar:?]
        at org.jruby.runtime.load.LibrarySearcher$FoundLibrary.load(LibrarySearcher.java:883) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.tryLoadingLibraryOrScript(LoadService.java:682) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.lambda$smartLoadInternal$0(LoadService.java:584) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService$RequireLocks.executeAndClearLock(LoadService.java:517) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService$RequireLocks.lock(LoadService.java:481) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService$RequireLocks.access$300(LoadService.java:436) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.smartLoadInternal(LoadService.java:570) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.require(LoadService.java:423) ~[jruby.jar:?]
        at org.jruby.RubyKernel.requireCommon(RubyKernel.java:1078) ~[jruby.jar:?]
        at org.jruby.RubyKernel.require(RubyKernel.java:1071) ~[jruby.jar:?]
        at org.jruby.RubyKernel$INVOKER$s$1$0$require.call(RubyKernel$INVOKER$s$1$0$require.gen) ~[jruby.jar:?]
        at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOneBlock.call(JavaMethod.java:662) ~[jruby.jar:?]
        at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:133) ~[jruby.jar:?]
        at org.jruby.ir.targets.indy.InvokeSite.performIndirectCall(InvokeSite.java:735) ~[jruby.jar:?]
        at org.jruby.ir.targets.indy.InvokeSite.invoke(InvokeSite.java:680) ~[jruby.jar:?]
        at D_3a_.logstash_minus_8_dot_12_dot_2_minus_windows_minus_x86_64.logstash_minus_8_dot_12_dot_2.lib.bootstrap.environment.RUBY$script(D:\logstash-8.12.2-windows-x86_64\logstash-8.12.2\lib\bootstrap\environment.rb:88) ~[?:?]
        at D_3a_.logstash_minus_8_dot_12_dot_2_minus_windows_minus_x86_64.logstash_minus_8_dot_12_dot_2.lib.bootstrap.environment.run(D:\logstash-8.12.2-windows-x86_64\logstash-8.12.2\lib\bootstrap\environment.rb) ~[?:?]
        at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:732) ~[?:?]
        at org.jruby.ir.Compiler$1.load(Compiler.java:114) ~[jruby.jar:?]
        at org.jruby.Ruby.runScript(Ruby.java:1286) ~[jruby.jar:?]
        at org.jruby.Ruby.runNormally(Ruby.java:1203) ~[jruby.jar:?]
        at org.jruby.Ruby.runNormally(Ruby.java:1185) ~[jruby.jar:?]
        at org.jruby.Ruby.runNormally(Ruby.java:1221) ~[jruby.jar:?]
        at org.jruby.Ruby.runFromMain(Ruby.java:999) ~[jruby.jar:?]
        at org.logstash.Logstash.run(Logstash.java:163) [logstash-core.jar:?]
        at org.logstash.Logstash.main(Logstash.java:73) [logstash-core.jar:?]
Caused by: java.lang.IllegalArgumentException: No enum constant org.logstash.plugins.PluginLookup.PluginType.─░NPUT
        at java.lang.Enum.valueOf(Enum.java:273) ~[?:?]
        at org.logstash.plugins.PluginLookup$PluginType.valueOf(PluginLookup.java:142) ~[logstash-core.jar:?]
        at org.logstash.plugins.AliasRegistry$YamlWithChecksum.convertYamlMapToObject(AliasRegistry.java:120) ~[logstash-core.jar:?]
        at org.logstash.plugins.AliasRegistry$YamlWithChecksum.decodeYaml(AliasRegistry.java:108) ~[logstash-core.jar:?]
        at org.logstash.plugins.AliasRegistry$AliasYamlLoader.loadAliasesDefinitionsFromInputStream(AliasRegistry.java:208) ~[logstash-core.jar:?]
        at org.logstash.plugins.AliasRegistry$AliasYamlLoader.loadAliasesDefinitions(AliasRegistry.java:194) ~[logstash-core.jar:?]
        at org.logstash.plugins.AliasRegistry.<init>(AliasRegistry.java:252) ~[logstash-core.jar:?]
        at org.logstash.plugins.AliasRegistry.<clinit>(AliasRegistry.java:242) ~[logstash-core.jar:?]
        at java.lang.Class.forName0(Native Method) ~[?:?]
        at java.lang.Class.forName(Class.java:467) ~[?:?]
        at org.jruby.javasupport.JavaSupport.loadJavaClass(JavaSupport.java:327) ~[jruby.jar:?]
        at org.jruby.javasupport.Java.loadJavaClass(Java.java:1033) ~[jruby.jar:?]
        at org.jruby.javasupport.Java.loadJavaClass(Java.java:1022) ~[jruby.jar:?]
        at org.jruby.javasupport.Java.getProxyClassOrNull(Java.java:1073) ~[jruby.jar:?]
        at org.jruby.javasupport.Java.getProxyOrPackageUnderPackage(Java.java:964) ~[jruby.jar:?]
        at org.jruby.javasupport.JavaPackage.method_missing(JavaPackage.java:253) ~[jruby.jar:?]
        at org.jruby.javasupport.JavaPackage$INVOKER$i$method_missing.call(JavaPackage$INVOKER$i$method_missing.gen) ~[jruby.jar:?]
        at org.jruby.runtime.Helpers$MethodMissingWrapper.call(Helpers.java:636) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:456) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:195) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:350) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:66) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:76) ~[jruby.jar:?]
        at org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:164) ~[jruby.jar:?]
        at org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:151) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:461) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:210) ~[jruby.jar:?]
        at org.jruby.RubyClass.newInstance(RubyClass.java:897) ~[jruby.jar:?]
        at org.jruby.RubyClass$INVOKER$i$newInstance.call(RubyClass$INVOKER$i$newInstance.gen) ~[jruby.jar:?]
        at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroOrNBlock.call(JavaMethod.java:333) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:456) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:195) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:350) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:66) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:76) ~[jruby.jar:?]
        at org.jruby.ir.instructions.DefineModuleInstr.INTERPRET_MODULE(DefineModuleInstr.java:80) ~[jruby.jar:?]
        at org.jruby.ir.instructions.DefineModuleInstr.interpret(DefineModuleInstr.java:68) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.StartupInterpreterEngine.processOtherOp(StartupInterpreterEngine.java:155) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:98) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.Interpreter.INTERPRET_ROOT(Interpreter.java:96) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.Interpreter.execute(Interpreter.java:81) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.Interpreter.execute(Interpreter.java:30) ~[jruby.jar:?]
        at org.jruby.ir.IRTranslator.execute(IRTranslator.java:42) ~[jruby.jar:?]
        at org.jruby.Ruby.runInterpreter(Ruby.java:1299) ~[jruby.jar:?]
        at org.jruby.Ruby.loadFile(Ruby.java:3031) ~[jruby.jar:?]
        at org.jruby.runtime.load.LibrarySearcher$ResourceLibrary.load(LibrarySearcher.java:925) ~[jruby.jar:?]
        at org.jruby.runtime.load.LibrarySearcher$FoundLibrary.load(LibrarySearcher.java:883) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.tryLoadingLibraryOrScript(LoadService.java:682) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.lambda$smartLoadInternal$0(LoadService.java:584) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService$RequireLocks.executeAndClearLock(LoadService.java:517) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService$RequireLocks.lock(LoadService.java:481) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService$RequireLocks.access$300(LoadService.java:436) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.smartLoadInternal(LoadService.java:570) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.require(LoadService.java:423) ~[jruby.jar:?]
        at org.jruby.RubyKernel.requireCommon(RubyKernel.java:1078) ~[jruby.jar:?]
        at org.jruby.RubyKernel.require(RubyKernel.java:1071) ~[jruby.jar:?]
        at org.jruby.RubyKernel$INVOKER$s$1$0$require.call(RubyKernel$INVOKER$s$1$0$require.gen) ~[jruby.jar:?]
        at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOneOrNBlock.call(JavaMethod.java:423) ~[jruby.jar:?]
        at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:93) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:466) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:244) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:318) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:66) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.Interpreter.INTERPRET_ROOT(Interpreter.java:96) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.Interpreter.execute(Interpreter.java:81) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.Interpreter.execute(Interpreter.java:30) ~[jruby.jar:?]
        at org.jruby.ir.IRTranslator.execute(IRTranslator.java:42) ~[jruby.jar:?]
        at org.jruby.Ruby.runInterpreter(Ruby.java:1299) ~[jruby.jar:?]
        at org.jruby.Ruby.loadFile(Ruby.java:3031) ~[jruby.jar:?]
        at org.jruby.runtime.load.LibrarySearcher$ResourceLibrary.load(LibrarySearcher.java:925) ~[jruby.jar:?]
        at org.jruby.runtime.load.LibrarySearcher$FoundLibrary.load(LibrarySearcher.java:883) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.tryLoadingLibraryOrScript(LoadService.java:682) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.lambda$smartLoadInternal$0(LoadService.java:584) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService$RequireLocks.executeAndClearLock(LoadService.java:517) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService$RequireLocks.lock(LoadService.java:481) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService$RequireLocks.access$300(LoadService.java:436) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.smartLoadInternal(LoadService.java:570) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.require(LoadService.java:423) ~[jruby.jar:?]
        at org.jruby.RubyKernel.requireCommon(RubyKernel.java:1078) ~[jruby.jar:?]
        at org.jruby.RubyKernel.require(RubyKernel.java:1071) ~[jruby.jar:?]
        at org.jruby.RubyKernel$INVOKER$s$1$0$require.call(RubyKernel$INVOKER$s$1$0$require.gen) ~[jruby.jar:?]
        at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOneOrNBlock.call(JavaMethod.java:423) ~[jruby.jar:?]
        at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:93) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:466) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:244) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:318) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:66) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.Interpreter.INTERPRET_ROOT(Interpreter.java:96) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.Interpreter.execute(Interpreter.java:81) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.Interpreter.execute(Interpreter.java:30) ~[jruby.jar:?]
        at org.jruby.ir.IRTranslator.execute(IRTranslator.java:42) ~[jruby.jar:?]
        at org.jruby.Ruby.runInterpreter(Ruby.java:1299) ~[jruby.jar:?]
        at org.jruby.Ruby.loadFile(Ruby.java:3031) ~[jruby.jar:?]
        at org.jruby.runtime.load.LibrarySearcher$ResourceLibrary.load(LibrarySearcher.java:925) ~[jruby.jar:?]
        at org.jruby.runtime.load.LibrarySearcher$FoundLibrary.load(LibrarySearcher.java:883) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.tryLoadingLibraryOrScript(LoadService.java:682) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.lambda$smartLoadInternal$0(LoadService.java:584) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService$RequireLocks.executeAndClearLock(LoadService.java:517) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService$RequireLocks.lock(LoadService.java:481) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService$RequireLocks.access$300(LoadService.java:436) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.smartLoadInternal(LoadService.java:570) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.require(LoadService.java:423) ~[jruby.jar:?]
        at org.jruby.RubyKernel.requireCommon(RubyKernel.java:1078) ~[jruby.jar:?]
        at org.jruby.RubyKernel.require(RubyKernel.java:1071) ~[jruby.jar:?]
        at org.jruby.RubyKernel$INVOKER$s$1$0$require.call(RubyKernel$INVOKER$s$1$0$require.gen) ~[jruby.jar:?]
        at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOneBlock.call(JavaMethod.java:662) ~[jruby.jar:?]
        at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:133) ~[jruby.jar:?]
        at org.jruby.ir.targets.indy.InvokeSite.performIndirectCall(InvokeSite.java:735) ~[jruby.jar:?]
        at org.jruby.ir.targets.indy.InvokeSite.invoke(InvokeSite.java:680) ~[jruby.jar:?]
        at D_3a_.logstash_minus_8_dot_12_dot_2_minus_windows_minus_x86_64.logstash_minus_8_dot_12_dot_2.lib.bootstrap.environment.RUBY$script(D:\logstash-8.12.2-windows-x86_64\logstash-8.12.2\lib\bootstrap\environment.rb:88) ~[?:?]
        at D_3a_.logstash_minus_8_dot_12_dot_2_minus_windows_minus_x86_64.logstash_minus_8_dot_12_dot_2.lib.bootstrap.environment.run(D:\logstash-8.12.2-windows-x86_64\logstash-8.12.2\lib\bootstrap\environment.rb) ~[?:?]
        at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:732) ~[?:?]
        at org.jruby.ir.Compiler$1.load(Compiler.java:114) ~[jruby.jar:?]
        at org.jruby.Ruby.runScript(Ruby.java:1286) ~[jruby.jar:?]
        at org.jruby.Ruby.runNormally(Ruby.java:1203) ~[jruby.jar:?]
        at org.jruby.Ruby.runNormally(Ruby.java:1185) ~[jruby.jar:?]
        at org.jruby.Ruby.runNormally(Ruby.java:1221) ~[jruby.jar:?]
        at org.jruby.Ruby.runFromMain(Ruby.java:999) ~[jruby.jar:?]
        at org.logstash.Logstash.run(Logstash.java:163) ~[logstash-core.jar:?]
        at org.logstash.Logstash.main(Logstash.java:73) ~[logstash-core.jar:?]

```

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [March 14, 2024, 1:43pm UTC](https://discuss.elastic.co/t/logstash-error-nameerror-cannot-initialize-java-class-org-logstash-plugins-aliasregistry-java-lang-exceptionininitializererror/355350/4 "2024-03-14T13:43:55Z")

</div>

> [@Abdulberk](#):
>
> `Caused by: java.lang.IllegalArgumentException: No enum constant org.logstash.plugins.PluginLookup.PluginType.─░NPUT`

This error suggests that may there is something wrong in your configuration, maybe some encoding issues?

It is identifying that you may have something like this somewhere in your config file.

```auto
─░NPUT

```

Where did you edit this file? I suggest that you recreate it on a editor like Notepad++.

---

<div class="post-metadata">

**Author:** ![Abdulberk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/abdulberk/32/132603_2.png) [@Abdulberk](https://discuss.elastic.co/u/Abdulberk)\
**Post date:** [March 14, 2024, 5:36pm UTC](https://discuss.elastic.co/t/logstash-error-nameerror-cannot-initialize-java-class-org-logstash-plugins-aliasregistry-java-lang-exceptionininitializererror/355350/5 "2024-03-14T17:36:39Z")

</div>

I deleted the previous one and recreated on notepad++. Same error.

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [March 14, 2024, 5:58pm UTC](https://discuss.elastic.co/t/logstash-error-nameerror-cannot-initialize-java-class-org-logstash-plugins-aliasregistry-java-lang-exceptionininitializererror/355350/6 "2024-03-14T17:58:57Z")

</div>

The exactly same error? Please share the error.

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [March 14, 2024, 6:49pm UTC](https://discuss.elastic.co/t/logstash-error-nameerror-cannot-initialize-java-class-org-logstash-plugins-aliasregistry-java-lang-exceptionininitializererror/355350/7 "2024-03-14T18:49:51Z")

</div>

> [@Abdulberk](#):
>
> `░NPUT`

Also how about trying one of the default pipelines... don't open and edit let's just see if it will run... it will just open a port 5044

```auto
PS C:\Windows\system32> cd D:\logstash-8.12.2-windows-x86_64\logstash-8.12.2
PS D:\logstash-8.12.2-windows-x86_64\logstash-8.12.2> .\bin\logstash.bat -f .\config\logstash-sample.conf

```

---

<div class="post-metadata">

**Author:** ![Abdulberk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/abdulberk/32/132603_2.png) [@Abdulberk](https://discuss.elastic.co/u/Abdulberk)\
**Post date:** [March 14, 2024, 8:13pm UTC](https://discuss.elastic.co/t/logstash-error-nameerror-cannot-initialize-java-class-org-logstash-plugins-aliasregistry-java-lang-exceptionininitializererror/355350/8 "2024-03-14T20:13:10Z")

</div>

yeah, just tried it now either, didnt event open or change anything inside, but still the same error message, i dont really know what to do, maybe i should also consider configuring this pipeline on Elastic Cloud, which i think it will just do fine this time 🥴

```auto
PS D:\logstash-8.12.2-windows-x86_64\logstash-8.12.2> .\bin\logstash.bat -f .\config\logstash-sample.conf
"Using bundled JDK: D:\logstash-8.12.2-windows-x86_64\logstash-8.12.2\jdk\bin\java.exe"
D:/logstash-8.12.2-windows-x86_64/logstash-8.12.2/vendor/bundle/jruby/3.1.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/java_thread_pool_executor.rb:13: warning: method redefined; discarding old to_int
D:/logstash-8.12.2-windows-x86_64/logstash-8.12.2/vendor/bundle/jruby/3.1.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/java_thread_pool_executor.rb:13: warning: method redefined; discarding old to_f
[FATAL] 2024-03-14 23:03:25.018 [main] Logstash - Logstash stopped processing because of an error: (NameError) cannot initialize Java class org.logstash.plugins.AliasRegistry (java.lang.ExceptionInInitializerError)
org.jruby.exceptions.NameError: (NameError) cannot initialize Java class org.logstash.plugins.AliasRegistry (java.lang.ExceptionInInitializerError)
        at org.jruby.javasupport.JavaPackage.method_missing(org/jruby/javasupport/JavaPackage.java:253) ~[jruby.jar:?]
        at RUBY.initialize(D:/logstash-8.12.2-windows-x86_64/logstash-8.12.2/logstash-core/lib/logstash/plugins/registry.rb:126) ~[?:?]
        at org.jruby.RubyClass.new(org/jruby/RubyClass.java:897) ~[jruby.jar:?]
        at RUBY.<module:LogStash>(D:/logstash-8.12.2-windows-x86_64/logstash-8.12.2/logstash-core/lib/logstash/plugins/registry.rb:342) ~[?:?]
        at RUBY.<main>(D:/logstash-8.12.2-windows-x86_64/logstash-8.12.2/logstash-core/lib/logstash/plugins/registry.rb:25) ~[?:?]
        at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1071) ~[jruby.jar:?]
        at RUBY.<main>(D:/logstash-8.12.2-windows-x86_64/logstash-8.12.2/logstash-core/lib/logstash/plugins.rb:18) ~[?:?]
        at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1071) ~[jruby.jar:?]
        at RUBY.<main>(D:/logstash-8.12.2-windows-x86_64/logstash-8.12.2/logstash-core/lib/logstash/runner.rb:48) ~[?:?]
        at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1071) ~[jruby.jar:?]
        at D_3a_.logstash_minus_8_dot_12_dot_2_minus_windows_minus_x86_64.logstash_minus_8_dot_12_dot_2.lib.bootstrap.environment.<main>(D:\logstash-8.12.2-windows-x86_64\logstash-8.12.2\lib\bootstrap\environment.rb:88) ~[?:?]
Caused by: java.lang.ExceptionInInitializerError
        at java.lang.Class.forName0(Native Method) ~[?:?]
        at java.lang.Class.forName(Class.java:467) ~[?:?]
        at org.jruby.javasupport.JavaSupport.loadJavaClass(JavaSupport.java:327) ~[jruby.jar:?]
        at org.jruby.javasupport.Java.loadJavaClass(Java.java:1033) ~[jruby.jar:?]
        at org.jruby.javasupport.Java.loadJavaClass(Java.java:1022) ~[jruby.jar:?]
        at org.jruby.javasupport.Java.getProxyClassOrNull(Java.java:1073) ~[jruby.jar:?]
        at org.jruby.javasupport.Java.getProxyOrPackageUnderPackage(Java.java:964) ~[jruby.jar:?]
        at org.jruby.javasupport.JavaPackage.method_missing(JavaPackage.java:253) ~[jruby.jar:?]
        at org.jruby.javasupport.JavaPackage$INVOKER$i$method_missing.call(JavaPackage$INVOKER$i$method_missing.gen) ~[jruby.jar:?]
        at org.jruby.runtime.Helpers$MethodMissingWrapper.call(Helpers.java:636) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:456) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:195) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:350) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:66) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:76) ~[jruby.jar:?]
        at org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:164) ~[jruby.jar:?]
        at org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:151) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:461) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:210) ~[jruby.jar:?]
        at org.jruby.RubyClass.newInstance(RubyClass.java:897) ~[jruby.jar:?]
        at org.jruby.RubyClass$INVOKER$i$newInstance.call(RubyClass$INVOKER$i$newInstance.gen) ~[jruby.jar:?]
        at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroOrNBlock.call(JavaMethod.java:333) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:456) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:195) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:350) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:66) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:76) ~[jruby.jar:?]
        at org.jruby.ir.instructions.DefineModuleInstr.INTERPRET_MODULE(DefineModuleInstr.java:80) ~[jruby.jar:?]
        at org.jruby.ir.instructions.DefineModuleInstr.interpret(DefineModuleInstr.java:68) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.StartupInterpreterEngine.processOtherOp(StartupInterpreterEngine.java:155) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:98) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.Interpreter.INTERPRET_ROOT(Interpreter.java:96) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.Interpreter.execute(Interpreter.java:81) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.Interpreter.execute(Interpreter.java:30) ~[jruby.jar:?]
        at org.jruby.ir.IRTranslator.execute(IRTranslator.java:42) ~[jruby.jar:?]
        at org.jruby.Ruby.runInterpreter(Ruby.java:1299) ~[jruby.jar:?]
        at org.jruby.Ruby.loadFile(Ruby.java:3031) ~[jruby.jar:?]
        at org.jruby.runtime.load.LibrarySearcher$ResourceLibrary.load(LibrarySearcher.java:925) ~[jruby.jar:?]
        at org.jruby.runtime.load.LibrarySearcher$FoundLibrary.load(LibrarySearcher.java:883) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.tryLoadingLibraryOrScript(LoadService.java:682) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.lambda$smartLoadInternal$0(LoadService.java:584) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService$RequireLocks.executeAndClearLock(LoadService.java:517) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService$RequireLocks.lock(LoadService.java:481) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService$RequireLocks.access$300(LoadService.java:436) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.smartLoadInternal(LoadService.java:570) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.require(LoadService.java:423) ~[jruby.jar:?]
        at org.jruby.RubyKernel.requireCommon(RubyKernel.java:1078) ~[jruby.jar:?]
        at org.jruby.RubyKernel.require(RubyKernel.java:1071) ~[jruby.jar:?]
        at org.jruby.RubyKernel$INVOKER$s$1$0$require.call(RubyKernel$INVOKER$s$1$0$require.gen) ~[jruby.jar:?]
        at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOneOrNBlock.call(JavaMethod.java:423) ~[jruby.jar:?]
        at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:93) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:466) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:244) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:318) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:66) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.Interpreter.INTERPRET_ROOT(Interpreter.java:96) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.Interpreter.execute(Interpreter.java:81) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.Interpreter.execute(Interpreter.java:30) ~[jruby.jar:?]
        at org.jruby.ir.IRTranslator.execute(IRTranslator.java:42) ~[jruby.jar:?]
        at org.jruby.Ruby.runInterpreter(Ruby.java:1299) ~[jruby.jar:?]
        at org.jruby.Ruby.loadFile(Ruby.java:3031) ~[jruby.jar:?]
        at org.jruby.runtime.load.LibrarySearcher$ResourceLibrary.load(LibrarySearcher.java:925) ~[jruby.jar:?]
        at org.jruby.runtime.load.LibrarySearcher$FoundLibrary.load(LibrarySearcher.java:883) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.tryLoadingLibraryOrScript(LoadService.java:682) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.lambda$smartLoadInternal$0(LoadService.java:584) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService$RequireLocks.executeAndClearLock(LoadService.java:517) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService$RequireLocks.lock(LoadService.java:481) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService$RequireLocks.access$300(LoadService.java:436) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.smartLoadInternal(LoadService.java:570) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.require(LoadService.java:423) ~[jruby.jar:?]
        at org.jruby.RubyKernel.requireCommon(RubyKernel.java:1078) ~[jruby.jar:?]
        at org.jruby.RubyKernel.require(RubyKernel.java:1071) ~[jruby.jar:?]
        at org.jruby.RubyKernel$INVOKER$s$1$0$require.call(RubyKernel$INVOKER$s$1$0$require.gen) ~[jruby.jar:?]
        at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOneOrNBlock.call(JavaMethod.java:423) ~[jruby.jar:?]
        at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:93) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:466) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:244) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:318) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:66) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.Interpreter.INTERPRET_ROOT(Interpreter.java:96) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.Interpreter.execute(Interpreter.java:81) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.Interpreter.execute(Interpreter.java:30) ~[jruby.jar:?]
        at org.jruby.ir.IRTranslator.execute(IRTranslator.java:42) ~[jruby.jar:?]
        at org.jruby.Ruby.runInterpreter(Ruby.java:1299) ~[jruby.jar:?]
        at org.jruby.Ruby.loadFile(Ruby.java:3031) ~[jruby.jar:?]
        at org.jruby.runtime.load.LibrarySearcher$ResourceLibrary.load(LibrarySearcher.java:925) ~[jruby.jar:?]
        at org.jruby.runtime.load.LibrarySearcher$FoundLibrary.load(LibrarySearcher.java:883) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.tryLoadingLibraryOrScript(LoadService.java:682) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.lambda$smartLoadInternal$0(LoadService.java:584) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService$RequireLocks.executeAndClearLock(LoadService.java:517) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService$RequireLocks.lock(LoadService.java:481) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService$RequireLocks.access$300(LoadService.java:436) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.smartLoadInternal(LoadService.java:570) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.require(LoadService.java:423) ~[jruby.jar:?]
        at org.jruby.RubyKernel.requireCommon(RubyKernel.java:1078) ~[jruby.jar:?]
        at org.jruby.RubyKernel.require(RubyKernel.java:1071) ~[jruby.jar:?]
        at org.jruby.RubyKernel$INVOKER$s$1$0$require.call(RubyKernel$INVOKER$s$1$0$require.gen) ~[jruby.jar:?]
        at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOneBlock.call(JavaMethod.java:662) ~[jruby.jar:?]
        at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:133) ~[jruby.jar:?]
        at org.jruby.ir.targets.indy.InvokeSite.performIndirectCall(InvokeSite.java:735) ~[jruby.jar:?]
        at org.jruby.ir.targets.indy.InvokeSite.invoke(InvokeSite.java:680) ~[jruby.jar:?]
        at D_3a_.logstash_minus_8_dot_12_dot_2_minus_windows_minus_x86_64.logstash_minus_8_dot_12_dot_2.lib.bootstrap.environment.RUBY$script(D:\logstash-8.12.2-windows-x86_64\logstash-8.12.2\lib\bootstrap\environment.rb:88) ~[?:?]
        at D_3a_.logstash_minus_8_dot_12_dot_2_minus_windows_minus_x86_64.logstash_minus_8_dot_12_dot_2.lib.bootstrap.environment.run(D:\logstash-8.12.2-windows-x86_64\logstash-8.12.2\lib\bootstrap\environment.rb) ~[?:?]
        at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:732) ~[?:?]
        at org.jruby.ir.Compiler$1.load(Compiler.java:114) ~[jruby.jar:?]
        at org.jruby.Ruby.runScript(Ruby.java:1286) ~[jruby.jar:?]
        at org.jruby.Ruby.runNormally(Ruby.java:1203) ~[jruby.jar:?]
        at org.jruby.Ruby.runNormally(Ruby.java:1185) ~[jruby.jar:?]
        at org.jruby.Ruby.runNormally(Ruby.java:1221) ~[jruby.jar:?]
        at org.jruby.Ruby.runFromMain(Ruby.java:999) ~[jruby.jar:?]
        at org.logstash.Logstash.run(Logstash.java:163) [logstash-core.jar:?]
        at org.logstash.Logstash.main(Logstash.java:73) [logstash-core.jar:?]
Caused by: java.lang.IllegalArgumentException: No enum constant org.logstash.plugins.PluginLookup.PluginType.─░NPUT
        at java.lang.Enum.valueOf(Enum.java:273) ~[?:?]
        at org.logstash.plugins.PluginLookup$PluginType.valueOf(PluginLookup.java:142) ~[logstash-core.jar:?]
        at org.logstash.plugins.AliasRegistry$YamlWithChecksum.convertYamlMapToObject(AliasRegistry.java:120) ~[logstash-core.jar:?]
        at org.logstash.plugins.AliasRegistry$YamlWithChecksum.decodeYaml(AliasRegistry.java:108) ~[logstash-core.jar:?]
        at org.logstash.plugins.AliasRegistry$AliasYamlLoader.loadAliasesDefinitionsFromInputStream(AliasRegistry.java:208) ~[logstash-core.jar:?]
        at org.logstash.plugins.AliasRegistry$AliasYamlLoader.loadAliasesDefinitions(AliasRegistry.java:194) ~[logstash-core.jar:?]
        at org.logstash.plugins.AliasRegistry.<init>(AliasRegistry.java:252) ~[logstash-core.jar:?]
        at org.logstash.plugins.AliasRegistry.<clinit>(AliasRegistry.java:242) ~[logstash-core.jar:?]
        at java.lang.Class.forName0(Native Method) ~[?:?]
        at java.lang.Class.forName(Class.java:467) ~[?:?]
        at org.jruby.javasupport.JavaSupport.loadJavaClass(JavaSupport.java:327) ~[jruby.jar:?]
        at org.jruby.javasupport.Java.loadJavaClass(Java.java:1033) ~[jruby.jar:?]
        at org.jruby.javasupport.Java.loadJavaClass(Java.java:1022) ~[jruby.jar:?]
        at org.jruby.javasupport.Java.getProxyClassOrNull(Java.java:1073) ~[jruby.jar:?]
        at org.jruby.javasupport.Java.getProxyOrPackageUnderPackage(Java.java:964) ~[jruby.jar:?]
        at org.jruby.javasupport.JavaPackage.method_missing(JavaPackage.java:253) ~[jruby.jar:?]
        at org.jruby.javasupport.JavaPackage$INVOKER$i$method_missing.call(JavaPackage$INVOKER$i$method_missing.gen) ~[jruby.jar:?]
        at org.jruby.runtime.Helpers$MethodMissingWrapper.call(Helpers.java:636) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:456) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:195) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:350) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:66) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:76) ~[jruby.jar:?]
        at org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:164) ~[jruby.jar:?]
        at org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:151) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:461) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:210) ~[jruby.jar:?]
        at org.jruby.RubyClass.newInstance(RubyClass.java:897) ~[jruby.jar:?]
        at org.jruby.RubyClass$INVOKER$i$newInstance.call(RubyClass$INVOKER$i$newInstance.gen) ~[jruby.jar:?]
        at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroOrNBlock.call(JavaMethod.java:333) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:456) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:195) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:350) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:66) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:76) ~[jruby.jar:?]
        at org.jruby.ir.instructions.DefineModuleInstr.INTERPRET_MODULE(DefineModuleInstr.java:80) ~[jruby.jar:?]
        at org.jruby.ir.instructions.DefineModuleInstr.interpret(DefineModuleInstr.java:68) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.StartupInterpreterEngine.processOtherOp(StartupInterpreterEngine.java:155) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:98) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.Interpreter.INTERPRET_ROOT(Interpreter.java:96) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.Interpreter.execute(Interpreter.java:81) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.Interpreter.execute(Interpreter.java:30) ~[jruby.jar:?]
        at org.jruby.ir.IRTranslator.execute(IRTranslator.java:42) ~[jruby.jar:?]
        at org.jruby.Ruby.runInterpreter(Ruby.java:1299) ~[jruby.jar:?]
        at org.jruby.Ruby.loadFile(Ruby.java:3031) ~[jruby.jar:?]
        at org.jruby.runtime.load.LibrarySearcher$ResourceLibrary.load(LibrarySearcher.java:925) ~[jruby.jar:?]
        at org.jruby.runtime.load.LibrarySearcher$FoundLibrary.load(LibrarySearcher.java:883) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.tryLoadingLibraryOrScript(LoadService.java:682) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.lambda$smartLoadInternal$0(LoadService.java:584) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService$RequireLocks.executeAndClearLock(LoadService.java:517) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService$RequireLocks.lock(LoadService.java:481) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService$RequireLocks.access$300(LoadService.java:436) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.smartLoadInternal(LoadService.java:570) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.require(LoadService.java:423) ~[jruby.jar:?]
        at org.jruby.RubyKernel.requireCommon(RubyKernel.java:1078) ~[jruby.jar:?]
        at org.jruby.RubyKernel.require(RubyKernel.java:1071) ~[jruby.jar:?]
        at org.jruby.RubyKernel$INVOKER$s$1$0$require.call(RubyKernel$INVOKER$s$1$0$require.gen) ~[jruby.jar:?]
        at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOneOrNBlock.call(JavaMethod.java:423) ~[jruby.jar:?]
        at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:93) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:466) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:244) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:318) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:66) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.Interpreter.INTERPRET_ROOT(Interpreter.java:96) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.Interpreter.execute(Interpreter.java:81) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.Interpreter.execute(Interpreter.java:30) ~[jruby.jar:?]
        at org.jruby.ir.IRTranslator.execute(IRTranslator.java:42) ~[jruby.jar:?]
        at org.jruby.Ruby.runInterpreter(Ruby.java:1299) ~[jruby.jar:?]
        at org.jruby.Ruby.loadFile(Ruby.java:3031) ~[jruby.jar:?]
        at org.jruby.runtime.load.LibrarySearcher$ResourceLibrary.load(LibrarySearcher.java:925) ~[jruby.jar:?]
        at org.jruby.runtime.load.LibrarySearcher$FoundLibrary.load(LibrarySearcher.java:883) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.tryLoadingLibraryOrScript(LoadService.java:682) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.lambda$smartLoadInternal$0(LoadService.java:584) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService$RequireLocks.executeAndClearLock(LoadService.java:517) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService$RequireLocks.lock(LoadService.java:481) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService$RequireLocks.access$300(LoadService.java:436) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.smartLoadInternal(LoadService.java:570) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.require(LoadService.java:423) ~[jruby.jar:?]
        at org.jruby.RubyKernel.requireCommon(RubyKernel.java:1078) ~[jruby.jar:?]
        at org.jruby.RubyKernel.require(RubyKernel.java:1071) ~[jruby.jar:?]
        at org.jruby.RubyKernel$INVOKER$s$1$0$require.call(RubyKernel$INVOKER$s$1$0$require.gen) ~[jruby.jar:?]
        at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOneOrNBlock.call(JavaMethod.java:423) ~[jruby.jar:?]
        at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:93) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:466) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:244) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:318) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:66) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.Interpreter.INTERPRET_ROOT(Interpreter.java:96) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.Interpreter.execute(Interpreter.java:81) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.Interpreter.execute(Interpreter.java:30) ~[jruby.jar:?]
        at org.jruby.ir.IRTranslator.execute(IRTranslator.java:42) ~[jruby.jar:?]
        at org.jruby.Ruby.runInterpreter(Ruby.java:1299) ~[jruby.jar:?]
        at org.jruby.Ruby.loadFile(Ruby.java:3031) ~[jruby.jar:?]
        at org.jruby.runtime.load.LibrarySearcher$ResourceLibrary.load(LibrarySearcher.java:925) ~[jruby.jar:?]
        at org.jruby.runtime.load.LibrarySearcher$FoundLibrary.load(LibrarySearcher.java:883) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.tryLoadingLibraryOrScript(LoadService.java:682) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.lambda$smartLoadInternal$0(LoadService.java:584) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService$RequireLocks.executeAndClearLock(LoadService.java:517) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService$RequireLocks.lock(LoadService.java:481) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService$RequireLocks.access$300(LoadService.java:436) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.smartLoadInternal(LoadService.java:570) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.require(LoadService.java:423) ~[jruby.jar:?]
        at org.jruby.RubyKernel.requireCommon(RubyKernel.java:1078) ~[jruby.jar:?]
        at org.jruby.RubyKernel.require(RubyKernel.java:1071) ~[jruby.jar:?]
        at org.jruby.RubyKernel$INVOKER$s$1$0$require.call(RubyKernel$INVOKER$s$1$0$require.gen) ~[jruby.jar:?]
        at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOneBlock.call(JavaMethod.java:662) ~[jruby.jar:?]
        at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:133) ~[jruby.jar:?]
        at org.jruby.ir.targets.indy.InvokeSite.performIndirectCall(InvokeSite.java:735) ~[jruby.jar:?]
        at org.jruby.ir.targets.indy.InvokeSite.invoke(InvokeSite.java:680) ~[jruby.jar:?]
        at D_3a_.logstash_minus_8_dot_12_dot_2_minus_windows_minus_x86_64.logstash_minus_8_dot_12_dot_2.lib.bootstrap.environment.RUBY$script(D:\logstash-8.12.2-windows-x86_64\logstash-8.12.2\lib\bootstrap\environment.rb:88) ~[?:?]
        at D_3a_.logstash_minus_8_dot_12_dot_2_minus_windows_minus_x86_64.logstash_minus_8_dot_12_dot_2.lib.bootstrap.environment.run(D:\logstash-8.12.2-windows-x86_64\logstash-8.12.2\lib\bootstrap\environment.rb) ~[?:?]
        at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:732) ~[?:?]
        at org.jruby.ir.Compiler$1.load(Compiler.java:114) ~[jruby.jar:?]
        at org.jruby.Ruby.runScript(Ruby.java:1286) ~[jruby.jar:?]
        at org.jruby.Ruby.runNormally(Ruby.java:1203) ~[jruby.jar:?]
        at org.jruby.Ruby.runNormally(Ruby.java:1185) ~[jruby.jar:?]
        at org.jruby.Ruby.runNormally(Ruby.java:1221) ~[jruby.jar:?]
        at org.jruby.Ruby.runFromMain(Ruby.java:999) ~[jruby.jar:?]
        at org.logstash.Logstash.run(Logstash.java:163) ~[logstash-core.jar:?]
        at org.logstash.Logstash.main(Logstash.java:73) ~[logstash-core.jar:?]

```

---

<div class="post-metadata">

**Author:** ![Abdulberk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/abdulberk/32/132603_2.png) [@Abdulberk](https://discuss.elastic.co/u/Abdulberk)\
**Post date:** [March 14, 2024, 8:14pm UTC](https://discuss.elastic.co/t/logstash-error-nameerror-cannot-initialize-java-class-org-logstash-plugins-aliasregistry-java-lang-exceptionininitializererror/355350/9 "2024-03-14T20:14:10Z")

</div>

Hi Leandro, here you can check:

```auto
PS D:\logstash-8.12.2-windows-x86_64\logstash-8.12.2> .\bin\logstash.bat -f .\config\logstash-sample.conf
"Using bundled JDK: D:\logstash-8.12.2-windows-x86_64\logstash-8.12.2\jdk\bin\java.exe"
D:/logstash-8.12.2-windows-x86_64/logstash-8.12.2/vendor/bundle/jruby/3.1.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/java_thread_pool_executor.rb:13: warning: method redefined; discarding old to_int
D:/logstash-8.12.2-windows-x86_64/logstash-8.12.2/vendor/bundle/jruby/3.1.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/java_thread_pool_executor.rb:13: warning: method redefined; discarding old to_f
[FATAL] 2024-03-14 23:03:25.018 [main] Logstash - Logstash stopped processing because of an error: (NameError) cannot initialize Java class org.logstash.plugins.AliasRegistry (java.lang.ExceptionInInitializerError)
org.jruby.exceptions.NameError: (NameError) cannot initialize Java class org.logstash.plugins.AliasRegistry (java.lang.ExceptionInInitializerError)
        at org.jruby.javasupport.JavaPackage.method_missing(org/jruby/javasupport/JavaPackage.java:253) ~[jruby.jar:?]
        at RUBY.initialize(D:/logstash-8.12.2-windows-x86_64/logstash-8.12.2/logstash-core/lib/logstash/plugins/registry.rb:126) ~[?:?]
        at org.jruby.RubyClass.new(org/jruby/RubyClass.java:897) ~[jruby.jar:?]
        at RUBY.<module:LogStash>(D:/logstash-8.12.2-windows-x86_64/logstash-8.12.2/logstash-core/lib/logstash/plugins/registry.rb:342) ~[?:?]
        at RUBY.<main>(D:/logstash-8.12.2-windows-x86_64/logstash-8.12.2/logstash-core/lib/logstash/plugins/registry.rb:25) ~[?:?]
        at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1071) ~[jruby.jar:?]
        at RUBY.<main>(D:/logstash-8.12.2-windows-x86_64/logstash-8.12.2/logstash-core/lib/logstash/plugins.rb:18) ~[?:?]
        at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1071) ~[jruby.jar:?]
        at RUBY.<main>(D:/logstash-8.12.2-windows-x86_64/logstash-8.12.2/logstash-core/lib/logstash/runner.rb:48) ~[?:?]
        at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1071) ~[jruby.jar:?]
        at D_3a_.logstash_minus_8_dot_12_dot_2_minus_windows_minus_x86_64.logstash_minus_8_dot_12_dot_2.lib.bootstrap.environment.<main>(D:\logstash-8.12.2-windows-x86_64\logstash-8.12.2\lib\bootstrap\environment.rb:88) ~[?:?]
Caused by: java.lang.ExceptionInInitializerError
        at java.lang.Class.forName0(Native Method) ~[?:?]
        at java.lang.Class.forName(Class.java:467) ~[?:?]
        at org.jruby.javasupport.JavaSupport.loadJavaClass(JavaSupport.java:327) ~[jruby.jar:?]
        at org.jruby.javasupport.Java.loadJavaClass(Java.java:1033) ~[jruby.jar:?]
        at org.jruby.javasupport.Java.loadJavaClass(Java.java:1022) ~[jruby.jar:?]
        at org.jruby.javasupport.Java.getProxyClassOrNull(Java.java:1073) ~[jruby.jar:?]
        at org.jruby.javasupport.Java.getProxyOrPackageUnderPackage(Java.java:964) ~[jruby.jar:?]
        at org.jruby.javasupport.JavaPackage.method_missing(JavaPackage.java:253) ~[jruby.jar:?]
        at org.jruby.javasupport.JavaPackage$INVOKER$i$method_missing.call(JavaPackage$INVOKER$i$method_missing.gen) ~[jruby.jar:?]
        at org.jruby.runtime.Helpers$MethodMissingWrapper.call(Helpers.java:636) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:456) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:195) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:350) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:66) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:76) ~[jruby.jar:?]
        at org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:164) ~[jruby.jar:?]
        at org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:151) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:461) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:210) ~[jruby.jar:?]
        at org.jruby.RubyClass.newInstance(RubyClass.java:897) ~[jruby.jar:?]
        at org.jruby.RubyClass$INVOKER$i$newInstance.call(RubyClass$INVOKER$i$newInstance.gen) ~[jruby.jar:?]
        at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroOrNBlock.call(JavaMethod.java:333) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:456) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:195) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:350) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:66) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:76) ~[jruby.jar:?]
        at org.jruby.ir.instructions.DefineModuleInstr.INTERPRET_MODULE(DefineModuleInstr.java:80) ~[jruby.jar:?]
        at org.jruby.ir.instructions.DefineModuleInstr.interpret(DefineModuleInstr.java:68) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.StartupInterpreterEngine.processOtherOp(StartupInterpreterEngine.java:155) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:98) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.Interpreter.INTERPRET_ROOT(Interpreter.java:96) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.Interpreter.execute(Interpreter.java:81) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.Interpreter.execute(Interpreter.java:30) ~[jruby.jar:?]
        at org.jruby.ir.IRTranslator.execute(IRTranslator.java:42) ~[jruby.jar:?]
        at org.jruby.Ruby.runInterpreter(Ruby.java:1299) ~[jruby.jar:?]
        at org.jruby.Ruby.loadFile(Ruby.java:3031) ~[jruby.jar:?]
        at org.jruby.runtime.load.LibrarySearcher$ResourceLibrary.load(LibrarySearcher.java:925) ~[jruby.jar:?]
        at org.jruby.runtime.load.LibrarySearcher$FoundLibrary.load(LibrarySearcher.java:883) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.tryLoadingLibraryOrScript(LoadService.java:682) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.lambda$smartLoadInternal$0(LoadService.java:584) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService$RequireLocks.executeAndClearLock(LoadService.java:517) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService$RequireLocks.lock(LoadService.java:481) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService$RequireLocks.access$300(LoadService.java:436) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.smartLoadInternal(LoadService.java:570) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.require(LoadService.java:423) ~[jruby.jar:?]
        at org.jruby.RubyKernel.requireCommon(RubyKernel.java:1078) ~[jruby.jar:?]
        at org.jruby.RubyKernel.require(RubyKernel.java:1071) ~[jruby.jar:?]
        at org.jruby.RubyKernel$INVOKER$s$1$0$require.call(RubyKernel$INVOKER$s$1$0$require.gen) ~[jruby.jar:?]
        at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOneOrNBlock.call(JavaMethod.java:423) ~[jruby.jar:?]
        at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:93) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:466) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:244) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:318) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:66) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.Interpreter.INTERPRET_ROOT(Interpreter.java:96) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.Interpreter.execute(Interpreter.java:81) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.Interpreter.execute(Interpreter.java:30) ~[jruby.jar:?]
        at org.jruby.ir.IRTranslator.execute(IRTranslator.java:42) ~[jruby.jar:?]
        at org.jruby.Ruby.runInterpreter(Ruby.java:1299) ~[jruby.jar:?]
        at org.jruby.Ruby.loadFile(Ruby.java:3031) ~[jruby.jar:?]
        at org.jruby.runtime.load.LibrarySearcher$ResourceLibrary.load(LibrarySearcher.java:925) ~[jruby.jar:?]
        at org.jruby.runtime.load.LibrarySearcher$FoundLibrary.load(LibrarySearcher.java:883) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.tryLoadingLibraryOrScript(LoadService.java:682) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.lambda$smartLoadInternal$0(LoadService.java:584) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService$RequireLocks.executeAndClearLock(LoadService.java:517) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService$RequireLocks.lock(LoadService.java:481) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService$RequireLocks.access$300(LoadService.java:436) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.smartLoadInternal(LoadService.java:570) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.require(LoadService.java:423) ~[jruby.jar:?]
        at org.jruby.RubyKernel.requireCommon(RubyKernel.java:1078) ~[jruby.jar:?]
        at org.jruby.RubyKernel.require(RubyKernel.java:1071) ~[jruby.jar:?]
        at org.jruby.RubyKernel$INVOKER$s$1$0$require.call(RubyKernel$INVOKER$s$1$0$require.gen) ~[jruby.jar:?]
        at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOneOrNBlock.call(JavaMethod.java:423) ~[jruby.jar:?]
        at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:93) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:466) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:244) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:318) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:66) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.Interpreter.INTERPRET_ROOT(Interpreter.java:96) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.Interpreter.execute(Interpreter.java:81) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.Interpreter.execute(Interpreter.java:30) ~[jruby.jar:?]
        at org.jruby.ir.IRTranslator.execute(IRTranslator.java:42) ~[jruby.jar:?]
        at org.jruby.Ruby.runInterpreter(Ruby.java:1299) ~[jruby.jar:?]
        at org.jruby.Ruby.loadFile(Ruby.java:3031) ~[jruby.jar:?]
        at org.jruby.runtime.load.LibrarySearcher$ResourceLibrary.load(LibrarySearcher.java:925) ~[jruby.jar:?]
        at org.jruby.runtime.load.LibrarySearcher$FoundLibrary.load(LibrarySearcher.java:883) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.tryLoadingLibraryOrScript(LoadService.java:682) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.lambda$smartLoadInternal$0(LoadService.java:584) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService$RequireLocks.executeAndClearLock(LoadService.java:517) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService$RequireLocks.lock(LoadService.java:481) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService$RequireLocks.access$300(LoadService.java:436) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.smartLoadInternal(LoadService.java:570) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.require(LoadService.java:423) ~[jruby.jar:?]
        at org.jruby.RubyKernel.requireCommon(RubyKernel.java:1078) ~[jruby.jar:?]
        at org.jruby.RubyKernel.require(RubyKernel.java:1071) ~[jruby.jar:?]
        at org.jruby.RubyKernel$INVOKER$s$1$0$require.call(RubyKernel$INVOKER$s$1$0$require.gen) ~[jruby.jar:?]
        at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOneBlock.call(JavaMethod.java:662) ~[jruby.jar:?]
        at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:133) ~[jruby.jar:?]
        at org.jruby.ir.targets.indy.InvokeSite.performIndirectCall(InvokeSite.java:735) ~[jruby.jar:?]
        at org.jruby.ir.targets.indy.InvokeSite.invoke(InvokeSite.java:680) ~[jruby.jar:?]
        at D_3a_.logstash_minus_8_dot_12_dot_2_minus_windows_minus_x86_64.logstash_minus_8_dot_12_dot_2.lib.bootstrap.environment.RUBY$script(D:\logstash-8.12.2-windows-x86_64\logstash-8.12.2\lib\bootstrap\environment.rb:88) ~[?:?]
        at D_3a_.logstash_minus_8_dot_12_dot_2_minus_windows_minus_x86_64.logstash_minus_8_dot_12_dot_2.lib.bootstrap.environment.run(D:\logstash-8.12.2-windows-x86_64\logstash-8.12.2\lib\bootstrap\environment.rb) ~[?:?]
        at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:732) ~[?:?]
        at org.jruby.ir.Compiler$1.load(Compiler.java:114) ~[jruby.jar:?]
        at org.jruby.Ruby.runScript(Ruby.java:1286) ~[jruby.jar:?]
        at org.jruby.Ruby.runNormally(Ruby.java:1203) ~[jruby.jar:?]
        at org.jruby.Ruby.runNormally(Ruby.java:1185) ~[jruby.jar:?]
        at org.jruby.Ruby.runNormally(Ruby.java:1221) ~[jruby.jar:?]
        at org.jruby.Ruby.runFromMain(Ruby.java:999) ~[jruby.jar:?]
        at org.logstash.Logstash.run(Logstash.java:163) [logstash-core.jar:?]
        at org.logstash.Logstash.main(Logstash.java:73) [logstash-core.jar:?]
Caused by: java.lang.IllegalArgumentException: No enum constant org.logstash.plugins.PluginLookup.PluginType.─░NPUT
        at java.lang.Enum.valueOf(Enum.java:273) ~[?:?]
        at org.logstash.plugins.PluginLookup$PluginType.valueOf(PluginLookup.java:142) ~[logstash-core.jar:?]
        at org.logstash.plugins.AliasRegistry$YamlWithChecksum.convertYamlMapToObject(AliasRegistry.java:120) ~[logstash-core.jar:?]
        at org.logstash.plugins.AliasRegistry$YamlWithChecksum.decodeYaml(AliasRegistry.java:108) ~[logstash-core.jar:?]
        at org.logstash.plugins.AliasRegistry$AliasYamlLoader.loadAliasesDefinitionsFromInputStream(AliasRegistry.java:208) ~[logstash-core.jar:?]
        at org.logstash.plugins.AliasRegistry$AliasYamlLoader.loadAliasesDefinitions(AliasRegistry.java:194) ~[logstash-core.jar:?]
        at org.logstash.plugins.AliasRegistry.<init>(AliasRegistry.java:252) ~[logstash-core.jar:?]
        at org.logstash.plugins.AliasRegistry.<clinit>(AliasRegistry.java:242) ~[logstash-core.jar:?]
        at java.lang.Class.forName0(Native Method) ~[?:?]
        at java.lang.Class.forName(Class.java:467) ~[?:?]
        at org.jruby.javasupport.JavaSupport.loadJavaClass(JavaSupport.java:327) ~[jruby.jar:?]
        at org.jruby.javasupport.Java.loadJavaClass(Java.java:1033) ~[jruby.jar:?]
        at org.jruby.javasupport.Java.loadJavaClass(Java.java:1022) ~[jruby.jar:?]
        at org.jruby.javasupport.Java.getProxyClassOrNull(Java.java:1073) ~[jruby.jar:?]
        at org.jruby.javasupport.Java.getProxyOrPackageUnderPackage(Java.java:964) ~[jruby.jar:?]
        at org.jruby.javasupport.JavaPackage.method_missing(JavaPackage.java:253) ~[jruby.jar:?]
        at org.jruby.javasupport.JavaPackage$INVOKER$i$method_missing.call(JavaPackage$INVOKER$i$method_missing.gen) ~[jruby.jar:?]
        at org.jruby.runtime.Helpers$MethodMissingWrapper.call(Helpers.java:636) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:456) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:195) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:350) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:66) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:76) ~[jruby.jar:?]
        at org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:164) ~[jruby.jar:?]
        at org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:151) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:461) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:210) ~[jruby.jar:?]
        at org.jruby.RubyClass.newInstance(RubyClass.java:897) ~[jruby.jar:?]
        at org.jruby.RubyClass$INVOKER$i$newInstance.call(RubyClass$INVOKER$i$newInstance.gen) ~[jruby.jar:?]
        at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroOrNBlock.call(JavaMethod.java:333) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:456) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:195) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:350) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:66) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:76) ~[jruby.jar:?]
        at org.jruby.ir.instructions.DefineModuleInstr.INTERPRET_MODULE(DefineModuleInstr.java:80) ~[jruby.jar:?]
        at org.jruby.ir.instructions.DefineModuleInstr.interpret(DefineModuleInstr.java:68) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.StartupInterpreterEngine.processOtherOp(StartupInterpreterEngine.java:155) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:98) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.Interpreter.INTERPRET_ROOT(Interpreter.java:96) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.Interpreter.execute(Interpreter.java:81) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.Interpreter.execute(Interpreter.java:30) ~[jruby.jar:?]
        at org.jruby.ir.IRTranslator.execute(IRTranslator.java:42) ~[jruby.jar:?]
        at org.jruby.Ruby.runInterpreter(Ruby.java:1299) ~[jruby.jar:?]
        at org.jruby.Ruby.loadFile(Ruby.java:3031) ~[jruby.jar:?]
        at org.jruby.runtime.load.LibrarySearcher$ResourceLibrary.load(LibrarySearcher.java:925) ~[jruby.jar:?]
        at org.jruby.runtime.load.LibrarySearcher$FoundLibrary.load(LibrarySearcher.java:883) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.tryLoadingLibraryOrScript(LoadService.java:682) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.lambda$smartLoadInternal$0(LoadService.java:584) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService$RequireLocks.executeAndClearLock(LoadService.java:517) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService$RequireLocks.lock(LoadService.java:481) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService$RequireLocks.access$300(LoadService.java:436) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.smartLoadInternal(LoadService.java:570) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.require(LoadService.java:423) ~[jruby.jar:?]
        at org.jruby.RubyKernel.requireCommon(RubyKernel.java:1078) ~[jruby.jar:?]
        at org.jruby.RubyKernel.require(RubyKernel.java:1071) ~[jruby.jar:?]
        at org.jruby.RubyKernel$INVOKER$s$1$0$require.call(RubyKernel$INVOKER$s$1$0$require.gen) ~[jruby.jar:?]
        at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOneOrNBlock.call(JavaMethod.java:423) ~[jruby.jar:?]
        at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:93) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:466) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:244) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:318) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:66) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.Interpreter.INTERPRET_ROOT(Interpreter.java:96) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.Interpreter.execute(Interpreter.java:81) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.Interpreter.execute(Interpreter.java:30) ~[jruby.jar:?]
        at org.jruby.ir.IRTranslator.execute(IRTranslator.java:42) ~[jruby.jar:?]
        at org.jruby.Ruby.runInterpreter(Ruby.java:1299) ~[jruby.jar:?]
        at org.jruby.Ruby.loadFile(Ruby.java:3031) ~[jruby.jar:?]
        at org.jruby.runtime.load.LibrarySearcher$ResourceLibrary.load(LibrarySearcher.java:925) ~[jruby.jar:?]
        at org.jruby.runtime.load.LibrarySearcher$FoundLibrary.load(LibrarySearcher.java:883) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.tryLoadingLibraryOrScript(LoadService.java:682) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.lambda$smartLoadInternal$0(LoadService.java:584) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService$RequireLocks.executeAndClearLock(LoadService.java:517) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService$RequireLocks.lock(LoadService.java:481) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService$RequireLocks.access$300(LoadService.java:436) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.smartLoadInternal(LoadService.java:570) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.require(LoadService.java:423) ~[jruby.jar:?]
        at org.jruby.RubyKernel.requireCommon(RubyKernel.java:1078) ~[jruby.jar:?]
        at org.jruby.RubyKernel.require(RubyKernel.java:1071) ~[jruby.jar:?]
        at org.jruby.RubyKernel$INVOKER$s$1$0$require.call(RubyKernel$INVOKER$s$1$0$require.gen) ~[jruby.jar:?]
        at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOneOrNBlock.call(JavaMethod.java:423) ~[jruby.jar:?]
        at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:93) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:466) ~[jruby.jar:?]
        at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:244) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:318) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:66) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.Interpreter.INTERPRET_ROOT(Interpreter.java:96) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.Interpreter.execute(Interpreter.java:81) ~[jruby.jar:?]
        at org.jruby.ir.interpreter.Interpreter.execute(Interpreter.java:30) ~[jruby.jar:?]
        at org.jruby.ir.IRTranslator.execute(IRTranslator.java:42) ~[jruby.jar:?]
        at org.jruby.Ruby.runInterpreter(Ruby.java:1299) ~[jruby.jar:?]
        at org.jruby.Ruby.loadFile(Ruby.java:3031) ~[jruby.jar:?]
        at org.jruby.runtime.load.LibrarySearcher$ResourceLibrary.load(LibrarySearcher.java:925) ~[jruby.jar:?]
        at org.jruby.runtime.load.LibrarySearcher$FoundLibrary.load(LibrarySearcher.java:883) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.tryLoadingLibraryOrScript(LoadService.java:682) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.lambda$smartLoadInternal$0(LoadService.java:584) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService$RequireLocks.executeAndClearLock(LoadService.java:517) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService$RequireLocks.lock(LoadService.java:481) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService$RequireLocks.access$300(LoadService.java:436) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.smartLoadInternal(LoadService.java:570) ~[jruby.jar:?]
        at org.jruby.runtime.load.LoadService.require(LoadService.java:423) ~[jruby.jar:?]
        at org.jruby.RubyKernel.requireCommon(RubyKernel.java:1078) ~[jruby.jar:?]
        at org.jruby.RubyKernel.require(RubyKernel.java:1071) ~[jruby.jar:?]
        at org.jruby.RubyKernel$INVOKER$s$1$0$require.call(RubyKernel$INVOKER$s$1$0$require.gen) ~[jruby.jar:?]
        at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOneBlock.call(JavaMethod.java:662) ~[jruby.jar:?]
        at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:133) ~[jruby.jar:?]
        at org.jruby.ir.targets.indy.InvokeSite.performIndirectCall(InvokeSite.java:735) ~[jruby.jar:?]
        at org.jruby.ir.targets.indy.InvokeSite.invoke(InvokeSite.java:680) ~[jruby.jar:?]
        at D_3a_.logstash_minus_8_dot_12_dot_2_minus_windows_minus_x86_64.logstash_minus_8_dot_12_dot_2.lib.bootstrap.environment.RUBY$script(D:\logstash-8.12.2-windows-x86_64\logstash-8.12.2\lib\bootstrap\environment.rb:88) ~[?:?]
        at D_3a_.logstash_minus_8_dot_12_dot_2_minus_windows_minus_x86_64.logstash_minus_8_dot_12_dot_2.lib.bootstrap.environment.run(D:\logstash-8.12.2-windows-x86_64\logstash-8.12.2\lib\bootstrap\environment.rb) ~[?:?]
        at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:732) ~[?:?]
        at org.jruby.ir.Compiler$1.load(Compiler.java:114) ~[jruby.jar:?]
        at org.jruby.Ruby.runScript(Ruby.java:1286) ~[jruby.jar:?]
        at org.jruby.Ruby.runNormally(Ruby.java:1203) ~[jruby.jar:?]
        at org.jruby.Ruby.runNormally(Ruby.java:1185) ~[jruby.jar:?]
        at org.jruby.Ruby.runNormally(Ruby.java:1221) ~[jruby.jar:?]
        at org.jruby.Ruby.runFromMain(Ruby.java:999) ~[jruby.jar:?]
        at org.logstash.Logstash.run(Logstash.java:163) ~[logstash-core.jar:?]
        at org.logstash.Logstash.main(Logstash.java:73) ~[logstash-core.jar:?]

```

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [March 14, 2024, 10:41pm UTC](https://discuss.elastic.co/t/logstash-error-nameerror-cannot-initialize-java-class-org-logstash-plugins-aliasregistry-java-lang-exceptionininitializererror/355350/10 "2024-03-14T22:41:51Z")

</div>

> [@Abdulberk](#):
>
> consider configuring this pipeline on Elastic Cloud

That's not going to help.

Did you edit logstash.yml?

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [March 14, 2024, 11:25pm UTC](https://discuss.elastic.co/t/logstash-error-nameerror-cannot-initialize-java-class-org-logstash-plugins-aliasregistry-java-lang-exceptionininitializererror/355350/11 "2024-03-14T23:25:04Z")

</div>

> [@Abdulberk](#):
>
> ```auto
> Caused by: java.lang.IllegalArgumentException: No enum constant org.logstash.plugins.PluginLookup.PluginType.─░NPUT
> at java.lang.Enum.valueOf(Enum.java:273) ~[?:?]
> at org.logstash.plugins.PluginLookup$PluginType.valueOf(PluginLookup.java:142) ~[logstash-core.jar:?]
> at org.logstash.plugins.AliasRegistry$YamlWithChecksum.convertYamlMapToObject(AliasRegistry.java:120) ~[logstash-core.jar:?]
> at org.logstash.plugins.AliasRegistry$YamlWithChecksum.decodeYaml(AliasRegistry.java:108) ~[logstash-core.jar:?]
> at org.logstash.plugins.AliasRegistry$AliasYamlLoader.loadAliasesDefinitionsFromInputStream(AliasRegistry.java:208) ~[logstash-core.jar:?]
> at org.logstash.plugins.AliasRegistry$AliasYamlLoader.loadAliasesDefinitions(AliasRegistry.java:194) ~[logstash-core.jar:?]
> 
> ```

This is a strange error. The [PluginType is an enum](https://github.com/elastic/logstash/blob/92b20bc18418b9ec75f0b31b3a141c0fc420338f/logstash-core/src/main/java/org/logstash/plugins/PluginLookup.java#L145) with the values INPUT, FILTER, OUTPUT, CODEC. logstash is trying to load plugin\_aliases.yml [here](https://github.com/elastic/logstash/blob/92b20bc18418b9ec75f0b31b3a141c0fc420338f/logstash-core/src/main/java/org/logstash/plugins/AliasRegistry.java#L174). At the point where the exception occurs it has already validated the checksum on the YAML!

There is a plugin\_aliases.yml under lib/pluginmanager/ (this is not the file that logstash reads). Looking at the code it is conceivable it could get an exception if that "input:" line contained something else, but hard to see how the corrupted yml file could get into the classpath and pass the checksum.

```auto
#CHECKSUM: b96d7a619caa578ee6ce4fb71873f6beb97eff6b4e6529f3735708a9d06af11e
# DON'T EDIT THIS FILE, PLEASE REFER TO logstash-core/src/main/resources/org/logstash/plugins/AliasRegistry.yml
input:
  - alias: elastic_agent
    from: beats
    docs:
      - replace: ":plugin: beats"
        with: ":plugin: elastic_agent"
      - replace: ":plugin-uc: Beats"
        with: ":plugin-uc: Elastic Agent"
      - replace: ":plugin-singular: Beat"
        with: ":plugin-singular: Elastic Agent"

```

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [March 15, 2024, 12:56am UTC](https://discuss.elastic.co/t/logstash-error-nameerror-cannot-initialize-java-class-org-logstash-plugins-aliasregistry-java-lang-exceptionininitializererror/355350/12 "2024-03-15T00:56:46Z")

</div>

Ok So I just download Logstash  
Unzipped It  
Touched Nothing  
and it ran as expected

BUT I had to be very careful I actually had to unzip it twice as it hung up once... I did not notice that and when I tried to start I got a different bizarre error ....

So Perhaps cleanup ... download a new zip unzip and make sure it completes

```auto
PS C:\Users\stephenb\Downloads\logstash-8.12.2> .\bin\logstash.bat -f .\config\logstash-sample.conf

```

 ![Screenshot 2024-03-14 at 5.55.54 PM](https://us1.discourse-cdn.com/elastic/original/3X/0/c/0c13f8e73f5fb77ebe2c65a16740caf11195b28a.png)

---

<div class="post-metadata">

**Author:** ![Abdulberk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/abdulberk/32/132603_2.png) [@Abdulberk](https://discuss.elastic.co/u/Abdulberk)\
**Post date:** [March 15, 2024, 2:05pm UTC](https://discuss.elastic.co/t/logstash-error-nameerror-cannot-initialize-java-class-org-logstash-plugins-aliasregistry-java-lang-exceptionininitializererror/355350/13 "2024-03-15T14:05:54Z")

</div>

exceptionally strange.. i literally did whatever you did above in reply, downloading the zip again and only extract the folder inside so it will be accessible without going into another folder inside, even put it on C Drive this time.. I just screen recorded the steps I followed, excluding the download processes.

[https://vimeo.com/923748058?share=copy](https://vimeo.com/923748058?share=copy)

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [March 15, 2024, 3:49pm UTC](https://discuss.elastic.co/t/logstash-error-nameerror-cannot-initialize-java-class-org-logstash-plugins-aliasregistry-java-lang-exceptionininitializererror/355350/14 "2024-03-15T15:49:22Z")

</div>

Yup Exceptionally Strange...

But again are you sure you let it all the way unzip... mine turned out to take much longer than I thought ...

Can you check the number of files does it match what I showed above?

Otherwise not sure what to tell you...

---

<div class="post-metadata">

**Author:** ![Abdulberk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/abdulberk/32/132603_2.png) [@Abdulberk](https://discuss.elastic.co/u/Abdulberk)\
**Post date:** [March 16, 2024, 2:25pm UTC](https://discuss.elastic.co/t/logstash-error-nameerror-cannot-initialize-java-class-org-logstash-plugins-aliasregistry-java-lang-exceptionininitializererror/355350/15 "2024-03-16T14:25:46Z")

</div>

ok thanks anyway, and thanks to everyone who was trying to help me get out of the trouble. I think i will consider it in the future, as what i was exactly looking for was not really real-time data streaming utilizing logstash or something, since I just realized that Elastic Cloud has already integrations like PostgreSQL connector for "near real-time" streaming data from the source even if not real-time. Already established the connection between them and works like a charm now.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 13, 2024, 2:26pm UTC](https://discuss.elastic.co/t/logstash-error-nameerror-cannot-initialize-java-class-org-logstash-plugins-aliasregistry-java-lang-exceptionininitializererror/355350/16 "2024-04-13T14:26:06Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
