{"action":"created","issue":{"url":"https://api.github.com/repos/jruby/jruby/issues/3932","repository_url":"https://api.github.com/repos/jruby/jruby","labels_url":"https://api.github.com/repos/jruby/jruby/issues/3932/labels{/name}","comments_url":"https://api.github.com/repos/jruby/jruby/issues/3932/comments","events_url":"https://api.github.com/repos/jruby/jruby/issues/3932/events","html_url":"https://github.com/jruby/jruby/issues/3932","id":157027276,"node_id":"MDU6SXNzdWUxNTcwMjcyNzY=","number":3932,"title":"File name too long error","user":{"login":"aadam21","id":3831217,"node_id":"MDQ6VXNlcjM4MzEyMTc=","avatar_url":"https://avatars1.githubusercontent.com/u/3831217?v=4","gravatar_id":"","url":"https://api.github.com/users/aadam21","html_url":"https://github.com/aadam21","followers_url":"https://api.github.com/users/aadam21/followers","following_url":"https://api.github.com/users/aadam21/following{/other_user}","gists_url":"https://api.github.com/users/aadam21/gists{/gist_id}","starred_url":"https://api.github.com/users/aadam21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aadam21/subscriptions","organizations_url":"https://api.github.com/users/aadam21/orgs","repos_url":"https://api.github.com/users/aadam21/repos","events_url":"https://api.github.com/users/aadam21/events{/privacy}","received_events_url":"https://api.github.com/users/aadam21/received_events","type":"User","site_admin":false},"labels":[{"id":243226387,"node_id":"MDU6TGFiZWwyNDMyMjYzODc=","url":"https://api.github.com/repos/jruby/jruby/labels/feedback%20needed","name":"feedback needed","color":"c7def8","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/jruby/jruby/milestones/11","html_url":"https://github.com/jruby/jruby/milestone/11","labels_url":"https://api.github.com/repos/jruby/jruby/milestones/11/labels","id":350035,"node_id":"MDk6TWlsZXN0b25lMzUwMDM1","number":11,"title":"Invalid or Duplicate","description":"Bugs that are duplicates, not actually bugs, or user mistakes should go here.","creator":{"login":"headius","id":10135,"node_id":"MDQ6VXNlcjEwMTM1","avatar_url":"https://avatars3.githubusercontent.com/u/10135?v=4","gravatar_id":"","url":"https://api.github.com/users/headius","html_url":"https://github.com/headius","followers_url":"https://api.github.com/users/headius/followers","following_url":"https://api.github.com/users/headius/following{/other_user}","gists_url":"https://api.github.com/users/headius/gists{/gist_id}","starred_url":"https://api.github.com/users/headius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/headius/subscriptions","organizations_url":"https://api.github.com/users/headius/orgs","repos_url":"https://api.github.com/users/headius/repos","events_url":"https://api.github.com/users/headius/events{/privacy}","received_events_url":"https://api.github.com/users/headius/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":799,"state":"open","created_at":"2013-06-06T19:52:53Z","updated_at":"2018-06-12T16:15:32Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2016-05-26T16:40:03Z","updated_at":"2018-06-12T18:19:48Z","closed_at":null,"author_association":"NONE","body":"I have an app for processing XML files.  I have to pick them up from an inbound directory, parse the XML (using Nokogiri) and make web service calls based on that info.  The files are a a collection of orders.  After moving the file from the inbound directory, I'm seeing the following error before I can even start parsing the file:\n\n\"Unhandled Java exception: java.lang.RuntimeException: Unhandled IOException: java.io.IOException: unhandled errno: File name too long\"\n\nIn this case, the file name is CD_112350_677686.XML, and I have other JRuby apps that handle files named like this without problem.\n### Environment\n- JRuby version: jruby 1.7.19 (1.9.3p551) 2015-01-29 20786bd on Java HotSpot(TM) 64-Bit Server VM 1.8.0_66-b17 +jit [darwin-x86_64](I've also replicated this on 9.0.4.0)\n- OS: Darwin pbdal-whlp2.main.pbd.com 15.5.0 Darwin Kernel Version 15.5.0: Tue Apr 19 18:36:36 PDT 2016; root:xnu-3248.50.21~8/RELEASE_X86_64 x86_64\n- Gems: json 1.8.3, rest_client 1.7.3, jdbc-mysql 5.1.38, netrc 0.7.9, nokogiri 1.6.7.2, bundler 1.12.5\n- This is a standalone app that once working I plan to compile to a JAR using warbler\n### Expected Behavior\n\nThe file is moved correctly, but I would expect to be able to parse the file and assign each order within to a SalesOrder object.  Here's the method where the failure is occurring:\n`def process_orders_from_file(file_name)`\n    `@logger.info(\"Processing file #{file_name}\")`\n    `SalesOrders.new(@properties['files']['inbound'] + file_name)`\n`end`\n### Actual Behavior\n\nThe call fails immediately after the log entry, with no new SalesOrder objects created.\n\nI have a couple gists with the stack trace - the first was from walking through the code in jirb:\n[https://gist.github.com/aadam21/1f2f35360e12e7b0865adaaa64644be7](url)\n\nThis gist is from when the method is called from within the app actually running:\n[https://gist.github.com/aadam21/53cc51c8b0820b4e5b12b9609bbc079d](url)\n"},"comment":{"url":"https://api.github.com/repos/jruby/jruby/issues/comments/396686243","html_url":"https://github.com/jruby/jruby/issues/3932#issuecomment-396686243","issue_url":"https://api.github.com/repos/jruby/jruby/issues/3932","id":396686243,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NjY4NjI0Mw==","user":{"login":"aadam21","id":3831217,"node_id":"MDQ6VXNlcjM4MzEyMTc=","avatar_url":"https://avatars1.githubusercontent.com/u/3831217?v=4","gravatar_id":"","url":"https://api.github.com/users/aadam21","html_url":"https://github.com/aadam21","followers_url":"https://api.github.com/users/aadam21/followers","following_url":"https://api.github.com/users/aadam21/following{/other_user}","gists_url":"https://api.github.com/users/aadam21/gists{/gist_id}","starred_url":"https://api.github.com/users/aadam21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aadam21/subscriptions","organizations_url":"https://api.github.com/users/aadam21/orgs","repos_url":"https://api.github.com/users/aadam21/repos","events_url":"https://api.github.com/users/aadam21/events{/privacy}","received_events_url":"https://api.github.com/users/aadam21/received_events","type":"User","site_admin":false},"created_at":"2018-06-12T18:19:48Z","updated_at":"2018-06-12T18:19:48Z","author_association":"NONE","body":"@kares @headius Sorry - I don't have the gists any longer and haven't worked on that app in a while now.  If memory serves I updated to jRuby 9.0.0.0 on release and didn't have any more problems.  This is definitely closable - thanks!"}}
{"actor":{"display_login":"aadam21"}}