{"action":"created","issue":{"url":"https://api.github.com/repos/jruby/jruby/issues/3496","labels_url":"https://api.github.com/repos/jruby/jruby/issues/3496/labels{/name}","comments_url":"https://api.github.com/repos/jruby/jruby/issues/3496/comments","events_url":"https://api.github.com/repos/jruby/jruby/issues/3496/events","html_url":"https://github.com/jruby/jruby/issues/3496","id":118843582,"number":3496,"title":"asciidoctorj-pdf does not work with JRuby 1.7.23","user":{"login":"robertpanzer","id":1163662,"avatar_url":"https://avatars.githubusercontent.com/u/1163662?v=3","gravatar_id":"","url":"https://api.github.com/users/robertpanzer","html_url":"https://github.com/robertpanzer","followers_url":"https://api.github.com/users/robertpanzer/followers","following_url":"https://api.github.com/users/robertpanzer/following{/other_user}","gists_url":"https://api.github.com/users/robertpanzer/gists{/gist_id}","starred_url":"https://api.github.com/users/robertpanzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robertpanzer/subscriptions","organizations_url":"https://api.github.com/users/robertpanzer/orgs","repos_url":"https://api.github.com/users/robertpanzer/repos","events_url":"https://api.github.com/users/robertpanzer/events{/privacy}","received_events_url":"https://api.github.com/users/robertpanzer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jruby/jruby/labels/core","name":"core","color":"02e10c"},{"url":"https://api.github.com/repos/jruby/jruby/labels/JRuby%201.7.x","name":"JRuby 1.7.x","color":"eb6420"},{"url":"https://api.github.com/repos/jruby/jruby/labels/JRuby%209000","name":"JRuby 9000","color":"bfe5bf"},{"url":"https://api.github.com/repos/jruby/jruby/labels/windows","name":"windows","color":"0b02e1"}],"state":"closed","locked":false,"assignee":{"login":"mkristian","id":35058,"avatar_url":"https://avatars.githubusercontent.com/u/35058?v=3","gravatar_id":"","url":"https://api.github.com/users/mkristian","html_url":"https://github.com/mkristian","followers_url":"https://api.github.com/users/mkristian/followers","following_url":"https://api.github.com/users/mkristian/following{/other_user}","gists_url":"https://api.github.com/users/mkristian/gists{/gist_id}","starred_url":"https://api.github.com/users/mkristian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkristian/subscriptions","organizations_url":"https://api.github.com/users/mkristian/orgs","repos_url":"https://api.github.com/users/mkristian/repos","events_url":"https://api.github.com/users/mkristian/events{/privacy}","received_events_url":"https://api.github.com/users/mkristian/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/jruby/jruby/milestones/42","html_url":"https://github.com/jruby/jruby/milestones/JRuby%201.7.24","labels_url":"https://api.github.com/repos/jruby/jruby/milestones/42/labels","id":1265021,"number":42,"title":"JRuby 1.7.24","description":"","creator":{"login":"enebo","id":19819,"avatar_url":"https://avatars.githubusercontent.com/u/19819?v=3","gravatar_id":"","url":"https://api.github.com/users/enebo","html_url":"https://github.com/enebo","followers_url":"https://api.github.com/users/enebo/followers","following_url":"https://api.github.com/users/enebo/following{/other_user}","gists_url":"https://api.github.com/users/enebo/gists{/gist_id}","starred_url":"https://api.github.com/users/enebo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enebo/subscriptions","organizations_url":"https://api.github.com/users/enebo/orgs","repos_url":"https://api.github.com/users/enebo/repos","events_url":"https://api.github.com/users/enebo/events{/privacy}","received_events_url":"https://api.github.com/users/enebo/received_events","type":"User","site_admin":false},"open_issues":16,"closed_issues":9,"state":"open","created_at":"2015-08-20T18:15:35Z","updated_at":"2016-01-13T16:34:56Z","due_on":null,"closed_at":null},"comments":11,"created_at":"2015-11-25T14:09:00Z","updated_at":"2016-01-13T21:14:05Z","closed_at":"2016-01-13T16:34:56Z","body":"When rendering a document with asciidoctorj-pdf on Win7 rendering fails in the Addressable gem where a file is opened that is part of the gem and therefore packaged in a jar.\r\n\r\nThe error can be reproduced easily with this gradle build file running `gradle runTest`:\r\n```groovy\r\nrepositories {\r\n\tjcenter()\r\n}\r\n\r\nconfigurations {\r\n\trun\r\n}\r\n\r\ndependencies {\r\n\trun 'org.asciidoctor:asciidoctorj:1.5.3.2'\r\n\trun 'org.asciidoctor:asciidoctorj-pdf:1.5.0-alpha.10'\r\n\trun 'org.asciidoctor:asciidoctorj-diagram:1.3.1'\r\n\trun 'org.jruby:jruby-complete:1.7.23'\r\n}\r\n\r\ntask createTestDoc << {\r\n\tnew File('test.adoc').text = '''= Test document\r\n\r\nTest''' \r\n}\r\n\r\ntask runTest(type: JavaExec, dependsOn: createTestDoc) {\r\n\tclasspath = configurations.run\r\n\tmain = 'org.asciidoctor.cli.AsciidoctorInvoker'\r\n\targs '-r', 'asciidoctor-diagram', '-b', 'pdf', 'test.adoc'\r\n}\r\n```\r\n\r\nSetting the jruby version to 1.7.21 makes the build pass.\r\n\r\nThe error I see is:\r\n```\r\norg.jruby.exceptions.RaiseException: (Errno::ENOENT) C:/Users/robert.panzer/.gradle/caches/modules-2/files-2.1/org.asciidoctor/asciidoctorj-pdf/1.5.0-alpha.10/3ba8b2d410fba94473c3550f187c345980e16093/asciidoctorj-pdf-1.5.0-alpha.10.jar!C:/gems/addressable-2.3.8/data/unicode.data\r\n        at org.jruby.RubyFile.initialize(org/jruby/RubyFile.java:370)\r\n        at org.jruby.RubyIO.open(org/jruby/RubyIO.java:1179)\r\n        at RUBY.IDNA(C:/Users/robert.panzer/.gradle/caches/modules-2/files-2.1/org.asciidoctor/asciidoctorj-pdf/1.5.0-alpha.10/3ba8b2d410fba94473c3550f187c345980e16093/asciidoctorj-pdf-1.5.0-alpha.10.jar!/gems/addressable-2.3.8/lib/addressable/idna/pure.rb:331)\r\n        at RUBY.Addressable(C:/Users/robert.panzer/.gradle/caches/modules-2/files-2.1/org.asciidoctor/asciidoctorj-pdf/1.5.0-alpha.10/3ba8b2d410fba94473c3550f187c345980e16093/asciidoctorj-pdf-1.5.0-alpha.10.jar!/gems/addressable-2.3.8/lib/addressable/idna/pure.rb:20)\r\n        at RUBY.(root)(C:/Users/robert.panzer/.gradle/caches/modules-2/files-2.1/org.asciidoctor/asciidoctorj-pdf/1.5.0-alpha.10/3ba8b2d410fba94473c3550f187c345980e16093/asciidoctorj-pdf-1.5.0-alpha.10.jar!/gems/addressable-2.3.8/lib/addressable/idna/pure.rb:19)\r\n        at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1040)\r\n        at RUBY.(root)(/C:/Users/robert.panzer/.gradle/caches/modules-2/files-2.1/org.jruby/jruby-complete/1.7.23/98150edb47ccc36917c1ef475d694b91a3356245/jruby-complete-1.7.23.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1)\r\n        at RUBY.require(/C:/Users/robert.panzer/.gradle/caches/modules-2/files-2.1/org.jruby/jruby-complete/1.7.23/98150edb47ccc36917c1ef475d694b91a3356245/jruby-complete-1.7.23.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:54)\r\n        at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1040)\r\n        at RUBY.(root)(C:/Users/robert.panzer/.gradle/caches/modules-2/files-2.1/org.asciidoctor/asciidoctorj-pdf/1.5.0-alpha.10/3ba8b2d410fba94473c3550f187c345980e16093/asciidoctorj-pdf-1.5.0-alpha.10.jar!/gems/addressable-2.3.8/lib/addressable/idna.rb:24)\r\n        at RUBY.(root)(/C:/Users/robert.panzer/.gradle/caches/modules-2/files-2.1/org.jruby/jruby-complete/1.7.23/98150edb47ccc36917c1ef475d694b91a3356245/jruby-complete-1.7.23.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1)\r\n        at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1040)\r\n        at RUBY.require(/C:/Users/robert.panzer/.gradle/caches/modules-2/files-2.1/org.jruby/jruby-complete/1.7.23/98150edb47ccc36917c1ef475d694b91a3356245/jruby-complete-1.7.23.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:54)\r\n        at RUBY.(root)(C:/Users/robert.panzer/.gradle/caches/modules-2/files-2.1/org.asciidoctor/asciidoctorj-pdf/1.5.0-alpha.10/3ba8b2d410fba94473c3550f187c345980e16093/asciidoctorj-pdf-1.5.0-alpha.10.jar!/gems/addressable-2.3.8/lib/addressable/uri.rb:20)\r\n        at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1040)\r\n        at RUBY.(root)(/C:/Users/robert.panzer/.gradle/caches/modules-2/files-2.1/org.jruby/jruby-complete/1.7.23/98150edb47ccc36917c1ef475d694b91a3356245/jruby-complete-1.7.23.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1)\r\n        at RUBY.require(/C:/Users/robert.panzer/.gradle/caches/modules-2/files-2.1/org.jruby/jruby-complete/1.7.23/98150edb47ccc36917c1ef475d694b91a3356245/jruby-complete-1.7.23.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:54)\r\n        at RUBY.(root)(C:/Users/robert.panzer/.gradle/caches/modules-2/files-2.1/org.asciidoctor/asciidoctorj-pdf/1.5.0-alpha.10/3ba8b2d410fba94473c3550f187c345980e16093/asciidoctorj-pdf-1.5.0-alpha.10.jar!/gems/css_parser-1.3.7/lib/css_parser.rb:1)\r\n        at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1040)\r\n        at RUBY.(root)(/C:/obert.panzer/.gradle/caches/modules-2/files-2.1/org.jruby/jruby-complete/1.7.23/98150edb47ccc36917c1ef475d694b91a3356245/jruby-complete-1.7.23.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1)\r\n        at RUBY.require(/C:/Users/robert.panzer/.gradle/caches/modules-2/files-2.1/org.jruby/jruby-complete/1.7.23/98150edb47ccc36917c1ef475d694b91a3356245/jruby-complete-1.7.23.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:54)\r\n        at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1040)\r\n        at RUBY.Document(C:/Users/robert.panzer/.gradle/caches/modules-2/files-2.1/org.asciidoctor/asciidoctorj-pdf/1.5.0-alpha.10/3ba8b2d410fba94473c3550f187c345980e16093/asciidoctorj-pdf-1.5.0-alpha.10.jar!/gems/prawn-svg-0.21.0/lib/prawn/svg/document.rb:3)\r\n        at RUBY.(root)(C:/Users/robert.panzer/.gradle/caches/modules-2/files-2.1/org.asciidoctor/asciidoctorj-pdf/1.5.0-alpha.10/3ba8b2d410fba94473c3550f187c345980e16093/asciidoctorj-pdf-1.5.0-alpha.10.jar!/gems/prawn-svg-0.21.0/lib/prawn/svg/document.rb:1)\r\n        at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1040)\r\n        at RUBY.(root)(/C:/Users/robert.panzer/.gradle/caches/modules-2/files-2.1/org.jruby/jruby-complete/1.7.23/98150edb47ccc36917c1ef475d694b91a3356245/jruby-complete-1.7.23.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1)\r\n        at RUBY.require(/C:/Users/robert.panzer/.gradle/caches/modules-2/files-2.1/org.jruby/jruby-complete/1.7.23/98150edb47ccc36917c1ef475d694b91a3356245/jruby-complete-1.7.23.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:54)\r\n        at RUBY.(root)(C:/Users/robert.panzer/.gradle/caches/modules-2/files-2.1/org.asciidoctor/asciidoctorj-pdf/1.5.0-alpha.10/3ba8b2d410fba94473c3550f187c345980e16093/asciidoctorj-pdf-1.5.0-alpha.10.jar!/gems/prawn-svg-0.21.0/lib/prawn-svg.rb:12)\r\n        at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1040)\r\n        at RUBY.(root)(/C:/Users/robert.panzer/.gradle/caches/modules-2/files-2.1/org.jruby/jruby-complete/1.7.23/98150c36917c1ef475d694b91a3356245/jruby-complete-1.7.23.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1)\r\n        at RUBY.require(/C:/Users/robert.panzer/.gradle/caches/modules-2/files-2.1/org.jruby/jruby-complete/1.7.23/98150edb47ccc36917c1ef475d694b91a3356245/jruby-complete-1.7.23.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:54)\r\n```"},"comment":{"url":"https://api.github.com/repos/jruby/jruby/issues/comments/171434547","html_url":"https://github.com/jruby/jruby/issues/3496#issuecomment-171434547","issue_url":"https://api.github.com/repos/jruby/jruby/issues/3496","id":171434547,"user":{"login":"mojavelinux","id":79351,"avatar_url":"https://avatars.githubusercontent.com/u/79351?v=3","gravatar_id":"","url":"https://api.github.com/users/mojavelinux","html_url":"https://github.com/mojavelinux","followers_url":"https://api.github.com/users/mojavelinux/followers","following_url":"https://api.github.com/users/mojavelinux/following{/other_user}","gists_url":"https://api.github.com/users/mojavelinux/gists{/gist_id}","starred_url":"https://api.github.com/users/mojavelinux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mojavelinux/subscriptions","organizations_url":"https://api.github.com/users/mojavelinux/orgs","repos_url":"https://api.github.com/users/mojavelinux/repos","events_url":"https://api.github.com/users/mojavelinux/events{/privacy}","received_events_url":"https://api.github.com/users/mojavelinux/received_events","type":"User","site_admin":false},"created_at":"2016-01-13T21:14:05Z","updated_at":"2016-01-13T21:14:05Z","body":":+1: "}}