← Back to team overview

dhis2-devs team mailing list archive

[Bug 866032] Re: NumberFormatException thrown in dhis light data entry

 

Fix committed in rev 4823.

** Changed in: dhis2
       Status: New => Fix Released

** Changed in: dhis2
       Status: Fix Released => Fix Committed

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/866032

Title:
  NumberFormatException thrown in dhis light data entry

Status in DHIS 2 - District Health Information Software:
  Fix Committed

Bug description:
  I guess I got this on entering letters in combination with lots of
  empty fields, difficult to reproduce (and lost the rest of the stack
  trace).

  Exception (java.lang.NumberFormatException): empty String
  sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:994)
  java.lang.Double.valueOf(Double.java:475)
  java.lang.Double.(Double.java:567)
  org.hisp.dhis.datavalue.DataValue.isZero(DataValue.java:174)
  org.hisp.dhis.datavalue.DefaultDataValueService.isSignificant(DefaultDataValueService.java:193)
  org.hisp.dhis.datavalue.DefaultDataValueService.updateDataValue(DefaultDataValueService.java:86)

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/866032/+subscriptions


References