# Issue while running fscrawler on Linux

**URL:** <https://discuss.elastic.co/t/issue-while-running-fscrawler-on-linux/202586>\
**Category:** Elasticsearch\
**Created:** [October 7, 2019, 8:01pm UTC](https://discuss.elastic.co/t/issue-while-running-fscrawler-on-linux/202586 "2019-10-07T20:01:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![shreyasht](https://avatars.discourse-cdn.com/v4/letter/s/df788c/32.png) [@shreyasht](https://discuss.elastic.co/u/shreyasht)\
**Post date:** [October 7, 2019, 8:01pm UTC](https://discuss.elastic.co/t/issue-while-running-fscrawler-on-linux/202586/1 "2019-10-07T20:01:45Z")

</div>

Hello  
I am getting below exception while running fscrawler on linux. I wish the error was little more descriptive. I am using java 8 and fscrawler-es7-2.7

bin/fscrawler test

Exception in thread "main" java.lang.NumberFormatException: Infinite or NaN  
at java.math.BigDecimal.(BigDecimal.java:898)  
at java.math.BigDecimal.(BigDecimal.java:875)  
at fr.pilato.elasticsearch.crawler.fs.cli.BootstrapChecks.computePercentage(BootstrapChecks.java:61)  
at fr.pilato.elasticsearch.crawler.fs.cli.BootstrapChecks.checkJvm(BootstrapChecks.java:57)  
at fr.pilato.elasticsearch.crawler.fs.cli.BootstrapChecks.check(BootstrapChecks.java:40)  
at fr.pilato.elasticsearch.crawler.fs.cli.FsCrawlerCli.main(FsCrawlerCli.java:141)

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [October 8, 2019, 8:36am UTC](https://discuss.elastic.co/t/issue-while-running-fscrawler-on-linux/202586/2 "2019-10-08T08:36:54Z")

</div>

Hey. This bug should have been fixed with

> <https://github.com/dadoonet/fscrawler/pull/819>

But sadly this patch has not been uploaded to the snapshot repository. I'm running a manual deploy now and you should hopefully see in some minutes a new version of the 2.7-SNAPSHOT uploaded on Oct the 8th.

I hope this will help.

---

<div class="post-metadata">

**Author:** ![shreyasht](https://avatars.discourse-cdn.com/v4/letter/s/df788c/32.png) [@shreyasht](https://discuss.elastic.co/u/shreyasht)\
**Post date:** [October 9, 2019, 2:55am UTC](https://discuss.elastic.co/t/issue-while-running-fscrawler-on-linux/202586/3 "2019-10-09T02:55:32Z")

</div>

The patch worked great! thank you so much for your help.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 6, 2019, 2:55am UTC](https://discuss.elastic.co/t/issue-while-running-fscrawler-on-linux/202586/4 "2019-11-06T02:55:42Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
