java.util.UnknownFormatConversionException: Conversion = ' '

Atlassian JIRA | Richard Burgess | 5 years ago
  1. 0

    There are places in code where we pass user-provided data (such as external project name) in the first param of ImportLogger.log(). This param is an interpreted as String.format format string, not plain text. This leads to the exception below and is the root cause of [JSP-90943|https://support.atlassian.com/browse/JSP-90943] {code} 2011-09-14 11:45:22,632 ERROR - Unexpected failure occurred. Importer will stop immediately. Data maybe in an unstable state java.util.UnknownFormatConversionException: Conversion = ' ' at java.util.Formatter.checkText(Formatter.java:2503) at java.util.Formatter.parse(Formatter.java:2485) at java.util.Formatter.format(Formatter.java:2414) at java.util.Formatter.format(Formatter.java:2367) at java.lang.String.format(String.java:2769) at com.atlassian.jira.plugins.importer.imports.importer.impl.FileImportLogger.log(FileImportLogger.java:44) at com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.importProject(DefaultJiraDataImporter.java:572) at com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.doImport(DefaultJiraDataImporter.java:275) at com.atlassian.jira.plugins.importer.imports.importer.impl.ImporterCallable.call(ImporterCallable.java:25) at com.atlassian.jira.plugins.importer.imports.importer.impl.ImporterCallable.call(ImporterCallable.java:14) at com.atlassian.jira.task.TaskManagerImpl$TaskCallableDecorator.call(TaskManagerImpl.java:359) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at com.atlassian.multitenant.impl.DefaultMultiTenantManager.runForTenant(DefaultMultiTenantManager.java:61) at com.atlassian.multitenant.juc.MultiTenantExecutors$WrappedRunnable.run(MultiTenantExecutors.java:160) at com.atlassian.jira.task.ForkedThreadExecutor$ForkedRunnableDecorator.run(ForkedThreadExecutor.java:249) at java.lang.Thread.run(Thread.java:662) {code}

    Ecosystem JIRA | 5 years ago | Slawek Ginter
    java.util.UnknownFormatConversionException: Conversion = ' '
  2. 0

    Cryptic error message after importing components. http://confluence.atlassian.com/display/JIRA/Importing+Data+from+Bugzilla doesn't bear a lot of similarity to the actual import process... eg. there is no Maximum issues and failues option anywhere along the line. Log file contains the following stack trace: 2011-09-14 11:45:22,632 ERROR - Unexpected failure occurred. Importer will stop immediately. Data maybe in an unstable state java.util.UnknownFormatConversionException: Conversion = ' ' at java.util.Formatter.checkText(Formatter.java:2503) at java.util.Formatter.parse(Formatter.java:2485) at java.util.Formatter.format(Formatter.java:2414) at java.util.Formatter.format(Formatter.java:2367) at java.lang.String.format(String.java:2769) at com.atlassian.jira.plugins.importer.imports.importer.impl.FileImportLogger.log(FileImportLogger.java:44) at com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.importProject(DefaultJiraDataImporter.java:572) at com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.doImport(DefaultJiraDataImporter.java:275) at com.atlassian.jira.plugins.importer.imports.importer.impl.ImporterCallable.call(ImporterCallable.java:25) at com.atlassian.jira.plugins.importer.imports.importer.impl.ImporterCallable.call(ImporterCallable.java:14) at com.atlassian.jira.task.TaskManagerImpl$TaskCallableDecorator.call(TaskManagerImpl.java:359) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at com.atlassian.multitenant.impl.DefaultMultiTenantManager.runForTenant(DefaultMultiTenantManager.java:61) at com.atlassian.multitenant.juc.MultiTenantExecutors$WrappedRunnable.run(MultiTenantExecutors.java:160) at com.atlassian.jira.task.ForkedThreadExecutor$ForkedRunnableDecorator.run(ForkedThreadExecutor.java:249) at java.lang.Thread.run(Thread.java:662)

    Atlassian JIRA | 5 years ago | Richard Burgess
    java.util.UnknownFormatConversionException: Conversion = ' '
  3. 0

    Cryptic error message after importing components. http://confluence.atlassian.com/display/JIRA/Importing+Data+from+Bugzilla doesn't bear a lot of similarity to the actual import process... eg. there is no Maximum issues and failues option anywhere along the line. Log file contains the following stack trace: 2011-09-14 11:45:22,632 ERROR - Unexpected failure occurred. Importer will stop immediately. Data maybe in an unstable state java.util.UnknownFormatConversionException: Conversion = ' ' at java.util.Formatter.checkText(Formatter.java:2503) at java.util.Formatter.parse(Formatter.java:2485) at java.util.Formatter.format(Formatter.java:2414) at java.util.Formatter.format(Formatter.java:2367) at java.lang.String.format(String.java:2769) at com.atlassian.jira.plugins.importer.imports.importer.impl.FileImportLogger.log(FileImportLogger.java:44) at com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.importProject(DefaultJiraDataImporter.java:572) at com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.doImport(DefaultJiraDataImporter.java:275) at com.atlassian.jira.plugins.importer.imports.importer.impl.ImporterCallable.call(ImporterCallable.java:25) at com.atlassian.jira.plugins.importer.imports.importer.impl.ImporterCallable.call(ImporterCallable.java:14) at com.atlassian.jira.task.TaskManagerImpl$TaskCallableDecorator.call(TaskManagerImpl.java:359) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at com.atlassian.multitenant.impl.DefaultMultiTenantManager.runForTenant(DefaultMultiTenantManager.java:61) at com.atlassian.multitenant.juc.MultiTenantExecutors$WrappedRunnable.run(MultiTenantExecutors.java:160) at com.atlassian.jira.task.ForkedThreadExecutor$ForkedRunnableDecorator.run(ForkedThreadExecutor.java:249) at java.lang.Thread.run(Thread.java:662)

    Atlassian JIRA | 5 years ago | Richard Burgess
    java.util.UnknownFormatConversionException: Conversion = ' '
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Exceptions like Access denied

    GitHub | 2 years ago | GoogleCodeExporter
    java.util.UnknownFormatConversionException: Conversion = ' '
  6. 0

    Game Crashes after fighting the Pirates

    GitHub | 2 years ago | GoogleCodeExporter
    java.util.UnknownFormatConversionException: Conversion = ' '
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.util.UnknownFormatConversionException

    Conversion = ' '

    at java.util.Formatter.checkText()
  2. Java RT
    String.format
    1. java.util.Formatter.checkText(Formatter.java:2503)
    2. java.util.Formatter.parse(Formatter.java:2485)
    3. java.util.Formatter.format(Formatter.java:2414)
    4. java.util.Formatter.format(Formatter.java:2367)
    5. java.lang.String.format(String.java:2769)
    5 frames
  3. com.atlassian.jira
    TaskManagerImpl$TaskCallableDecorator.call
    1. com.atlassian.jira.plugins.importer.imports.importer.impl.FileImportLogger.log(FileImportLogger.java:44)
    2. com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.importProject(DefaultJiraDataImporter.java:572)
    3. com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.doImport(DefaultJiraDataImporter.java:275)
    4. com.atlassian.jira.plugins.importer.imports.importer.impl.ImporterCallable.call(ImporterCallable.java:25)
    5. com.atlassian.jira.plugins.importer.imports.importer.impl.ImporterCallable.call(ImporterCallable.java:14)
    6. com.atlassian.jira.task.TaskManagerImpl$TaskCallableDecorator.call(TaskManagerImpl.java:359)
    6 frames
  4. Java RT
    FutureTask.run
    1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    2. java.util.concurrent.FutureTask.run(FutureTask.java:138)
    3. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    4. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    5. java.util.concurrent.FutureTask.run(FutureTask.java:138)
    5 frames
  5. com.atlassian.multitenant
    MultiTenantExecutors$WrappedRunnable.run
    1. com.atlassian.multitenant.impl.DefaultMultiTenantManager.runForTenant(DefaultMultiTenantManager.java:61)
    2. com.atlassian.multitenant.juc.MultiTenantExecutors$WrappedRunnable.run(MultiTenantExecutors.java:160)
    2 frames
  6. com.atlassian.jira
    ForkedThreadExecutor$ForkedRunnableDecorator.run
    1. com.atlassian.jira.task.ForkedThreadExecutor$ForkedRunnableDecorator.run(ForkedThreadExecutor.java:249)
    1 frame
  7. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:662)
    1 frame