Uploaded image for project: 'JBoss Modules'
  1. JBoss Modules
  2. MODULES-281

MissingFormatArgumentException with org.jboss.modules.security.ModularProtectionDomain.toString()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.5.4.Final, 1.6.0.Beta7
    • 1.6.0.Beta6
    • Logging
    • None

      org.jboss.modules.security.ModularProtectionDomain contains toString() method:

      String.format("ProtectionDomain (%s) %s%n%s%n%s%n%s", dynamic ? "dynamic" : "static", getCodeSource(), getClassLoader(), getPermissions());
      

      Current result:

      Method threw 'java.util.MissingFormatArgumentException' exception. Cannot evaluate org.jboss.modules.security.ModularProtectionDomain.toString()
      
      Too few arguments for format string (found: 4, expected: 5)
      

              dtikhomi@redhat.com Dmitrii Tikhomirov
              dtikhomi@redhat.com Dmitrii Tikhomirov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: