java.lang.IllegalArgumentException: Illegal pattern character 'Y'

Pentaho BI Platform Tracking | Gretchen Moran | 7 years ago
  1. 0

    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)

    Pentaho BI Platform Tracking | 7 years ago | Gretchen Moran
    java.lang.IllegalArgumentException: Illegal pattern character 'Y'
  2. 0

    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)

    Pentaho BI Platform Tracking | 7 years ago | Gretchen Moran
    java.lang.IllegalArgumentException: Illegal pattern character 'Y'
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Servoy Talk • View topic - Web client questions from a beginners

    servoy.com | 1 year ago
    org.apache.wicket.WicketRuntimeException: Exception in rendering component: [MarkupContainer [Component id = 0, page = com.servoy.j2db.server.headlessclient.MainPage, path = 0:servoy_page:servoy_dataform:forms:0:webform:servoywebform:View:sv_09185e96_0ade_4a3b_ba75_dfe86d65d685:sv_e62e7582_e085_41a5_a0cf_ff6d41614b47:webform:servoywebform:View:rows:0.ListItem, isVisible = true, isVersioned = true]]
  5. 0

    Java DateFormat

    Stack Overflow | 6 years ago | Achilles
    java.lang.IllegalArgumentException: Illegal pattern character 'Y'

  1. maxxi 2 times, last 2 months ago
  2. Bassiuz 3 times, last 5 months ago
  3. Ranjana Dangol 26 times, last 5 months ago
  4. mrPet 102 times, last 7 months ago
5 unregistered visitors
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.lang.IllegalArgumentException

    Illegal pattern character 'Y'

    at java.text.SimpleDateFormat.compile()
  2. Java RT
    SimpleDateFormat.<init>
    1. java.text.SimpleDateFormat.compile(SimpleDateFormat.java:696)
    2. java.text.SimpleDateFormat.initialize(SimpleDateFormat.java:515)
    3. java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:464)
    3 frames
  3. org.pentaho.reporting
    Worker.run
    1. org.pentaho.reporting.engine.classic.core.filter.types.DateFieldType.getValue(DateFieldType.java:183)
    2. org.pentaho.reporting.engine.classic.core.layout.DefaultLayoutBuilder.computeValue(DefaultLayoutBuilder.java:434)
    3. org.pentaho.reporting.engine.classic.core.layout.DefaultLayoutBuilder.add(DefaultLayoutBuilder.java:249)
    4. org.pentaho.reporting.engine.classic.core.layout.AbstractRenderer.add(AbstractRenderer.java:788)
    5. org.pentaho.reporting.engine.classic.core.layout.output.DefaultOutputFunction.print(DefaultOutputFunction.java:1042)
    6. org.pentaho.reporting.engine.classic.core.layout.output.RelationalGroupOutputHandler.itemsAdvanced(RelationalGroupOutputHandler.java:77)
    7. org.pentaho.reporting.engine.classic.core.layout.output.DefaultOutputFunction.itemsAdvanced(DefaultOutputFunction.java:340)
    8. org.pentaho.reporting.engine.classic.core.states.InitialLayoutProcess.fireItemsAdvancedEvent(InitialLayoutProcess.java:236)
    9. org.pentaho.reporting.engine.classic.core.states.InitialLayoutProcess.fireReportEvent(InitialLayoutProcess.java:183)
    10. org.pentaho.reporting.engine.classic.core.states.SubLayoutProcess.fireReportEvent(SubLayoutProcess.java:257)
    11. org.pentaho.reporting.engine.classic.core.states.process.ProcessState.fireReportEvent(ProcessState.java:984)
    12. org.pentaho.reporting.engine.classic.core.states.process.ProcessDetailsHandler.advance(ProcessDetailsHandler.java:46)
    13. org.pentaho.reporting.engine.classic.core.states.process.ProcessState.advance(ProcessState.java:801)
    14. org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.processPaginationLevel(AbstractReportProcessor.java:642)
    15. org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.prepareReportProcessing(AbstractReportProcessor.java:442)
    16. org.pentaho.reporting.engine.classic.core.modules.output.pageable.graphics.PrintReportProcessor.getNumberOfPages(PrintReportProcessor.java:77)
    17. org.pentaho.reporting.engine.classic.core.modules.gui.base.PreviewPane$RepaginationRunnable.run(PreviewPane.java:266)
    18. org.pentaho.reporting.engine.classic.core.util.Worker.run(Worker.java:174)
    18 frames