tabula-java
tabula-java copied to clipboard
Fails on Windows 10 Java 1.8.333
Here is the console output:
2022-05-29 17:39:01.851:INFO::main: Logging initialized @554ms
2022-05-29 17:39:01.851:INFO:oejr.Runner:main: Runner
2022-05-29 17:39:01.978:INFO:oejs.Server:main: jetty-9.2.9.v20150224
2022-05-29 17:39:07.353:WARN:oeja.AnnotationConfiguration:main: ServletContainerInitializers: detected. Class hierarchy: empty
INFO: jruby 9.1.15.0 (2.3.3) 2017-12-07 929fde8 Java HotSpot(TM) 64-Bit Server VM 25.331-b09 on 1.8.0_331-b09 +jit [mswin32-x86_64]
INFO: using a shared (threadsafe!) runtime
An exception happened during JRuby-Rack startup
No such file or directory - NUL
--- System
jruby 9.1.15.0 (2.3.3) 2017-12-07 929fde8 Java HotSpot(TM) 64-Bit Server VM 25.331-b09 on 1.8.0_331-b09 +jit [mswin32-x86_64]
Time: 2022-05-29 17:39:12 -0700
Server: jetty/9.2.9.v20150224
jruby.home: uri:classloader://META-INF/jruby.home
--- Context Init Parameters:
jruby.compat.version = 1.9
jruby.rack.logging = stderr
public.root = /
rack.env = production
--- Backtrace
Errno::ENOENT: No such file or directory - NUL
initialize at org/jruby/RubyFile.java:366
open at org/jruby/RubyIO.java:1154
initialize at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/user_interaction.rb:681
initialize at C:/Users/jp/AppData/Local/Temp/jetty-0.0.0.0-8080-tabula.jar-_-any-2397925648670912631.dir/webapp/WEB-INF/gems/gems/bundler-1.16.1/lib/bundler/ui/rg_proxy.rb:11
ui= at C:/Users/jp/AppData/Local/Temp/jetty-0.0.0.0-8080-tabula.jar-_-any-2397925648670912631.dir/webapp/WEB-INF/gems/gems/bundler-1.16.1/lib/bundler.rb:74
ui at C:/Users/jp/AppData/Local/Temp/jetty-0.0.0.0-8080-tabula.jar-_-any-2397925648670912631.dir/webapp/WEB-INF/gems/gems/bundler-1.16.1/lib/bundler.rb:70
resolve at C:/Users/jp/AppData/Local/Temp/jetty-0.0.0.0-8080-tabula.jar-_-any-2397925648670912631.dir/webapp/WEB-INF/gems/gems/bundler-1.16.1/lib/bundler/definition.rb:252
specs at C:/Users/jp/AppData/Local/Temp/jetty-0.0.0.0-8080-tabula.jar-_-any-2397925648670912631.dir/webapp/WEB-INF/gems/gems/bundler-1.16.1/lib/bundler/definition.rb:170
specs_for at C:/Users/jp/AppData/Local/Temp/jetty-0.0.0.0-8080-tabula.jar-_-any-2397925648670912631.dir/webapp/WEB-INF/gems/gems/bundler-1.16.1/lib/bundler/definition.rb:237
requested_specs at C:/Users/jp/AppData/Local/Temp/jetty-0.0.0.0-8080-tabula.jar-_-any-2397925648670912631.dir/webapp/WEB-INF/gems/gems/bundler-1.16.1/lib/bundler/definition.rb:226
block in requested_specs at C:/Users/jp/AppData/Local/Temp/jetty-0.0.0.0-8080-tabula.jar-_-any-2397925648670912631.dir/webapp/WEB-INF/gems/gems/bundler-1.16.1/lib/bundler/runtime.rb:108
setup at C:/Users/jp/AppData/Local/Temp/jetty-0.0.0.0-8080-tabula.jar-_-any-2397925648670912631.dir/webapp/WEB-INF/gems/gems/bundler-1.16.1/lib/bundler/runtime.rb:20
setup at C:/Users/jp/AppData/Local/Temp/jetty-0.0.0.0-8080-tabula.jar-_-any-2397925648670912631.dir/webapp/WEB-INF/gems/gems/bundler-1.16.1/lib/bundler.rb:107
require at C:/Users/jp/AppData/Local/Temp/jetty-0.0.0.0-8080-tabula.jar-_-any-2397925648670912631.dir/webapp/WEB-INF/gems/gems/bundler-1.16.1/lib/bundler.rb:114
block in (root) at C:\Users\jp\AppData\Local\Temp\jetty-0.0.0.0-8080-tabula.jar-_-any-2397925648670912631.dir\webapp\WEB-INF\config.ru:4
instance_eval at org/jruby/RubyBasicObject.java:1691
initialize at C:/Users/jp/AppData/Local/Temp/jetty-0.0.0.0-8080-tabula.jar-_-any-2397925648670912631.dir/webapp/WEB-INF/gems/gems/rack-2.0.4/lib/rack/builder.rb:55
<main> at C:\Users\jp\AppData\Local\Temp\jetty-0.0.0.0-8080-tabula.jar-_-any-2397925648670912631.dir\webapp\WEB-INF\config.ru:1
--- RubyGems
Gem.dir: C:/Users/jp/AppData/Local/Temp/jetty-0.0.0.0-8080-tabula.jar-_-any-2397925648670912631.dir/webapp/WEB-INF/gems
Gem.path:
C:/Users/jp/AppData/Local/Temp/jetty-0.0.0.0-8080-tabula.jar-_-any-2397925648670912631.dir/webapp/WEB-INF/gems
Activated gems:
did_you_mean-1.0.1
bundler-1.16.1
rack-2.0.4
--- Bundler
Bundler.bundle_path: C:/Users/jp/AppData/Local/Temp/jetty-0.0.0.0-8080-tabula.jar-_-any-2397925648670912631.dir/webapp/WEB-INF/gems
Bundler.root: C:/Users/jp/AppData/Local/Temp/jetty-0.0.0.0-8080-tabula.jar-_-any-2397925648670912631.dir/webapp/WEB-INF
Gemfile: C:/Users/jp/AppData/Local/Temp/jetty-0.0.0.0-8080-tabula.jar-_-any-2397925648670912631.dir/webapp/WEB-INF/Gemfile
Settings:
gemfile = C:\Users\jp\AppData\Local\Temp\jetty-0.0.0.0-8080-tabula.jar-_-any-2397925648670912631.dir\webapp\WEB-INF\Gemfile
without = [:development, :test, :assets]
--- JRuby-Rack Config
compat_version = RUBY1_9
default_logger = org.jruby.rack.logging.StandardOutLogger@7e94e331
equals = <error: >
err = java.io.PrintStream@60b616c8
filter_adds_html = true
filter_verifies_resource = false
ignore_environment = false
initial_memory_buffer_size =
initial_runtimes =
jms_connection_factory =
jms_jndi_properties =
logger = org.jruby.rack.logging.OutputStreamLogger@3962ec84
logger_class_name = stderr
logger_name = jruby.rack
maximum_memory_buffer_size =
maximum_runtimes =
num_initializer_threads =
out = java.io.PrintStream@2bdab835
rackup =
rackup_path =
rewindable = true
runtime_arguments =
runtime_environment =
runtime_timeout_seconds =
serial_initialization = false
servlet_context = [email protected]@77afea7d{/,file:/C:/Users/jp/AppData/Local/Temp/jetty-0.0.0.0-8080-tabula.jar-_-any-2397925648670912631.dir/webapp/,STARTING}{file:/C:/Users/jp/Downloads/tabula-win-1.2.1/tabula/tabula.jar}
throw_init_exception = false
ERROR: initialization failed
org.jruby.rack.RackInitializationException: No such file or directory - NUL
from org/jruby/RubyFile.java:366:in `initialize'
from org/jruby/RubyIO.java:1154:in `open'
from uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/user_interaction.rb:681:in `initialize'
from C:/Users/jp/AppData/Local/Temp/jetty-0.0.0.0-8080-tabula.jar-_-any-2397925648670912631.dir/webapp/WEB-INF/gems/gems/bundler-1.16.1/lib/bundler/ui/rg_proxy.rb:11:in `initialize'
from C:/Users/jp/AppData/Local/Temp/jetty-0.0.0.0-8080-tabula.jar-_-any-2397925648670912631.dir/webapp/WEB-INF/gems/gems/bundler-1.16.1/lib/bundler.rb:74:in `ui='
from C:/Users/jp/AppData/Local/Temp/jetty-0.0.0.0-8080-tabula.jar-_-any-2397925648670912631.dir/webapp/WEB-INF/gems/gems/bundler-1.16.1/lib/bundler.rb:70:in `ui'
from C:/Users/jp/AppData/Local/Temp/jetty-0.0.0.0-8080-tabula.jar-_-any-2397925648670912631.dir/webapp/WEB-INF/gems/gems/bundler-1.16.1/lib/bundler/definition.rb:252:in `resolve'
from C:/Users/jp/AppData/Local/Temp/jetty-0.0.0.0-8080-tabula.jar-_-any-2397925648670912631.dir/webapp/WEB-INF/gems/gems/bundler-1.16.1/lib/bundler/definition.rb:170:in `specs'
from C:/Users/jp/AppData/Local/Temp/jetty-0.0.0.0-8080-tabula.jar-_-any-2397925648670912631.dir/webapp/WEB-INF/gems/gems/bundler-1.16.1/lib/bundler/definition.rb:237:in `specs_for'
from C:/Users/jp/AppData/Local/Temp/jetty-0.0.0.0-8080-tabula.jar-_-any-2397925648670912631.dir/webapp/WEB-INF/gems/gems/bundler-1.16.1/lib/bundler/definition.rb:226:in `requested_specs'
from C:/Users/jp/AppData/Local/Temp/jetty-0.0.0.0-8080-tabula.jar-_-any-2397925648670912631.dir/webapp/WEB-INF/gems/gems/bundler-1.16.1/lib/bundler/runtime.rb:108:in `block in requested_specs'
from C:/Users/jp/AppData/Local/Temp/jetty-0.0.0.0-8080-tabula.jar-_-any-2397925648670912631.dir/webapp/WEB-INF/gems/gems/bundler-1.16.1/lib/bundler/runtime.rb:20:in `setup'
from C:/Users/jp/AppData/Local/Temp/jetty-0.0.0.0-8080-tabula.jar-_-any-2397925648670912631.dir/webapp/WEB-INF/gems/gems/bundler-1.16.1/lib/bundler.rb:107:in `setup'
from C:/Users/jp/AppData/Local/Temp/jetty-0.0.0.0-8080-tabula.jar-_-any-2397925648670912631.dir/webapp/WEB-INF/gems/gems/bundler-1.16.1/lib/bundler.rb:114:in `require'
from C:\Users\jp\AppData\Local\Temp\jetty-0.0.0.0-8080-tabula.jar-_-any-2397925648670912631.dir\webapp\WEB-INF\config.ru:4:in `block in (root)'
from org/jruby/RubyBasicObject.java:1691:in `instance_eval'
from C:/Users/jp/AppData/Local/Temp/jetty-0.0.0.0-8080-tabula.jar-_-any-2397925648670912631.dir/webapp/WEB-INF/gems/gems/rack-2.0.4/lib/rack/builder.rb:55:in `initialize'
from C:\Users\jp\AppData\Local\Temp\jetty-0.0.0.0-8080-tabula.jar-_-any-2397925648670912631.dir\webapp\WEB-INF\config.ru:1:in `<main>'
at org.jruby.rack.RackInitializationException.wrap(RackInitializationException.java:29)
at org.jruby.rack.RackApplicationFactoryDecorator.init(RackApplicationFactoryDecorator.java:104)
at org.jruby.rack.RackServletContextListener.contextInitialized(RackServletContextListener.java:50)
at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:800)
at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:444)
at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:791)
at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:294)
at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1349)
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1342)
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:741)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:505)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:163)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
at org.eclipse.jetty.server.Server.start(Server.java:387)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
at org.eclipse.jetty.server.Server.doStart(Server.java:354)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.runner.Runner.run(Runner.java:509)
at org.eclipse.jetty.runner.Runner.main(Runner.java:557)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at WarMain.launchWebServer(WarMain.java:187)
at WarMain.start(WarMain.java:345)
at JarMain.doStart(JarMain.java:233)
at WarMain.main(WarMain.java:367)
Caused by: org.jruby.exceptions.RaiseException: (ENOENT) No such file or directory - NUL
at org.jruby.RubyFile.initialize(org/jruby/RubyFile.java:366)
at org.jruby.RubyIO.open(org/jruby/RubyIO.java:1154)
at RUBY.initialize(uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/user_interaction.rb:681)
at RUBY.initialize(C:/Users/jp/AppData/Local/Temp/jetty-0.0.0.0-8080-tabula.jar-_-any-2397925648670912631.dir/webapp/WEB-INF/gems/gems/bundler-1.16.1/lib/bundler/ui/rg_proxy.rb:11)
at RUBY.ui=(C:/Users/jp/AppData/Local/Temp/jetty-0.0.0.0-8080-tabula.jar-_-any-2397925648670912631.dir/webapp/WEB-INF/gems/gems/bundler-1.16.1/lib/bundler.rb:74)
at RUBY.ui(C:/Users/jp/AppData/Local/Temp/jetty-0.0.0.0-8080-tabula.jar-_-any-2397925648670912631.dir/webapp/WEB-INF/gems/gems/bundler-1.16.1/lib/bundler.rb:70)
at RUBY.resolve(C:/Users/jp/AppData/Local/Temp/jetty-0.0.0.0-8080-tabula.jar-_-any-2397925648670912631.dir/webapp/WEB-INF/gems/gems/bundler-1.16.1/lib/bundler/definition.rb:252)
at RUBY.specs(C:/Users/jp/AppData/Local/Temp/jetty-0.0.0.0-8080-tabula.jar-_-any-2397925648670912631.dir/webapp/WEB-INF/gems/gems/bundler-1.16.1/lib/bundler/definition.rb:170)
at RUBY.specs_for(C:/Users/jp/AppData/Local/Temp/jetty-0.0.0.0-8080-tabula.jar-_-any-2397925648670912631.dir/webapp/WEB-INF/gems/gems/bundler-1.16.1/lib/bundler/definition.rb:237)
at RUBY.requested_specs(C:/Users/jp/AppData/Local/Temp/jetty-0.0.0.0-8080-tabula.jar-_-any-2397925648670912631.dir/webapp/WEB-INF/gems/gems/bundler-1.16.1/lib/bundler/definition.rb:226)
at RUBY.block in requested_specs(C:/Users/jp/AppData/Local/Temp/jetty-0.0.0.0-8080-tabula.jar-_-any-2397925648670912631.dir/webapp/WEB-INF/gems/gems/bundler-1.16.1/lib/bundler/runtime.rb:108)
at RUBY.setup(C:/Users/jp/AppData/Local/Temp/jetty-0.0.0.0-8080-tabula.jar-_-any-2397925648670912631.dir/webapp/WEB-INF/gems/gems/bundler-1.16.1/lib/bundler/runtime.rb:20)
at RUBY.setup(C:/Users/jp/AppData/Local/Temp/jetty-0.0.0.0-8080-tabula.jar-_-any-2397925648670912631.dir/webapp/WEB-INF/gems/gems/bundler-1.16.1/lib/bundler.rb:107)
at RUBY.require(C:/Users/jp/AppData/Local/Temp/jetty-0.0.0.0-8080-tabula.jar-_-any-2397925648670912631.dir/webapp/WEB-INF/gems/gems/bundler-1.16.1/lib/bundler.rb:114)
at RUBY.block in (root)(C:\Users\jp\AppData\Local\Temp\jetty-0.0.0.0-8080-tabula.jar-_-any-2397925648670912631.dir\webapp\WEB-INF\config.ru:4)
at org.jruby.RubyBasicObject.instance_eval(org/jruby/RubyBasicObject.java:1691)
at RUBY.initialize(C:/Users/jp/AppData/Local/Temp/jetty-0.0.0.0-8080-tabula.jar-_-any-2397925648670912631.dir/webapp/WEB-INF/gems/gems/rack-2.0.4/lib/rack/builder.rb:55)
at RUBY.<main>(C:\Users\jp\AppData\Local\Temp\jetty-0.0.0.0-8080-tabula.jar-_-any-2397925648670912631.dir\webapp\WEB-INF\config.ru:1)
2022-05-29 17:40:18.958:INFO:oejsh.ContextHandler:main: Started o.e.j.w.WebAppContext@77afea7d{/,file:/C:/Users/jp/AppData/Local/Temp/jetty-0.0.0.0-8080-tabula.jar-_-any-2397925648670912631.dir/webapp/,AVAILABLE}{file:/C:/Users/jp/Downloads/tabula-win-1.2.1/tabula/tabula.jar}
2022-05-29 17:40:18.958:WARN:oejsh.RequestLogHandler:main: !RequestLog
2022-05-29 17:40:18.988:INFO:oejs.ServerConnector:main: Started ServerConnector@305b43ca{HTTP/1.1}{0.0.0.0:8080}
2022-05-29 17:40:18.988:INFO:oejs.Server:main: Started @77700ms
DEBUG: due a previous initialization failure application instance can not be returned
DEBUG: resetting rack response due exception
DEBUG: due a previous initialization failure application instance can not be returned
DEBUG: resetting rack response due exception
And the web app log:
No such file or directory - NUL from org/jruby/RubyFile.java:366:in `initialize' from org/jruby/RubyIO.java:1154:in `open' from uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/user_interaction.rb:681:in `initialize' from C:/Users/jp/AppData/Local/Temp/jetty-0.0.0.0-8080-tabula.jar-_-any-2397925648670912631.dir/webapp/WEB-INF/gems/gems/bundler-1.16.1/lib/bundler/ui/rg_proxy.rb:11:in `initialize' from C:/Users/jp/AppData/Local/Temp/jetty-0.0.0.0-8080-tabula.jar-_-any-2397925648670912631.dir/webapp/WEB-INF/gems/gems/bundler-1.16.1/lib/bundler.rb:74:in `ui=' from C:/Users/jp/AppData/Local/Temp/jetty-0.0.0.0-8080-tabula.jar-_-any-2397925648670912631.dir/webapp/WEB-INF/gems/gems/bundler-1.16.1/lib/bundler.rb:70:in `ui' from C:/Users/jp/AppData/Local/Temp/jetty-0.0.0.0-8080-tabula.jar-_-any-2397925648670912631.dir/webapp/WEB-INF/gems/gems/bundler-1.16.1/lib/bundler/definition.rb:252:in `resolve' from C:/Users/jp/AppData/Local/Temp/jetty-0.0.0.0-8080-tabula.jar-_-any-2397925648670912631.dir/webapp/WEB-INF/gems/gems/bundler-1.16.1/lib/bundler/definition.rb:170:in `specs' from C:/Users/jp/AppData/Local/Temp/jetty-0.0.0.0-8080-tabula.jar-_-any-2397925648670912631.dir/webapp/WEB-INF/gems/gems/bundler-1.16.1/lib/bundler/definition.rb:237:in `specs_for' from C:/Users/jp/AppData/Local/Temp/jetty-0.0.0.0-8080-tabula.jar-_-any-2397925648670912631.dir/webapp/WEB-INF/gems/gems/bundler-1.16.1/lib/bundler/definition.rb:226:in `requested_specs' from C:/Users/jp/AppData/Local/Temp/jetty-0.0.0.0-8080-tabula.jar-_-any-2397925648670912631.dir/webapp/WEB-INF/gems/gems/bundler-1.16.1/lib/bundler/runtime.rb:108:in `block in requested_specs' from C:/Users/jp/AppData/Local/Temp/jetty-0.0.0.0-8080-tabula.jar-_-any-2397925648670912631.dir/webapp/WEB-INF/gems/gems/bundler-1.16.1/lib/bundler/runtime.rb:20:in `setup' from C:/Users/jp/AppData/Local/Temp/jetty-0.0.0.0-8080-tabula.jar-_-any-2397925648670912631.dir/webapp/WEB-INF/gems/gems/bundler-1.16.1/lib/bundler.rb:107:in `setup' from C:/Users/jp/AppData/Local/Temp/jetty-0.0.0.0-8080-tabula.jar-_-any-2397925648670912631.dir/webapp/WEB-INF/gems/gems/bundler-1.16.1/lib/bundler.rb:114:in `require' from C:\Users\jp\AppData\Local\Temp\jetty-0.0.0.0-8080-tabula.jar-_-any-2397925648670912631.dir\webapp\WEB-INF\config.ru:4:in `block in (root)' from org/jruby/RubyBasicObject.java:1691:in `instance_eval' from C:/Users/jp/AppData/Local/Temp/jetty-0.0.0.0-8080-tabula.jar-_-any-2397925648670912631.dir/webapp/WEB-INF/gems/gems/rack-2.0.4/lib/rack/builder.rb:55:in `initialize' from C:\Users\jp\AppData\Local\Temp\jetty-0.0.0.0-8080-tabula.jar-_-any-2397925648670912631.dir\webapp\WEB-INF\config.ru:1:in `<main>'