Dear OpenForis support team,

My survey crashes several times in OpenForis Collect (desktop) although I do not have issues with the same survey before. The following error appears:

java.lang.NumberFormatException: For input string: "false"
at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:2043)
at sun.misc.FloatingDecimal.parseDouble(FloatingDecimal.java:110)
at java.lang.Double.parseDouble(Double.java:538)
at org.openforis.idm.metamodel.NumberAttributeDefinition.createValue(NumberAttributeDefinition.java:58)
at org.openforis.idm.metamodel.NumberAttributeDefinition.createValue(NumberAttributeDefinition.java:83)
at org.openforis.idm.metamodel.NumberAttributeDefinition.createValue(NumberAttributeDefinition.java:20)
at org.openforis.idm.model.expression.ExpressionEvaluator.evaluateAttributeValue(ExpressionEvaluator.java:69)
at org.openforis.idm.metamodel.AttributeDefault.evaluateExpression(AttributeDefault.java:91)
at org.openforis.idm.metamodel.AttributeDefault.evaluate(AttributeDefault.java:73)
at org.openforis.collect.model.RecordUpdater.recalculateValue(RecordUpdater.java:1134)
at org.openforis.collect.model.RecordUpdater.recalculateValues(RecordUpdater.java:485)
at org.openforis.collect.model.RecordUpdater.recalculateDependentCalculatedAttributes(RecordUpdater.java:474)
at org.openforis.collect.model.RecordUpdater.afterAttributeInsertOrUpdate(RecordUpdater.java:339)
at org.openforis.collect.model.RecordUpdater.afterAttributeUpdate(RecordUpdater.java:326)
at org.openforis.collect.model.RecordUpdater.updateAttribute(RecordUpdater.java:75)
at org.openforis.collect.command.handler.UpdateAttributeCommandHandler.executeForResult(UpdateAttributeCommandHandler.java:15)
at org.openforis.collect.command.handler.UpdateAttributeCommandHandler.executeForResult(UpdateAttributeCommandHandler.java:9)
at org.openforis.collect.command.handler.RecordCommandHandler$1$1.execute(RecordCommandHandler.java:72)
at org.openforis.concurrency.Worker.run(Worker.java:103)
at org.openforis.concurrency.Job.runTask(Job.java:95)
at org.openforis.concurrency.Job.execute(Job.java:80)
at org.openforis.concurrency.Worker.run(Worker.java:103)
at org.openforis.concurrency.SimpleJobManager$2.run(SimpleJobManager.java:120)
at org.springframework.core.task.SimpleAsyncTaskExecutor$ConcurrencyThrottlingRunnable.run(SimpleAsyncTaskExecutor.java:286)
at java.lang.Thread.run(Thread.java:748)

I hope very much you can help me to fix this problem. Cheers, Roksolana

asked 05 Aug '22, 16:11

rpetrovska's gravatar image

rpetrovska
112
accept rate: 0%


Dear Roksolana,
Please try to check if you have defined a default value with a value "false" for a numeric value in your survey.
We will contact you to your private email to help you solving this issue.
Many thanks,
Open Foris Team

permanent link

answered 26 Aug '22, 09:52

Stefano%20%28OF%29's gravatar image

Stefano (OF) ♦♦
4.6k19
accept rate: 20%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×493

question asked: 05 Aug '22, 16:11

question was seen: 476 times

last updated: 26 Aug '22, 09:52