Can not print after update

Robert MacDonald's Avatar

Robert MacDonald

12 Jan, 2019 07:06 PM

I updated today to the new version of MoneyDance (2019) and can no long print. Even after rebooting, I receive the error shown in the attached, whether trying to print checks or reports. I have no problems printing from other programs. I have Windows 10 and an HP OfficeJet 4630.

  1. Support Staff 1 Posted by Sean Reilly on 12 Jan, 2019 11:11 PM

    Sean Reilly's Avatar

    Hi Robert,

    I'm sorry to hear that the new version seems to have broken your printing! Would it be possible to do the following to help us get a bit more information about the problem?

    1. Start Moneydance and select the Help->Console Window menu
    2. Attempt to print something
    3. Switch to the Console window and copy+paste the contents of it into a response to this message?

    Thanks!

    Sean Reilly
    Developer, The Infinite Kind
    http://infinitekind.com

  2. 2 Posted by Bob and Peggy M... on 12 Jan, 2019 11:47 PM

    Bob and Peggy MacDonald's Avatar

    <html>Error: <b>An unexpected error occurred
    null</b><pre>java.lang.NullPointerException
        at java.desktop/sun.print.RasterPrinterJob.setAttributes(Unknown Source)
        at java.desktop/sun.awt.windows.WPrinterJob.setAttributes(Unknown
    Source)
        at java.desktop/sun.print.RasterPrinterJob.print(Unknown Source)
        at java.desktop/sun.print.RasterPrinterJob.print(Unknown Source)
        at
    com.moneydance.apps.md.view.gui.print.MDPrinter2.print(MDPrinter2.java:116)
        at
    com.moneydance.apps.md.view.gui.reporttool.GraphReportUtil.printReport(GraphReportUtil.java:304)
        at
    com.moneydance.apps.md.view.gui.reporttool.GraphReportUtil.printReport(GraphReportUtil.java:287)
        at
    com.moneydance.apps.md.view.gui.reporttool.GraphReportUtil.printReport(GraphReportUtil.java:275)
        at
    com.moneydance.apps.md.view.gui.graphtool.GraphReportDetailPanel.actionPerformed(GraphReportDetailPanel.java:208)
        at
    com.moneydance.apps.md.view.gui.MDAction.actionPerformed(MDAction.java:156)
        at java.desktop/javax.swing.AbstractButton.fireActionPerformed(Unknown
    Source)
        at
    java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(Unknown
    Source)
        at
    java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(Unknown
    Source)
        at java.desktop/javax.swing.DefaultButtonModel.setPressed(Unknown
    Source)
        at
    com.moneydance.apps.md.view.gui.FlatButtonUI$ButtonListener.mouseReleased(FlatButtonUI.java:516)
        at java.desktop/java.awt.Component.processMouseEvent(Unknown Source)
        at java.desktop/javax.swing.JComponent.processMouseEvent(Unknown Source)
        at java.desktop/java.awt.Component.processEvent(Unknown Source)
        at java.desktop/java.awt.Container.processEvent(Unknown Source)
        at java.desktop/java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
        at
    java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Unknown
    Source)
        at
    java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Unknown
    Source)
        at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Unknown
    Source)
        at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.desktop/java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
        at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
        at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
        at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
        at java.base/java.security.AccessController.doPrivileged(Native Method)
        at
    java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown
    Source)
        at
    java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown
    Source)
        at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
        at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
        at java.base/java.security.AccessController.doPrivileged(Native Method)
        at
    java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown
    Source)
        at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
        at
    java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown
    Source)
        at
    java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown
    Source)
        at
    java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
    Source)
        at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)

    </html>

  3. Support Staff 3 Posted by Sean Reilly on 16 Jan, 2019 04:12 PM

    Sean Reilly's Avatar

    Hi Robert,
    I'm sorry that I've still not figured out what could be the cause of this. I'll continue to investigate, but wanted to check and see if the File -> Page Setup menu displayed the printing page settings window? If you select that menu and update the settings, does printing then begin to work?

    Does printing a transaction register work, or have the same problem?

    Thanks,

    Sean Reilly
    Developer, The Infinite Kind
    http://infinitekind.com

  4. 4 Posted by Bob and Peggy M... on 16 Jan, 2019 05:17 PM

    Bob and Peggy MacDonald's Avatar

    Thanks for continuing to look into this. Yes, I can see the page setup
    window and so changed the left margin from 1 to 1.1. I got the same error
    trying to print a report. I also got the same error trying to print
    transactions from a register.

    Bob

  5. 5 Posted by mhoggie on 16 Jan, 2019 08:43 PM

    mhoggie's Avatar

    Just a user

    How about selecting a different printer and see if the error persists

  6. 6 Posted by Bob and Peggy M... on 16 Jan, 2019 09:42 PM

    Bob and Peggy MacDonald's Avatar

    I don't have another printer. This printer works fine otherwise and worked
    with MoneyDance until the upgrade.

  7. 7 Posted by mhoggie on 16 Jan, 2019 10:06 PM

    mhoggie's Avatar

    Just a user,

    Just wanted to see if you could associate MD with a different printer for 2 reasons. 1st . Just to see if MD would have a problem with any printer. 2nd. Changing printers causes the PC to reassociate print spooler settings which could make your regular printer work again if it was reassociated after changing printers. If you don’t have another printer device I would recommend downloading a PDF printer driver. You can find the at no cost or very inexpensive on the Internet. It allows you to create a virtual printer which will create a PDF file for anything you print to it. Very handy

  8. 8 Posted by Bob and Peggy M... on 16 Jan, 2019 11:24 PM

    Bob and Peggy MacDonald's Avatar

    Of course. PDF is a printer. Yes, I can print to PDF. Went back to the
    OfficeJet, no luck.

  9. 9 Posted by Bob and Peggy M... on 01 Feb, 2019 04:22 PM

    Bob and Peggy MacDonald's Avatar

    Just updated to 2019.1 and am still having this problem.

    Bob

  10. 10 Posted by gerard on 01 Feb, 2019 07:59 PM

    gerard's Avatar

    Me too. I didn't see this thread and opened a new one yesterday but Moneydance are yet to reply. Like you I can create pdf files. You, me and Andrew Paxton (posted today at 4:56pm) are all using HP printers. Interestingly I have two old HP printers installed and it seems that they work. Unforuntately one is dead and the other is at a different location so I cant check for sure but they both allow Moneydance to create a print file and the printing box comes up with the Moneydance document sitting there but with the message that the printer is offline. With my current printer the error message comes up immediately I press the OK print button.

    I know some years ago I had problems with Paperport and HP printers and Paperport help desk said HP drivers were a pain in the a***. Perhaps they still are!

    I think I might revert back to the 216 version I was using before if this can't be fixed.

    Cheers
    Gerard

  11. 11 Posted by Steve on 20 Feb, 2019 08:57 PM

    Steve's Avatar

    I too am getting am error when trying to print since I upgraded to Moneydance 2019. It occurs if I try to print to a physical printer or PDF. The console window shows:

    <html>Error: <b>An unexpected error occurred java.awt.print.PrinterIOException</b><pre>java.awt.print.PrinterIOException
        at java.desktop/sun.print.PSPrinterJob$PrinterSpooler.run(Unknown Source)
        at java.base/java.security.AccessController.doPrivileged(Native Method)
        at java.desktop/sun.print.PSPrinterJob.endDoc(Unknown Source)
        at java.desktop/sun.print.RasterPrinterJob.print(Unknown Source)
        at java.desktop/sun.print.RasterPrinterJob.print(Unknown Source)
        at com.moneydance.apps.md.view.gui.print.MDPrinter2.print(MDPrinter2.java:116)
        at com.moneydance.apps.md.view.gui.reporttool.GraphReportUtil.printReport(GraphReportUtil.java:304)
        at com.moneydance.apps.md.view.gui.reporttool.GraphReportUtil.printReport(GraphReportUtil.java:287)
        at com.moneydance.apps.md.view.gui.reporttool.GraphReportUtil.printReport(GraphReportUtil.java:275)
        at com.moneydance.apps.md.view.gui.graphtool.GraphReportDetailPanel.actionPerformed(GraphReportDetailPanel.java:208)
        at com.moneydance.apps.md.view.gui.MDAction.actionPerformed(MDAction.java:156)
        at java.desktop/javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
        at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
        at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
        at java.desktop/javax.swing.DefaultButtonModel.setPressed(Unknown Source)
        at com.moneydance.apps.md.view.gui.FlatButtonUI$ButtonListener.mouseReleased(FlatButtonUI.java:516)
        at java.desktop/java.awt.Component.processMouseEvent(Unknown Source)
        at java.desktop/javax.swing.JComponent.processMouseEvent(Unknown Source)
        at java.desktop/java.awt.Component.processEvent(Unknown Source)
        at java.desktop/java.awt.Container.processEvent(Unknown Source)
        at java.desktop/java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
        at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
        at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
        at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
        at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.desktop/java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
        at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
        at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
        at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
        at java.base/java.security.AccessController.doPrivileged(Native Method)
        at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
        at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
        at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
        at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
        at java.base/java.security.AccessController.doPrivileged(Native Method)
        at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
        at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)
    Caused by: java.io.IOException: Cannot run program &quot;/usr/bin/lpr&quot;: error=2, No such file or directory
        at java.base/java.lang.ProcessBuilder.start(Unknown Source)
        at java.base/java.lang.ProcessBuilder.start(Unknown Source)
        at java.base/java.lang.Runtime.exec(Unknown Source)
        at java.base/java.lang.Runtime.exec(Unknown Source)
        ... 46 more
    Caused by: java.io.IOException: error=2, No such file or directory
        at java.base/java.lang.ProcessImpl.forkAndExec(Native Method)
        at java.base/java.lang.ProcessImpl.&lt;init&gt;(Unknown Source)
        at java.base/java.lang.ProcessImpl.start(Unknown Source)
        ... 50 more

    </pre>

    </html>

  12. 12 Posted by janskrit on 23 Feb, 2019 03:55 AM

    janskrit's Avatar

    Ditto.

  13. Support Staff 13 Posted by Sean Reilly on 27 Feb, 2019 10:23 PM

    Sean Reilly's Avatar

    Just checking in with a minor update. I've come across others having this same issue with other software that uses the same version of java that ships with moneydance. There's an update to that software that I'll be bundling with a new version of moneydance in the next day or two that might fix the problem. The error is specific to certain printers and their drivers, but I couldn't tell you which specific printers are affected.

    Thanks,

    Sean Reilly
    Developer, The Infinite Kind
    http://infinitekind.com

  14. 14 Posted by Bob and Peggy M... on 27 Feb, 2019 10:26 PM

    Bob and Peggy MacDonald's Avatar

    Ok, thanks! Let me know and I will try it and let you know.

  15. 15 Posted by janskrit on 28 Feb, 2019 01:22 AM

    janskrit's Avatar

    Hi Sean,

    I’m working with Windows 10 with auto updates, HP Officejet 2620 Printer and nothing from Java. I’ve been using Money dance for over a year and ok’ed an update sent from the company about 3-4 weeks ago. The printing problem showed up the next time I tried to use it after that update. Considering taxes being due soon and the reports I need to have done for them, having the printing go out now couldn’t be at a worse time. In the community listings similar printing problem showed up at the same time, including someone who had just purchased the program. I’d be content to uninstall the current version and go back to what I had 4 weeks ago. How can I download that?

    Thanks,

    Jan

  16. 16 Posted by TonyRI on 28 Feb, 2019 02:06 AM

    TonyRI's Avatar
  17. 17 Posted by janskrit on 28 Feb, 2019 02:37 AM

    janskrit's Avatar

    I asked about previous versions (back when it was working for me 3 or 4 weeks back). This is what I got. Good luck.

    https://infinitekind.com/previous-versions-of-moneydance

  18. 18 Posted by Steve on 19 Mar, 2019 02:39 PM

    Steve's Avatar

    Sean Reilly - Any update?

  19. 19 Posted by derekkent23 on 19 Mar, 2019 06:45 PM

    derekkent23's Avatar

    I am not support staff, just a user.

    Hi Steve you don't state which build of 2019 you are running?
    Unless you have it already install try the latest preview build at https://infinitekind.com/preview
    It includes a Java update which fixes some printing issues, worth a try.

    Hope this helps.

  20. 20 Posted by janskrit on 19 Mar, 2019 08:39 PM

    janskrit's Avatar

    I removed the version with the last update (updated over a month ago) and installed the previous version. That took care of the printing problem. From the timing of the failure (immediately after update) and correction (immediately after installing the previous version), the problem seems to be with the update and not interference from other programs, as suggested by other support people.

    Sent from my iPad

  21. 21 Posted by Steve on 19 Mar, 2019 09:04 PM

    Steve's Avatar

    derekkent23 - Thanks for the link to the update. I saw it mentioned but didn't know where to find it. I did install it but am still experiencing printing errors.

  22. 22 Posted by John Wheeler on 17 Apr, 2019 11:33 PM

    John Wheeler's Avatar

    I also had this printing error after updating to the 2019 version. I believe was caused by using the "update an earlier version" option of the install.

    The problem has gone away after I completely removed both the 2017 and 2019 installations and deleted my .moneydance directory, and then, did a clean new installation of the 2019 version and restored my data from the most recent backup.

  23. Support Staff 23 Posted by Sean Reilly on 18 Apr, 2019 09:06 AM

    Sean Reilly's Avatar

    Ooh, this is a very helpful bit of information. The fact that you deleted your .moneydance directory may be the key. If anyone else is still having this problem can you try doing the following?
     1) quit moneydance
     2) renaming the "config.dct" file located in the .moneydance folder to something else, like config.backup
     3) start moneydance and try printing

    I don't think that anything else under the .moneydance folder is likely to be the problem, so hopefully it's limited to the config.dct file. If so, then losing your preferences is a smaller inconvenience than having to reinstall and restore data files from backups.

    Thanks,
    Sean

  24. 24 Posted by John Wheeler on 18 Apr, 2019 12:25 PM

    John Wheeler's Avatar

    Sean,

    Based on your suggestion to hide "config.dct", i removed the
    "config.dict" file in my working 2019 install and replaced it with the
    "config.dict" from the install that could not print. this action did not
    reintroduce the printing error.

    I don't have time to work on this now, but will get back to it in about
    12 hours when I will try to recreate the issue.

    Thank you,

    John

  25. 25 Posted by Steve Schindler on 28 Apr, 2019 06:41 PM

    Steve Schindler's Avatar
    I tried renaming config.dict, but still received a printing error.

    On 4/18/19 8:25 AM, John Wheeler wrote:
    pre { width: 92%; margin: 10px 2%; padding: 5px 2%; background: #efefef; border: 1px solid #d6d6d6 } blockquote { margin-left: 0; padding-left: 1em; border-left: 5px solid #ccc; }

    // Please reply above this line
    ==================================================

    From: John Wheeler

    Sean,

    Based on your suggestion to hide "config.dct", i removed the
    "config.dict" file in my working 2019 install and replaced it with the
    "config.dict" from the install that could not print. this action did not
    reintroduce the printing error.

    I don't have time to work on this now, but will get back to it in about
    12 hours when I will try to recreate the issue.

    Thank you,

    John

    On Thu, Apr 18 at 02:06 AM PDT, Sean Reilly wrote:

    Ooh, this is a very helpful bit of information. The fact that you deleted your .moneydance directory may be the key. If anyone else is still having this problem can you try doing the following?
     1) quit moneydance
     2) renaming the "config.dct" file located in the .moneydance folder to something else, like config.backup
     3) start moneydance and try printing

    I don't think that anything else under the .moneydance folder is likely to be the problem, so hopefully it's limited to the config.dct file. If so, then losing your preferences is a smaller inconvenience than having to reinstall and restore data files from backups.

    Thanks,
    Sean

    Having trouble reading this? View this discussion online: Can not print after update.

    Reply with #ignore to stop receiving notifications for this discussion.


  26. 26 Posted by John Wheeler on 04 May, 2019 01:42 PM

    John Wheeler's Avatar

    I apologize for the delay in returning to this discussion. I am embarrassed to report that I can not recreate the "fix" i said I had found earlier. I apparently had reinstalled the 2017 version of Moneydance and it printed the report to my HP Officejet 8610.
     
    I have found the simplest way to recreate the issue is to install Moneydance 2019, open it and create the "Personal Finances" account set in the welcome screen. With that done, opening any report and printing to the HP returns an error. This shows that nothing in my data was producing the error.

    In the Console Message window the printing error causes a stack dump that starts,
    "MDPRINTER2: default print service: 'Win32 Printer : HP5BDF33 (HP Officejet Pro 8610) (Network)' found after 0.047 seconds
    java.lang.NullPointerException
    at java.desktop/sun.print.RasterPrinterJob.setAttributes(Unknown Source)
    at java.desktop/sun.awt.windows.WPrinterJob.setAttributes(Unknown Source)
    ..."
    Googling on this string, I found these URLs:
    https://bugs.openjdk.java.net/browse/JDK-8186987
    https://bugs.openjdk.java.net/browse/JDK-8221411

    While I do not pretend to understand the code shown at these pages, they both show the issue Status "Resolved", Resolution "Fixed".

    Do they provide sufficient information to correct this issue in Moneydance?

    Thank you,
    John

  27. 27 Posted by janskrit on 05 May, 2019 04:09 AM

    janskrit's Avatar

    Hi John,

     

    I’m sorry you are still having problems. I saw that you had removed the program and then loaded their latest version. What worked for me was very easy, uninstalling the program (allowing all the user data to be saved, i.e. did nothing about it), then loading the previous version (2017) and haven’t accepted any MoneyDance updates since. The previous version found the user data with no effort on my part. That totally resolved my printing problems. I’m running Windows 10 and did the uninstall through Setting>Apps.

     

    Good luck,

    Jan

     

    From: John Wheeler [mailto:[email blocked]]
    Sent: Saturday, May 4, 2019 6:43 AM
    To: [email blocked]
    Subject: Re: Can not print after update [Problems #50207]

     

    // Please reply above this line
    ==================================================

    From: John Wheeler

    I apologize for the delay in returning to this discussion. I am embarrassed to report that I can not recreate the "fix" i said I had found earlier. I apparently had reinstalled the 2017 version of Moneydance and it printed the report to my HP Officejet 8610.
      
    I have found the simplest way to recreate the issue is to install Moneydance 2019, open it and create the "Personal Finances" account set in the welcome screen. With that done, opening any report and printing to the HP returns an error. This shows that nothing in my data was producing the error.

    In the Console Message window the printing error causes a stack dump that starts,
    "MDPRINTER2: default print service: 'Win32 Printer : HP5BDF33 (HP Officejet Pro 8610) (Network)' found after 0.047 seconds
    java.lang.NullPointerException
    at java.desktop/sun.print.RasterPrinterJob.setAttributes(Unknown Source)
    at java.desktop/sun.awt.windows.WPrinterJob.setAttributes(Unknown Source)
    ..."
    Googling on this string, I found these URLs:
    https://bugs.openjdk.java.net/browse/JDK-8186987
    https://bugs.openjdk.java.net/browse/JDK-8221411

    While I do not pretend to understand the code shown at these pages, they both show the issue Status "Resolved", Resolution "Fixed".

    Do they provide sufficient information to correct this issue in Moneydance?

    Thank you,
    John

    On Sun, Apr 28 at 11:41 AM PDT, Steve Schindler wrote:

    I tried renaming config.dict, but still received a printing error.

    On 4/18/19 8:25 AM, John Wheeler wrote:

    pre { width: 92%; margin: 10px 2%; padding: 5px 2%; background: #efefef; border: 1px solid #d6d6d6 } blockquote { margin-left: 0; padding-left: 1em; border-left: 5px solid #ccc; }

  28. Support Staff 28 Posted by Sean Reilly on 05 May, 2019 09:42 PM

    Sean Reilly's Avatar

    Hi John,

    Thanks for trying the fix and I'm very sorry it didn't work. The links you sent were very helpful in figuring out the specific problem. One of them indicates that the issue was "resolved" in an upcoming version of the java SDK that we can use, but it looks like the version in which the issue is resolved won't be released as a stable/production-ready build until a few months in the future. I'm sure it'd be painful to wait that long, so I'll check to see if there's anything I can do to get that fix incorporated into something we can use a little sooner.

    Thanks!
    Sean

  29. System closed this discussion on 04 Aug, 2019 09:50 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac