Skip to content

Issue in catalog upload in Kaui 3.0.10 #418

@reshmabidikar

Description

@reshmabidikar

Catalog upload fails with Kaui 3.0.10.

Steps to reproduce:'

  1. Log in to Kaui
  2. Click on the x button in the Catalog Show tab to delete any existing catalog
  3. Click on the + sign in the Catalog Show tab
  4. Click on the Enable Advanced Configuration(Upload XML) link
  5. Click on Choose file and select a valid XML catalog
  6. Click on the Upload button.

Upload fails. The following error is displayed in the logs:

2024-11-15T04:27:11,745+0000 lvl='ERROR', log='rack', th='http-nio-9090-exec-3', xff='', rId='', tok='', aRId='', tRId='', error app failed to handle exception: java.lang.invoke.WrongMethodTypeException: expected (RubyString,ByteList,int)int but found (ByteList,int)int
org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `bytesize' for Rack::Utils:Module
	at RUBY.call(uri:classloader:/jruby/rack/error_app/show_status.rb:30)
	at org.jruby.rack.ext.Servlet.call(org/jruby/rack/ext/Servlet.java:86)
2024-11-15T04:27:11,745+0000 lvl='ERROR', log='rack', th='http-nio-9090-exec-3', xff='', rId='', tok='', aRId='', tRId='', error app failed to handle exception: java.lang.invoke.WrongMethodTypeException: expected (RubyString,ByteList,int)int but found (ByteList,int)int
org.jruby.exceptions.NoMethodError: (NoMethodError) undefined method `bytesize' for Rack::Utils:Module
	at RUBY.call(uri:classloader:/jruby/rack/error_app/show_status.rb:30)
	at org.jruby.rack.ext.Servlet.call(org/jruby/rack/ext/Servlet.java:86)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions