← Back to team overview

dhis2-devs team mailing list archive

[Bug 761919] Re: Tally Sheet Generator - NumberFormatException sometimes..

 

** Changed in: dhis2
     Assignee: (unassigned) => Morten Olav Hansen (mortenoh)

** Changed in: dhis2
       Status: New => 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/761919

Title:
  Tally Sheet Generator - NumberFormatException sometimes..

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

Bug description:
  I have an org structure:
  RootOrg
    - SubOrg
        Org

  If I select RootOrg or Org, there are no problems.. but if select
  SubOrg I get:

  [-] Exception (java.lang.NumberFormatException): For input string:
  "DDD"

      java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
      java.lang.Integer.parseInt(Integer.java:449)
      java.lang.Integer.parseInt(Integer.java:499)
      org.hisp.dhis.tallysheet.DefaultTallySheetService.internalCreateTallySheet(DefaultTallySheetService.java:118)
      org.hisp.dhis.tallysheet.DefaultTallySheetService.createTallySheet(DefaultTallySheetService.java:88)
      org.hisp.dhis.reporting.tallysheet.action.ViewTallySheetAction.execute(ViewTallySheetAction.java:193)



References