java.util.MissingFormatArgumentException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Hmm looking at catalina.out we have this exception 2011-12-22 21:35:31,769 main ERROR [jirafisheyeplugin.config.fisheye.FishEyeRepositoryStoreImpl] Could not retrieve deserialise repositories for unconfigured FishEye instance (id=1) 2011-12-22 21:35:31,769 main ERROR [jirafisheyeplugin.config.fisheye.RepositoryPathStoreImpl] Cannot find configured repository for OPSMCAT: instance=1 repository=OPSMDigitalCatalogue path=/ 2011-12-22 21:35:31,819 main WARN [bonfire.upgradetasks.reindex.SessionStatusReindex] Starting upgrade - SessionStatusReindex 2011-12-22 21:35:38,466 main WARN [atlassian.bonfire.upgradetasks.UpgradeTaskKit] Marking upgrade task com.atlassian.bonfire.upgradetasks.reindex.SessionStatusReindex as done for version 1.6.0 2011-12-22 21:35:38,466 main WARN [bonfire.upgradetasks.reindex.SessionStatusReindex] Finishing upgrade - SessionStatusReindex 2011-12-22 21:35:38,514 main WARN [atlassian.bonfire.upgradetasks.TemplatesUpgrade] Starting upgrade - TemplatesUpgrade 2011-12-22 21:35:39,006 main ERROR [sal.core.upgrade.PluginUpgrader] Upgrade failed: Format specifier 's' java.util.MissingFormatArgumentException: Format specifier 's' at java.util.Formatter.format(Formatter.java:2432) at java.util.Formatter.format(Formatter.java:2367) at java.lang.String.format(String.java:2769) at com.atlassian.bonfire.upgradetasks.TemplatesUpgrade.doUpgrade(TemplatesUpgrade.java:123) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58) at org.spr The offending code is this // Need create issue permission in the project if (!jiraPermissionManager.hasPermission(Permissions.CREATE_ISSUE, projectResult.getProject(), creator)) { log.warn(String.format("User %s cannot create issue in project with id %d")); continue; } The log message is invalid because its specifies a %s (string parameter) and then doesnt provide any parameters. We will have to fix that. We will look to get a 1.8.2 out to you as soon as possible. NOTE : this will only affect customers how have upgrade data that contains users that USED to have Create Issue permission but no longer do when the upgrade task runs.
    via by Brad Baker [Atlassian],
  • Hmm looking at catalina.out we have this exception 2011-12-22 21:35:31,769 main ERROR [jirafisheyeplugin.config.fisheye.FishEyeRepositoryStoreImpl] Could not retrieve deserialise repositories for unconfigured FishEye instance (id=1) 2011-12-22 21:35:31,769 main ERROR [jirafisheyeplugin.config.fisheye.RepositoryPathStoreImpl] Cannot find configured repository for OPSMCAT: instance=1 repository=OPSMDigitalCatalogue path=/ 2011-12-22 21:35:31,819 main WARN [bonfire.upgradetasks.reindex.SessionStatusReindex] Starting upgrade - SessionStatusReindex 2011-12-22 21:35:38,466 main WARN [atlassian.bonfire.upgradetasks.UpgradeTaskKit] Marking upgrade task com.atlassian.bonfire.upgradetasks.reindex.SessionStatusReindex as done for version 1.6.0 2011-12-22 21:35:38,466 main WARN [bonfire.upgradetasks.reindex.SessionStatusReindex] Finishing upgrade - SessionStatusReindex 2011-12-22 21:35:38,514 main WARN [atlassian.bonfire.upgradetasks.TemplatesUpgrade] Starting upgrade - TemplatesUpgrade 2011-12-22 21:35:39,006 main ERROR [sal.core.upgrade.PluginUpgrader] Upgrade failed: Format specifier 's' java.util.MissingFormatArgumentException: Format specifier 's' at java.util.Formatter.format(Formatter.java:2432) at java.util.Formatter.format(Formatter.java:2367) at java.lang.String.format(String.java:2769) at com.atlassian.bonfire.upgradetasks.TemplatesUpgrade.doUpgrade(TemplatesUpgrade.java:123) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58) at org.spr The offending code is this // Need create issue permission in the project if (!jiraPermissionManager.hasPermission(Permissions.CREATE_ISSUE, projectResult.getProject(), creator)) { log.warn(String.format("User %s cannot create issue in project with id %d")); continue; } The log message is invalid because its specifies a %s (string parameter) and then doesnt provide any parameters. We will have to fix that. We will look to get a 1.8.2 out to you as soon as possible. NOTE : this will only affect customers how have upgrade data that contains users that USED to have Create Issue permission but no longer do when the upgrade task runs.
    via by Brad Baker [Atlassian],
    • java.util.MissingFormatArgumentException: Format specifier 's' at java.util.Formatter.format(Formatter.java:2432) at java.util.Formatter.format(Formatter.java:2367) at java.lang.String.format(String.java:2769) at com.atlassian.bonfire.upgradetasks.TemplatesUpgrade.doUpgrade(TemplatesUpgrade.java:123) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58)

    Users with the same issue

    jf-astjf-ast
    1 times, last one,
    bernardpaulusbernardpaulus
    2 times, last one,
    arturgajowyarturgajowy
    1 times, last one,
    aldrinlealaldrinleal
    1 times, last one,
    Shadd518Shadd518
    1 times, last one,
    6 more bugmates