java.lang.ExceptionInInitializerError

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.

  • Java DateFormat
    via Stack Overflow by Achilles
    ,
  • Illegal pattern character 'Y' | Oracle Community
    via by Unknown author,
  • The attached report was created through Report Wizard. It will throw an exception (below) when you try to preview it. Remove the date format on orderdate, and the report previews fine. org.pentaho.reporting.engine.classic.core.function.FunctionProcessingException: ItemsAdvanced failed at org.pentaho.reporting.engine.classic.core.layout.output.DefaultOutputFunction.itemsAdvanced(DefaultOutputFunction.java:348) at org.pentaho.reporting.engine.classic.core.states.InitialLayoutProcess.fireItemsAdvancedEvent(InitialLayoutProcess.java:236) at org.pentaho.reporting.engine.classic.core.states.InitialLayoutProcess.fireReportEvent(InitialLayoutProcess.java:183) at org.pentaho.reporting.engine.classic.core.states.SubLayoutProcess.fireReportEvent(SubLayoutProcess.java:257) at org.pentaho.reporting.engine.classic.core.states.process.ProcessState.fireReportEvent(ProcessState.java:984) at org.pentaho.reporting.engine.classic.core.states.process.ProcessDetailsHandler.advance(ProcessDetailsHandler.java:46) at org.pentaho.reporting.engine.classic.core.states.process.ProcessState.advance(ProcessState.java:801) at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.processPaginationLevel(AbstractReportProcessor.java:642) at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.prepareReportProcessing(AbstractReportProcessor.java:442) at org.pentaho.reporting.engine.classic.core.modules.output.pageable.graphics.PrintReportProcessor.getNumberOfPages(PrintReportProcessor.java:77) at org.pentaho.reporting.engine.classic.core.modules.gui.base.PreviewPane$RepaginationRunnable.run(PreviewPane.java:266) at org.pentaho.reporting.engine.classic.core.util.Worker.run(Worker.java:174) ParentException: java.lang.IllegalArgumentException: Illegal pattern character 'Y' at java.text.SimpleDateFormat.compile(SimpleDateFormat.java:696) at java.text.SimpleDateFormat.initialize(SimpleDateFormat.java:515) at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:464) at org.pentaho.reporting.engine.classic.core.filter.types.DateFieldType.getValue(DateFieldType.java:183) at org.pentaho.reporting.engine.classic.core.layout.DefaultLayoutBuilder.computeValue(DefaultLayoutBuilder.java:434) at org.pentaho.reporting.engine.classic.core.layout.DefaultLayoutBuilder.add(DefaultLayoutBuilder.java:249) at org.pentaho.reporting.engine.classic.core.layout.AbstractRenderer.add(AbstractRenderer.java:788) at org.pentaho.reporting.engine.classic.core.layout.output.DefaultOutputFunction.print(DefaultOutputFunction.java:1042) at org.pentaho.reporting.engine.classic.core.layout.output.RelationalGroupOutputHandler.itemsAdvanced(RelationalGroupOutputHandler.java:77) at org.pentaho.reporting.engine.classic.core.layout.output.DefaultOutputFunction.itemsAdvanced(DefaultOutputFunction.java:340) at org.pentaho.reporting.engine.classic.core.states.InitialLayoutProcess.fireItemsAdvancedEvent(InitialLayoutProcess.java:236) at org.pentaho.reporting.engine.classic.core.states.InitialLayoutProcess.fireReportEvent(InitialLayoutProcess.java:183) at org.pentaho.reporting.engine.classic.core.states.SubLayoutProcess.fireReportEvent(SubLayoutProcess.java:257) at org.pentaho.reporting.engine.classic.core.states.process.ProcessState.fireReportEvent(ProcessState.java:984) at org.pentaho.reporting.engine.classic.core.states.process.ProcessDetailsHandler.advance(ProcessDetailsHandler.java:46) at org.pentaho.reporting.engine.classic.core.states.process.ProcessState.advance(ProcessState.java:801) at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.processPaginationLevel(AbstractReportProcessor.java:642) at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.prepareReportProcessing(AbstractReportProcessor.java:442) at org.pentaho.reporting.engine.classic.core.modules.output.pageable.graphics.PrintReportProcessor.getNumberOfPages(PrintReportProcessor.java:77) at org.pentaho.reporting.engine.classic.core.modules.gui.base.PreviewPane$RepaginationRunnable.run(PreviewPane.java:266) at org.pentaho.reporting.engine.classic.core.util.Worker.run(Worker.java:174)
    via by Gretchen Moran,
  • Steps to reproduce: 1. Download the attached CSV file and configuration file 2. Import into JIRA by using CSV Importer The invalid date format exception will be thrown in the first time when importing the data. {noformat} 2008-01-16 16:36:56,564 Thread-33 INFO [imports.importer.impl.ImportLogger] ************************************************************** (0.0s) 2008-01-16 16:36:56,564 Thread-33 INFO [imports.importer.impl.ImportLogger] IMPORTING STARTED (0.0s) 2008-01-16 16:36:56,564 Thread-33 INFO [imports.importer.impl.ImportLogger] ************************************************************** (0.0s) 2008-01-16 16:36:56,564 Thread-33 INFO [imports.importer.impl.ImportLogger] (0.0s) 2008-01-16 16:36:56,564 Thread-33 INFO [imports.importer.impl.ImportLogger] Importing with ImportBeanType: com.atlassian.jira.imports.csv.CsvDataBean (0.0s) 2008-01-16 16:36:56,564 Thread-33 INFO [imports.importer.impl.ImportLogger] (0.0s) 2008-01-16 16:36:56,565 Thread-33 INFO [imports.importer.impl.ImportLogger] -------------------------- (0.0010s) 2008-01-16 16:36:56,565 Thread-33 INFO [imports.importer.impl.ImportLogger] Importing of Users started (0.0010s) 2008-01-16 16:36:56,565 Thread-33 INFO [imports.importer.impl.ImportLogger] Only new Users will be imported (0.0010s) 2008-01-16 16:36:56,565 Thread-33 INFO [imports.importer.impl.ImportLogger] FAILED: Unexpected failure occurred. Importer will stop immediately. Data maybe in an unstable state (0.0010s) 2008-01-16 16:36:56,566 Thread-33 INFO [imports.importer.impl.ImportLogger] java.lang.IllegalArgumentException: Illegal pattern character 'Y' at java.text.SimpleDateFormat.compile(SimpleDateFormat.java:678) at java.text.SimpleDateFormat.initialize(SimpleDateFormat.java:497) at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:446) at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:427) at com.atlassian.jira.imports.csv.PropertiesCsvMapper.init(PropertiesCsvMapper.java:50) at com.atlassian.jira.imports.csv.MindProdCsvProvider.startSession(MindProdCsvProvider.java:48) at com.atlassian.jira.imports.csv.CsvDataBean.populateCache(CsvDataBean.java:122) at com.atlassian.jira.imports.csv.CsvDataBean.refreshCache(CsvDataBean.java:105) at com.atlassian.jira.imports.csv.CsvDataBean.getUsers(CsvDataBean.java:251) at com.atlassian.jira.imports.importer.impl.DefaultJiraDataImporter.importUsers(DefaultJiraDataImporter.java:223) at com.atlassian.jira.imports.importer.impl.DefaultJiraDataImporter.doImport(DefaultJiraDataImporter.java:94) at com.atlassian.jira.imports.importer.impl.ImporterThread.run(ImporterThread.java:21) (0.0020s) 2008-01-16 16:36:56,566 Thread-33 INFO [imports.importer.impl.ImportLogger] Flushing issue cache (0.0020s) 2008-01-16 16:36:56,574 Thread-33 INFO [imports.importer.impl.ImportLogger] No issues need to be reindexed. (0.0090s) 2008-01-16 16:36:56,574 Thread-33 INFO [imports.importer.impl.ImportLogger] (0.01s) 2008-01-16 16:36:56,574 Thread-33 INFO [imports.importer.impl.ImportLogger] ************************************************************** (0.01s) 2008-01-16 16:36:56,574 Thread-33 INFO [imports.importer.impl.ImportLogger] IMPORTING FINISHED (0.01s) 2008-01-16 16:36:56,574 Thread-33 INFO [imports.importer.impl.ImportLogger] ************************************************************** (0.01s) {noformat} 3. Try to run the CSV Importer again with the same files (without making any changes to the date format). There is no invalid date format exception being thrown. {noformat} 2008-01-16 16:37:20,981 Thread-36 INFO [imports.importer.impl.ImportLogger] ************************************************************** (0.0s) 2008-01-16 16:37:20,981 Thread-36 INFO [imports.importer.impl.ImportLogger] IMPORTING STARTED (0.0s) 2008-01-16 16:37:20,981 Thread-36 INFO [imports.importer.impl.ImportLogger] ************************************************************** (0.0s) 2008-01-16 16:37:20,981 Thread-36 INFO [imports.importer.impl.ImportLogger] (0.0s) 2008-01-16 16:37:20,981 Thread-36 INFO [imports.importer.impl.ImportLogger] Importing with ImportBeanType: com.atlassian.jira.imports.csv.CsvDataBean (0.0s) 2008-01-16 16:37:20,982 Thread-36 INFO [imports.importer.impl.ImportLogger] (0.0010s) 2008-01-16 16:37:20,982 Thread-36 INFO [imports.importer.impl.ImportLogger] -------------------------- (0.0010s) 2008-01-16 16:37:20,982 Thread-36 INFO [imports.importer.impl.ImportLogger] Importing of Users started (0.0010s) 2008-01-16 16:37:20,982 Thread-36 INFO [imports.importer.impl.ImportLogger] Only new Users will be imported (0.0010s) 2008-01-16 16:37:20,982 Thread-36 INFO [imports.importer.impl.ImportLogger] 0 users associated with import. (0.0010s) 2008-01-16 16:37:20,982 Thread-36 INFO [imports.importer.impl.ImportLogger] 0 users successfully imported. (0.0010s) 2008-01-16 16:37:20,982 Thread-36 INFO [imports.importer.impl.ImportLogger] Importing of Users finished (0.0010s) 2008-01-16 16:37:20,982 Thread-36 INFO [imports.importer.impl.ImportLogger] --------------------------- (0.0010s) 2008-01-16 16:37:20,983 Thread-36 INFO [imports.importer.impl.ImportLogger] Retrieving projects... (0.0020s) 2008-01-16 16:37:20,983 Thread-36 INFO [imports.importer.impl.ImportLogger] No projects were found to import (0.0020s) 2008-01-16 16:37:20,983 Thread-36 INFO [imports.importer.impl.ImportLogger] Flushing issue cache (0.0020s) 2008-01-16 16:37:20,986 Thread-36 INFO [imports.importer.impl.ImportLogger] No issues need to be reindexed. (0.0050s) 2008-01-16 16:37:20,986 Thread-36 INFO [imports.importer.impl.ImportLogger] (0.0050s) 2008-01-16 16:37:20,986 Thread-36 INFO [imports.importer.impl.ImportLogger] ************************************************************** (0.0050s) 2008-01-16 16:37:20,986 Thread-36 INFO [imports.importer.impl.ImportLogger] IMPORTING FINISHED (0.0050s) 2008-01-16 16:37:20,987 Thread-36 INFO [imports.importer.impl.ImportLogger] ************************************************************** (0.0060s) {noformat} This behavior is quite weird. The problem should be handled more consistently.
    via by Chai Ying Chan [Atlassian],
  • The attached report was created through Report Wizard. It will throw an exception (below) when you try to preview it. Remove the date format on orderdate, and the report previews fine. org.pentaho.reporting.engine.classic.core.function.FunctionProcessingException: ItemsAdvanced failed at org.pentaho.reporting.engine.classic.core.layout.output.DefaultOutputFunction.itemsAdvanced(DefaultOutputFunction.java:348) at org.pentaho.reporting.engine.classic.core.states.InitialLayoutProcess.fireItemsAdvancedEvent(InitialLayoutProcess.java:236) at org.pentaho.reporting.engine.classic.core.states.InitialLayoutProcess.fireReportEvent(InitialLayoutProcess.java:183) at org.pentaho.reporting.engine.classic.core.states.SubLayoutProcess.fireReportEvent(SubLayoutProcess.java:257) at org.pentaho.reporting.engine.classic.core.states.process.ProcessState.fireReportEvent(ProcessState.java:984) at org.pentaho.reporting.engine.classic.core.states.process.ProcessDetailsHandler.advance(ProcessDetailsHandler.java:46) at org.pentaho.reporting.engine.classic.core.states.process.ProcessState.advance(ProcessState.java:801) at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.processPaginationLevel(AbstractReportProcessor.java:642) at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.prepareReportProcessing(AbstractReportProcessor.java:442) at org.pentaho.reporting.engine.classic.core.modules.output.pageable.graphics.PrintReportProcessor.getNumberOfPages(PrintReportProcessor.java:77) at org.pentaho.reporting.engine.classic.core.modules.gui.base.PreviewPane$RepaginationRunnable.run(PreviewPane.java:266) at org.pentaho.reporting.engine.classic.core.util.Worker.run(Worker.java:174) ParentException: java.lang.IllegalArgumentException: Illegal pattern character 'Y' at java.text.SimpleDateFormat.compile(SimpleDateFormat.java:696) at java.text.SimpleDateFormat.initialize(SimpleDateFormat.java:515) at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:464) at org.pentaho.reporting.engine.classic.core.filter.types.DateFieldType.getValue(DateFieldType.java:183) at org.pentaho.reporting.engine.classic.core.layout.DefaultLayoutBuilder.computeValue(DefaultLayoutBuilder.java:434) at org.pentaho.reporting.engine.classic.core.layout.DefaultLayoutBuilder.add(DefaultLayoutBuilder.java:249) at org.pentaho.reporting.engine.classic.core.layout.AbstractRenderer.add(AbstractRenderer.java:788) at org.pentaho.reporting.engine.classic.core.layout.output.DefaultOutputFunction.print(DefaultOutputFunction.java:1042) at org.pentaho.reporting.engine.classic.core.layout.output.RelationalGroupOutputHandler.itemsAdvanced(RelationalGroupOutputHandler.java:77) at org.pentaho.reporting.engine.classic.core.layout.output.DefaultOutputFunction.itemsAdvanced(DefaultOutputFunction.java:340) at org.pentaho.reporting.engine.classic.core.states.InitialLayoutProcess.fireItemsAdvancedEvent(InitialLayoutProcess.java:236) at org.pentaho.reporting.engine.classic.core.states.InitialLayoutProcess.fireReportEvent(InitialLayoutProcess.java:183) at org.pentaho.reporting.engine.classic.core.states.SubLayoutProcess.fireReportEvent(SubLayoutProcess.java:257) at org.pentaho.reporting.engine.classic.core.states.process.ProcessState.fireReportEvent(ProcessState.java:984) at org.pentaho.reporting.engine.classic.core.states.process.ProcessDetailsHandler.advance(ProcessDetailsHandler.java:46) at org.pentaho.reporting.engine.classic.core.states.process.ProcessState.advance(ProcessState.java:801) at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.processPaginationLevel(AbstractReportProcessor.java:642) at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.prepareReportProcessing(AbstractReportProcessor.java:442) at org.pentaho.reporting.engine.classic.core.modules.output.pageable.graphics.PrintReportProcessor.getNumberOfPages(PrintReportProcessor.java:77) at org.pentaho.reporting.engine.classic.core.modules.gui.base.PreviewPane$RepaginationRunnable.run(PreviewPane.java:266) at org.pentaho.reporting.engine.classic.core.util.Worker.run(Worker.java:174)
    via by Gretchen Moran,
  • Steps to reproduce: 1. Download the attached CSV file and configuration file 2. Import into JIRA by using CSV Importer The invalid date format exception will be thrown in the first time when importing the data. {noformat} 2008-01-16 16:36:56,564 Thread-33 INFO [imports.importer.impl.ImportLogger] ************************************************************** (0.0s) 2008-01-16 16:36:56,564 Thread-33 INFO [imports.importer.impl.ImportLogger] IMPORTING STARTED (0.0s) 2008-01-16 16:36:56,564 Thread-33 INFO [imports.importer.impl.ImportLogger] ************************************************************** (0.0s) 2008-01-16 16:36:56,564 Thread-33 INFO [imports.importer.impl.ImportLogger] (0.0s) 2008-01-16 16:36:56,564 Thread-33 INFO [imports.importer.impl.ImportLogger] Importing with ImportBeanType: com.atlassian.jira.imports.csv.CsvDataBean (0.0s) 2008-01-16 16:36:56,564 Thread-33 INFO [imports.importer.impl.ImportLogger] (0.0s) 2008-01-16 16:36:56,565 Thread-33 INFO [imports.importer.impl.ImportLogger] -------------------------- (0.0010s) 2008-01-16 16:36:56,565 Thread-33 INFO [imports.importer.impl.ImportLogger] Importing of Users started (0.0010s) 2008-01-16 16:36:56,565 Thread-33 INFO [imports.importer.impl.ImportLogger] Only new Users will be imported (0.0010s) 2008-01-16 16:36:56,565 Thread-33 INFO [imports.importer.impl.ImportLogger] FAILED: Unexpected failure occurred. Importer will stop immediately. Data maybe in an unstable state (0.0010s) 2008-01-16 16:36:56,566 Thread-33 INFO [imports.importer.impl.ImportLogger] java.lang.IllegalArgumentException: Illegal pattern character 'Y' at java.text.SimpleDateFormat.compile(SimpleDateFormat.java:678) at java.text.SimpleDateFormat.initialize(SimpleDateFormat.java:497) at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:446) at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:427) at com.atlassian.jira.imports.csv.PropertiesCsvMapper.init(PropertiesCsvMapper.java:50) at com.atlassian.jira.imports.csv.MindProdCsvProvider.startSession(MindProdCsvProvider.java:48) at com.atlassian.jira.imports.csv.CsvDataBean.populateCache(CsvDataBean.java:122) at com.atlassian.jira.imports.csv.CsvDataBean.refreshCache(CsvDataBean.java:105) at com.atlassian.jira.imports.csv.CsvDataBean.getUsers(CsvDataBean.java:251) at com.atlassian.jira.imports.importer.impl.DefaultJiraDataImporter.importUsers(DefaultJiraDataImporter.java:223) at com.atlassian.jira.imports.importer.impl.DefaultJiraDataImporter.doImport(DefaultJiraDataImporter.java:94) at com.atlassian.jira.imports.importer.impl.ImporterThread.run(ImporterThread.java:21) (0.0020s) 2008-01-16 16:36:56,566 Thread-33 INFO [imports.importer.impl.ImportLogger] Flushing issue cache (0.0020s) 2008-01-16 16:36:56,574 Thread-33 INFO [imports.importer.impl.ImportLogger] No issues need to be reindexed. (0.0090s) 2008-01-16 16:36:56,574 Thread-33 INFO [imports.importer.impl.ImportLogger] (0.01s) 2008-01-16 16:36:56,574 Thread-33 INFO [imports.importer.impl.ImportLogger] ************************************************************** (0.01s) 2008-01-16 16:36:56,574 Thread-33 INFO [imports.importer.impl.ImportLogger] IMPORTING FINISHED (0.01s) 2008-01-16 16:36:56,574 Thread-33 INFO [imports.importer.impl.ImportLogger] ************************************************************** (0.01s) {noformat} 3. Try to run the CSV Importer again with the same files (without making any changes to the date format). There is no invalid date format exception being thrown. {noformat} 2008-01-16 16:37:20,981 Thread-36 INFO [imports.importer.impl.ImportLogger] ************************************************************** (0.0s) 2008-01-16 16:37:20,981 Thread-36 INFO [imports.importer.impl.ImportLogger] IMPORTING STARTED (0.0s) 2008-01-16 16:37:20,981 Thread-36 INFO [imports.importer.impl.ImportLogger] ************************************************************** (0.0s) 2008-01-16 16:37:20,981 Thread-36 INFO [imports.importer.impl.ImportLogger] (0.0s) 2008-01-16 16:37:20,981 Thread-36 INFO [imports.importer.impl.ImportLogger] Importing with ImportBeanType: com.atlassian.jira.imports.csv.CsvDataBean (0.0s) 2008-01-16 16:37:20,982 Thread-36 INFO [imports.importer.impl.ImportLogger] (0.0010s) 2008-01-16 16:37:20,982 Thread-36 INFO [imports.importer.impl.ImportLogger] -------------------------- (0.0010s) 2008-01-16 16:37:20,982 Thread-36 INFO [imports.importer.impl.ImportLogger] Importing of Users started (0.0010s) 2008-01-16 16:37:20,982 Thread-36 INFO [imports.importer.impl.ImportLogger] Only new Users will be imported (0.0010s) 2008-01-16 16:37:20,982 Thread-36 INFO [imports.importer.impl.ImportLogger] 0 users associated with import. (0.0010s) 2008-01-16 16:37:20,982 Thread-36 INFO [imports.importer.impl.ImportLogger] 0 users successfully imported. (0.0010s) 2008-01-16 16:37:20,982 Thread-36 INFO [imports.importer.impl.ImportLogger] Importing of Users finished (0.0010s) 2008-01-16 16:37:20,982 Thread-36 INFO [imports.importer.impl.ImportLogger] --------------------------- (0.0010s) 2008-01-16 16:37:20,983 Thread-36 INFO [imports.importer.impl.ImportLogger] Retrieving projects... (0.0020s) 2008-01-16 16:37:20,983 Thread-36 INFO [imports.importer.impl.ImportLogger] No projects were found to import (0.0020s) 2008-01-16 16:37:20,983 Thread-36 INFO [imports.importer.impl.ImportLogger] Flushing issue cache (0.0020s) 2008-01-16 16:37:20,986 Thread-36 INFO [imports.importer.impl.ImportLogger] No issues need to be reindexed. (0.0050s) 2008-01-16 16:37:20,986 Thread-36 INFO [imports.importer.impl.ImportLogger] (0.0050s) 2008-01-16 16:37:20,986 Thread-36 INFO [imports.importer.impl.ImportLogger] ************************************************************** (0.0050s) 2008-01-16 16:37:20,986 Thread-36 INFO [imports.importer.impl.ImportLogger] IMPORTING FINISHED (0.0050s) 2008-01-16 16:37:20,987 Thread-36 INFO [imports.importer.impl.ImportLogger] ************************************************************** (0.0060s) {noformat} This behavior is quite weird. The problem should be handled more consistently.
    via by Chai Ying Chan [Atlassian],
  • SQL Data Isertion Issues
    via GitHub by asalinas212
    ,
    • java.lang.ExceptionInInitializerError at jd.Launcher.mainStart(Launcher.java:213) at jd.Main.main(Main.java:56) Caused by: java.lang.IllegalArgumentException: Illegal pattern character 'Y' at java.text.SimpleDateFormat.compile(Unknown Source) at java.text.SimpleDateFormat.initialize(Unknown Source) at java.text.SimpleDateFormat.<init>(Unknown Source) at java.text.SimpleDateFormat.<init>(Unknown Source) at org.jdownloader.logging.LogController.<init>(LogController.java:70) at org.jdownloader.logging.LogController.<clinit>(LogController.java:28) ... 2 more

    Users with the same issue

    Omya
    Omya7 times, last one,
    maxxi
    maxxi2 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    6 more bugmates