Public bug reported:

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)

** Affects: dhis2
     Importance: Undecided
         Status: New

-- 
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:
  New

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)

_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to     : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp

Reply via email to