JetBrains-Research / pubtrends

Scientific literature explorer. Runs a Pubmed or Semantic Scholar search and allows user to explore high-level structure of result papers
Apache License 2.0
36 stars 2 forks source link

NumberFormatException #203

Closed olegs closed 4 years ago

olegs commented 4 years ago
04:42:02.201 [main] PubmedCrawler   INFO  (22 / 34 update) /tmp/tmp1472732045219738171.tmp/pubmed20n1037.xml.gz: Parsing...
0
Jan 20, 2020 4:42:04 AM org.neo4j.driver.internal.logging.JULogger info
INFO: Closing driver instance 934275857
Jan 20, 2020 4:42:04 AM org.neo4j.driver.internal.logging.JULogger info
INFO: Closing connection pool towards 172.30.0.246:7687
Exception in thread "main" java.lang.NumberFormatException: For input string: "Li Q., Weng J., Bennett G.L., Schwall R., Wang Z.F., Tabor T., Kim J.,
Hargrave S., Cuevas K.H. and Wilson S.E. (1996). Hepatocyte"
        at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
        at java.lang.Integer.parseInt(Integer.java:580)
        at java.lang.Integer.parseInt(Integer.java:615)
        at org.jetbrains.bio.pubtrends.pm.PubmedXMLParser.parseData(PubmedXMLParser.kt:318)
        at org.jetbrains.bio.pubtrends.pm.PubmedXMLParser.parse(PubmedXMLParser.kt:94)
        at org.jetbrains.bio.pubtrends.pm.PubmedCrawler.downloadFiles(PubmedCrawler.kt:134)
        at org.jetbrains.bio.pubtrends.pm.PubmedCrawler.update(PubmedCrawler.kt:84)
        at org.jetbrains.bio.pubtrends.pm.MainKt.main(Main.kt:83)