{"action":"created","issue":{"url":"https://api.github.com/repos/JabRef/jabref/issues/2110","repository_url":"https://api.github.com/repos/JabRef/jabref","labels_url":"https://api.github.com/repos/JabRef/jabref/issues/2110/labels{/name}","comments_url":"https://api.github.com/repos/JabRef/jabref/issues/2110/comments","events_url":"https://api.github.com/repos/JabRef/jabref/issues/2110/events","html_url":"https://github.com/JabRef/jabref/issues/2110","id":180729765,"number":2110,"title":"Medline search throws Exception and hangs (Jabref 3.6)","user":{"login":"cookpa","id":611507,"avatar_url":"https://avatars.githubusercontent.com/u/611507?v=3","gravatar_id":"","url":"https://api.github.com/users/cookpa","html_url":"https://github.com/cookpa","followers_url":"https://api.github.com/users/cookpa/followers","following_url":"https://api.github.com/users/cookpa/following{/other_user}","gists_url":"https://api.github.com/users/cookpa/gists{/gist_id}","starred_url":"https://api.github.com/users/cookpa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cookpa/subscriptions","organizations_url":"https://api.github.com/users/cookpa/orgs","repos_url":"https://api.github.com/users/cookpa/repos","events_url":"https://api.github.com/users/cookpa/events{/privacy}","received_events_url":"https://api.github.com/users/cookpa/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/JabRef/jabref/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/JabRef/jabref/labels/fetcher","name":"fetcher","color":"e99695"},{"url":"https://api.github.com/repos/JabRef/jabref/labels/waiting-for-feedback","name":"waiting-for-feedback","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-10-03T19:49:38Z","updated_at":"2016-10-04T15:31:28Z","closed_at":null,"body":"<!-- Note: Please use the GitHub Issue tracker only for BugReports. \r\nFeature requests,  questions and general feedback is now handled at http://discourse.jabref.org \r\nThanks! --> \r\n\r\nJabRef version 3.6 on Mac OS X El Capitan\r\n<!-- Hint: If you use a development version (available at http://builds.jabref.org/master/), ensure that you use the latest one. -->\r\n\r\nSteps to reproduce:\r\n\r\n1. Open web search\r\n2. Enter \"Cook PA\" (with or without quotes)\r\n3. It says \"Number of references 105. Number to fetch? [click OK]\r\n4. The blue progress bar fills up, but the references never appear\r\n\r\nSometimes I can run a query and some references will appear, but then it hangs. For example, if I search \"Tustison [au]\" (no quotes), I get some results but then it hangs at about 25% progress. The hangups are accompanied by Exceptions in the console window:\r\n\r\n```\r\nException in thread \"JabRef CachedThreadPool\" java.lang.NullPointerException\r\n\tat net.sf.jabref.logic.importer.fileformat.MedlineImporter.addArticleInformation(MedlineImporter.java:516)\r\n\tat net.sf.jabref.logic.importer.fileformat.MedlineImporter.parseArticle(MedlineImporter.java:341)\r\n\tat net.sf.jabref.logic.importer.fileformat.MedlineImporter.importDatabase(MedlineImporter.java:151)\r\n\tat net.sf.jabref.gui.importer.fetcher.MedlineFetcher.fetchMedline(MedlineFetcher.java:226)\r\n\tat net.sf.jabref.gui.importer.fetcher.MedlineFetcher.processQuery(MedlineFetcher.java:199)\r\n\tat net.sf.jabref.gui.importer.fetcher.GeneralFetcher.lambda$actionPerformed$5(GeneralFetcher.java:223)\r\n\tat net.sf.jabref.gui.importer.fetcher.GeneralFetcher$$Lambda$191/1683863109.run(Unknown Source)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\n```\r\n\r\nIEEE and Springer search don't seem to have this problem. \r\n\r\nI can get specific things from Medline, for example if I enter a single PMID I can get the result. But larger searches sometimes fail with the above error. I had thought it was due to Medline refusing large requests, but I can enter some very general terms (eg searching my last name without initials) and get hundreds of results each time.\r\n\r\nI tried the same thing on 3.0 and it works correctly, I can search \"Cook PA [au]\" and the results show up as expected."},"comment":{"url":"https://api.github.com/repos/JabRef/jabref/issues/comments/251423626","html_url":"https://github.com/JabRef/jabref/issues/2110#issuecomment-251423626","issue_url":"https://api.github.com/repos/JabRef/jabref/issues/2110","id":251423626,"user":{"login":"cookpa","id":611507,"avatar_url":"https://avatars.githubusercontent.com/u/611507?v=3","gravatar_id":"","url":"https://api.github.com/users/cookpa","html_url":"https://github.com/cookpa","followers_url":"https://api.github.com/users/cookpa/followers","following_url":"https://api.github.com/users/cookpa/following{/other_user}","gists_url":"https://api.github.com/users/cookpa/gists{/gist_id}","starred_url":"https://api.github.com/users/cookpa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cookpa/subscriptions","organizations_url":"https://api.github.com/users/cookpa/orgs","repos_url":"https://api.github.com/users/cookpa/repos","events_url":"https://api.github.com/users/cookpa/events{/privacy}","received_events_url":"https://api.github.com/users/cookpa/received_events","type":"User","site_admin":false},"created_at":"2016-10-04T15:31:27Z","updated_at":"2016-10-04T15:31:27Z","body":"Thanks, I downloaded `JabRef_macos_3_7dev--snapshot--2016-10-03--medlineIssn--dc77ad8.dmg`. \r\n\r\nIt solves the original problem but now the search hangs after the first successful search. I searched Medline for \"Tustison [au]\". It reported 53 results, but the number to retrieve box was blank so I entered 53. It completed successfully and I could import the citations.\r\n\r\nUnfortunately, if I try a subsequent search, the program hangs. It displays the number of results dialog but after I click OK, Jabref becomes unresponsive. I have to force quit, so I can't get to the error console.\r\n\r\nI've tried this with a few searches. The initial search works fine, and doesn't show the old error. But then I can't search again.\r\n"}}
{"actor":{"display_login":"cookpa"}}