Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Printing the Schedule (Read 4084 times)
Brock
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 8
Joined: Jun 1st, 2015
Printing the Schedule
Sep 2nd, 2016 at 3:55pm
Print Post  
What is the best way to print the schedule, if possible?

I tried using the printPreview() calendar method but get an exception:

input == null!

The calendar displays and works normally. Not sure what it is missing. Any suggestions? Thank you !
  
Back to top
 
IP Logged
 
Slavcho
God Member
*****
Offline


tech.support

Posts: 3147
Joined: Oct 19th, 2005
Re: Printing the Schedule
Reply #1 - Sep 2nd, 2016 at 6:35pm
Print Post  
Could you post the exception's stack trace?

Regards,
Slavcho
Mindfusion
  
Back to top
 
IP Logged
 
Brock
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 8
Joined: Jun 1st, 2015
Re: Printing the Schedule
Reply #2 - Sep 3rd, 2016 at 5:06pm
Print Post  
Here is the stack trace. JDK 1.7u55. JPlanner purchased 8/29/2014. Tried on Windows 7 and windows 10. Really appreciate your quick response and help!

java.lang.IllegalArgumentException: input == null!
     at javax.imageio.ImageIO.read(ImageIO.java:1348)
     at com.mindfusion.scheduling.awt.PrintPreview.createImageIcon(PrintPreview.java:660
)
     at com.mindfusion.scheduling.awt.PrintPreview.a(PrintPreview.java:119)
     at com.mindfusion.scheduling.awt.PrintPreview.<init>(PrintPreview.java:52)
     at com.mindfusion.scheduling.awt.PrintPreview.<init>(PrintPreview.java:30)
     at com.mindfusion.scheduling.awt.AwtCalendar.printPreview(AwtCalendar.java:178)
     at com.mapcon.mcnclnt.jmmclnt.cstclnt.CustomCDCSnapshotViewData.pbPrintCalendar(Cus
tomCDCSnapshotViewData.java:1551)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:43)
     at java.lang.reflect.Method.invoke(Method.java:606)
     at com.mapcon.mcnclnt.MapconOptions.Execute(MapconOptions.java:372)
     at com.mapcon.mcnclnt.MapconOptionsProcess.Execute(MapconOptionsProcess.java:24)
     at com.mapcon.mcnclnt.MapconOptions.SystemExecute(MapconOptions.java:212)
     at com.mapcon.mcnclnt.MapconControls.ExecuteOption(MapconControls.java:1945)
     at com.mapcon.mcnclnt.MapconControls.ExecuteOption(MapconControls.java:1773)
     at com.mapcon.mcnclnt.MapconButton.doOption(MapconButton.java:189)
     at com.mapcon.mcnclnt.MapconButton.MouseReleased(MapconButton.java:957)
     at com.mapcon.mcnclnt.MapconWindows.ButtonMouseReleased(MapconWindows.java:2210)
     at com.mapcon.mcnclnt.MapconWindows$ButtonMouse.mouseReleased(MapconWindows.java:30
9)
     at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:290)
     at java.awt.Component.processMouseEvent(Component.java:6505)
     at javax.swing.JComponent.processMouseEvent(JComponent.java:3320)
     at java.awt.Component.processEvent(Component.java:6270)
     at java.awt.Container.processEvent(Container.java:2229)
     at java.awt.Component.dispatchEventImpl(Component.java:4861)
     at java.awt.Container.dispatchEventImpl(Container.java:2287)
     at java.awt.Component.dispatchEvent(Component.java:4687)
     at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
     at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
     at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
     at java.awt.Container.dispatchEventImpl(Container.java:2273)
     at java.awt.Window.dispatchEventImpl(Window.java:2719)
     at java.awt.Component.dispatchEvent(Component.java:4687)
     at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)
     at java.awt.EventQueue.access$200(EventQueue.java:103)
     at java.awt.EventQueue$3.run(EventQueue.java:694)
     at java.awt.EventQueue$3.run(EventQueue.java:692)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:7
6)
     at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:8
7)
     at java.awt.EventQueue$4.run(EventQueue.java:708)
     at java.awt.EventQueue$4.run(EventQueue.java:706)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:7
6)
     at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)
     at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242
)
     at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150
)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
     at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
  
Back to top
 
IP Logged
 
Slavcho
God Member
*****
Offline


tech.support

Posts: 3147
Joined: Oct 19th, 2005
Re: Printing the Schedule
Reply #3 - Sep 5th, 2016 at 2:26pm
Print Post  
Please try the updated build from personal messages page.
  
Back to top
 
IP Logged
 
Brock
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 8
Joined: Jun 1st, 2015
Re: Printing the Schedule
Reply #4 - Sep 7th, 2016 at 4:16pm
Print Post  
Awesome! It worked! You guys are great!

I also want to say how much we are pleased with this product. It works really well with our application. Thanks again! Cheesy
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint