java.util.DuplicateFormatFlagsException: Flags = '0'

Sakai JIRA | Flávio Botelho | 7 years ago
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    Why is printf producing an compiler error?

    Stack Overflow | 2 years ago | user3831109
    java.util.DuplicateFormatFlagsException: Flags = ' '

    3 unregistered visitors

    Root Cause Analysis

    1. java.util.DuplicateFormatFlagsException

      Flags = '0'

      at java.util.Formatter$Flags.parse()
    2. Java RT
      String.format
      1. java.util.Formatter$Flags.parse(Formatter.java:4140)
      2. java.util.Formatter$FormatSpecifier.flags(Formatter.java:2555)
      3. java.util.Formatter$FormatSpecifier.<init>(Formatter.java:2625)
      4. java.util.Formatter.parse(Formatter.java:2480)
      5. java.util.Formatter.format(Formatter.java:2414)
      6. java.util.Formatter.format(Formatter.java:2367)
      7. java.lang.String.format(String.java:2769)
      7 frames
    3. DSpace Kernel :: API and Implementation
      IndexBrowse.main
      1. org.dspace.sort.OrderFormatDate.makeSortString(OrderFormatDate.java:63)
      2. org.dspace.sort.OrderFormat.makeSortString(OrderFormat.java:131)
      3. org.dspace.browse.IndexBrowse.getSortValues(IndexBrowse.java:531)
      4. org.dspace.browse.IndexBrowse.indexItem(IndexBrowse.java:367)
      5. org.dspace.browse.IndexBrowse.createIndex(IndexBrowse.java:1106)
      6. org.dspace.browse.IndexBrowse.main(IndexBrowse.java:661)
      6 frames