[#3340] - Parameters prompt Date format and Time format broken in iReport 5.5.0

Category:
Bug report
Priority:
Normal
Status:
New
Project: Severity:
Minor
Resolution:
Open
Component: Reproducibility:
Always
Assigned to:

When a format for parameter prompts is configured in "Options"->"Compilation and execution"->"Parameters prompt", previewing a report with time parameters fails with the following exception:

java.lang.reflect.InvocationTargetException
      at java.awt.EventQueue.invokeAndWait(EventQueue.java:1055)
      at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1326)
      at com.jaspersoft.ireport.designer.compiler.prompt.Prompter.promptForParameters(Prompter.java:311)
      at com.jaspersoft.ireport.designer.compiler.IReportCompiler.run(IReportCompiler.java:720)
      at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572)
      at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)
  Caused by: java.lang.NullPointerException
      at java.util.Arrays$ArrayList.<init>(Arrays.java:3357)
      at java.util.Arrays.asList(Arrays.java:3343)
      at com.jaspersoft.ireport.designer.compiler.prompt.JDateTimePicker.setDateFormat(JDateTimePicker.java:67)
      at com.jaspersoft.ireport.designer.compiler.prompt.PromptDialog.setParameter(PromptDialog.java:160)
      at com.jaspersoft.ireport.designer.compiler.prompt.Prompter$1.run(Prompter.java:72)
      at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
      at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:646)
      at java.awt.EventQueue.access$000(EventQueue.java:84)
      at java.awt.EventQueue$1.run(EventQueue.java:607)
      at java.awt.EventQueue$1.run(EventQueue.java:605)
      at java.security.AccessController.doPrivileged(Native Method)
     at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
     at java.awt.EventQueue.dispatchEvent(EventQueue.java:616)
     at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104)
     at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
     at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
     at java.awt.EventDispatchThread.run(EventDispatchThread.java:122) 

v5.5.0
iReport Designer
tiburon's picture
12
Joined: Nov 15 2011 - 1:11pm
Last seen: 6 years 11 months ago
Feedback
randomness