Windows not displaying

xerty's Avatar

xerty

12 May, 2009 02:43 PM

As the Get Satisfaction forum seems to be dead I will transfer my problem over to here (hope that is acceptable). Original posting : http://getsatisfaction.com/theinfinitekind/topics/windows_not_displaying Here is a transcript from the old forum :


ME = I've got a problem that has been there since I started using MoneyDance. When I've used the program for a short while (a matter of minutes), when I open a new window (say the splits window, the reminders window, the reconcile window, etc) the window is blank. I have to restart the program to get it working again. This will solve the problem for a short while but then it happens again. As you can imagine, this gets very frustrating when I have several things to do. Has anyone else experiences this ? Has anyone got any suggestions for me to stop this happening ?

TIA xerty


Raimund Buchholz, Employee = would you mind giving us some more information like OS, JRE, MD version?

There are known problems with java and activated desktop effects (compiz/beryl) e.g. under Ubuntu


ME = ah yeah - sorry about that Raimund. Windows Vista 32 Home Premium SP1 MD 2008r3 (629) Java 1.6.0_11


Raimund Buchholz, Employee = hmm, no idea... maybe to few heap memory (that's a special java setting) or again destop effects (but I don't own Vista to test that)

btw. you may update to MD 631 if you like (it's a stable one) (or even try 635...)


Raimund Buchholz, Employee = you could start MD from a commandline/shell to see if there are some java exceptions (java -cp xxx.jar, xxy.jar -jar MD.jar) or try this extension http://getsatisfaction.com/theinfinit...


ME = Ok, here is the result from the Debugger. Hopefully you can see something :

Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space at java.awt.image.DataBufferInt.(Unknown Source) at java.awt.image.Raster.createPackedRaster(Unknown Source) at java.awt.image.DirectColorModel.createCompatibleWritableRaster(Unknown Source) at sun.awt.image.SunVolatileImage.getBackupImage(Unknown Source) at sun.awt.image.VolatileSurfaceManager.getBackupSurface(Unknown Source) at sun.awt.image.VolatileSurfaceManager.initialize(Unknown Source) at sun.awt.image.SunVolatileImage.(Unknown Source) at sun.awt.image.SunVolatileImage.(Unknown Source) at sun.awt.image.SunVolatileImage.(Unknown Source) at sun.awt.image.SunVolatileImage.(Unknown Source) at sun.awt.windows.WComponentPeer.createVolatileImage(Unknown Source) at java.awt.Component.createVolatileImage(Unknown Source) at java.awt.Component$BltBufferStrategy.createBackBuffers(Unknown Source) at java.awt.Component$BltBufferStrategy.(Unknown Source) at java.awt.Component$BltSubRegionBufferStrategy.(Unknown Source) at java.awt.Component.createBufferStrategy(Unknown Source) at java.awt.Window.createBufferStrategy(Unknown Source) at javax.swing.BufferStrategyPaintManager$BufferInfo.createBufferStrategy(Unknown Source) at javax.swing.BufferStrategyPaintManager$BufferInfo.createBufferStrategy(Unknown Source) at javax.swing.BufferStrategyPaintManager$BufferInfo.getBufferStrategy(Unknown Source) at javax.swing.BufferStrategyPaintManager.prepare(Unknown Source) at javax.swing.BufferStrategyPaintManager.paint(Unknown Source) at javax.swing.RepaintManager.paint(Unknown Source) at javax.swing.JComponent.paint(Unknown Source) at java.awt.GraphicsCallback$PaintCallback.run(Unknown Source) at sun.awt.SunGraphicsCallback.runOneComponent(Unknown Source) at sun.awt.SunGraphicsCallback.runComponents(Unknown Source) at java.awt.Container.paint(Unknown Source) at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source) at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source) at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source) at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source) Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space at java.awt.image.DataBufferInt.(Unknown Source) at java.awt.image.Raster.createPackedRaster(Unknown Source) at java.awt.image.DirectColorModel.createCompatibleWritableRaster(Unknown Source) at sun.awt.image.SunVolatileImage.getBackupImage(Unknown Source) at sun.awt.image.VolatileSurfaceManager.getBackupSurface(Unknown Source) at sun.awt.image.VolatileSurfaceManager.initialize(Unknown Source) at sun.awt.image.SunVolatileImage.(Unknown Source) at sun.awt.image.SunVolatileImage.(Unknown Source) at sun.awt.image.SunVolatileImage.(Unknown Source) at sun.awt.image.SunVolatileImage.(Unknown Source) at sun.awt.windows.WComponentPeer.createVolatileImage(Unknown Source) at java.awt.Component.createVolatileImage(Unknown Source) at java.awt.Component$BltBufferStrategy.createBackBuffers(Unknown Source) at java.awt.Component$BltBufferStrategy.(Unknown Source) at java.awt.Component$BltSubRegionBufferStrategy.(Unknown Source) at java.awt.Component.createBufferStrategy(Unknown Source) at java.awt.Window.createBufferStrategy(Unknown Source) at javax.swing.BufferStrategyPaintManager$BufferInfo.createBufferStrategy(Unknown Source) at javax.swing.BufferStrategyPaintManager$BufferInfo.createBufferStrategy(Unknown Source) at javax.swing.BufferStrategyPaintManager$BufferInfo.getBufferStrategy(Unknown Source) at javax.swing.BufferStrategyPaintManager.prepare(Unknown Source) at javax.swing.BufferStrategyPaintManager.paint(Unknown Source) at javax.swing.RepaintManager.paint(Unknown Source) at javax.swing.JComponent.paint(Unknown Source) at java.awt.GraphicsCallback$PaintCallback.run(Unknown Source) at sun.awt.SunGraphicsCallback.runOneComponent(Unknown Source) at sun.awt.SunGraphicsCallback.runComponents(Unknown Source) at java.awt.Container.paint(Unknown Source) at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source) at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source) at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source) at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source) Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space at java.awt.image.DataBufferInt.(Unknown Source) at java.awt.image.Raster.createPackedRaster(Unknown Source) at java.awt.image.DirectColorModel.createCompatibleWritableRaster(Unknown Source) at sun.awt.image.SunVolatileImage.getBackupImage(Unknown Source) at sun.awt.image.VolatileSurfaceManager.getBackupSurface(Unknown Source) at sun.awt.image.VolatileSurfaceManager.initialize(Unknown Source) at sun.awt.image.SunVolatileImage.(Unknown Source) at sun.awt.image.SunVolatileImage.(Unknown Source) at sun.awt.image.SunVolatileImage.(Unknown Source) at sun.awt.image.SunVolatileImage.(Unknown Source) at sun.awt.windows.WComponentPeer.createVolatileImage(Unknown Source) at java.awt.Component.createVolatileImage(Unknown Source) at java.awt.Component$BltBufferStrategy.createBackBuffers(Unknown Source) at java.awt.Component$BltBufferStrategy.(Unknown Source) at java.awt.Component$BltSubRegionBufferStrategy.(Unknown Source) at java.awt.Component.createBufferStrategy(Unknown Source) at java.awt.Window.createBufferStrategy(Unknown Source) at javax.swing.BufferStrategyPaintManager$BufferInfo.createBufferStrategy(Unknown Source) at javax.swing.BufferStrategyPaintManager$BufferInfo.createBufferStrategy(Unknown Source) at javax.swing.BufferStrategyPaintManager$BufferInfo.getBufferStrategy(Unknown Source) at javax.swing.BufferStrategyPaintManager.prepare(Unknown Source) at javax.swing.BufferStrategyPaintManager.paint(Unknown Source) at javax.swing.RepaintManager.paint(Unknown Source) at javax.swing.JComponent.paint(Unknown Source) at java.awt.GraphicsCallback$PaintCallback.run(Unknown Source) at sun.awt.SunGraphicsCallback.runOneComponent(Unknown Source) at sun.awt.SunGraphicsCallback.runComponents(Unknown Source) at java.awt.Container.paint(Unknown Source) at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source) at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source) at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source) at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source) Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space at java.awt.image.DataBufferInt.(Unknown Source) at java.awt.image.Raster.createPackedRaster(Unknown Source) at java.awt.image.DirectColorModel.createCompatibleWritableRaster(Unknown Source) at sun.awt.image.SunVolatileImage.getBackupImage(Unknown Source) at sun.awt.image.VolatileSurfaceManager.getBackupSurface(Unknown Source) at sun.awt.image.VolatileSurfaceManager.initialize(Unknown Source) at sun.awt.image.SunVolatileImage.(Unknown Source) at sun.awt.image.SunVolatileImage.(Unknown Source) at sun.awt.image.SunVolatileImage.(Unknown Source) at sun.awt.image.SunVolatileImage.(Unknown Source) at sun.awt.windows.WComponentPeer.createVolatileImage(Unknown Source) at java.awt.Component.createVolatileImage(Unknown Source) at java.awt.Component$BltBufferStrategy.createBackBuffers(Unknown Source) at java.awt.Component$BltBufferStrategy.(Unknown Source) at java.awt.Component$BltSubRegionBufferStrategy.(Unknown Source) at java.awt.Component.createBufferStrategy(Unknown Source) at java.awt.Window.createBufferStrategy(Unknown Source) at javax.swing.BufferStrategyPaintManager$BufferInfo.createBufferStrategy(Unknown Source) at javax.swing.BufferStrategyPaintManager$BufferInfo.createBufferStrategy(Unknown Source) at javax.swing.BufferStrategyPaintManager$BufferInfo.getBufferStrategy(Unknown Source) at javax.swing.BufferStrategyPaintManager.prepare(Unknown Source) at javax.swing.BufferStrategyPaintManager.paint(Unknown Source) at javax.swing.RepaintManager.paint(Unknown Source) at javax.swing.JComponent.paint(Unknown Source) at java.awt.GraphicsCallback$PaintCallback.run(Unknown Source) at sun.awt.SunGraphicsCallback.runOneComponent(Unknown Source) at sun.awt.SunGraphicsCallback.runComponents(Unknown Source) at java.awt.Container.paint(Unknown Source) at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source) at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source) at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source) at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)


Raimund Buchholz, Employee = as you can see, it's a java heap space problem...

you cloud probably modify the startup script and add/change below java settings (make them bigger) -Xms"initial heap size" -Xmx"maximum heap size" esp. for the second setting you should try -Xmx256m

how did you install MD, how do you start MD? Are there other java apps loaded concurrently?


ME = Installed via MD installer many months ago. Used to be a Quicken user and transferred my data successfully over. I'm not 100% sure, but I think I originally had this installed on my previous Windows XP system. Can't remember if the problem was present on that system though.

I start MD via the Start menu shortcut which was created during installation. The shortcut points to Moneydance.exe

No other java apps loaded as far as I am aware. I just tried starting windows in safe mode and running MD, but the problem persists.

How do I go about changing the startup script ? I thought that adding -Xmx256m to the end of the shortcut Target field would accomplish it as so : "C:__1 Apps\Program Files\Moneydance\Moneydance.exe" -Xmx256m Program started ok but problem persisted. Was that the correct way to go about this ? How do I know if anything has changed (apart from the problem being eliminated) ?

Many thanks for the help so far Raimund.


Raimund Buchholz, Employee = Windows has nothing to do with that as it is a java problem - because of that using safe mode does not help the proposed setting is a jave one, so on commandline it would look similar to this: "java -cp xxx.jar,xxy.jar -Xmx256m -jar md.jar" Because you use the app launcher "Moneydance.exe", the setting doesn't get trough...

Someone else has to jump in to tell us where the startup-script is moneydance.exe relies on... in the meantime I'll try to install MD using Wine...


ME = I used safe mode to make sure that only moneydance was running :)


ME = Anyone know how to accomplish the commandline settings Raimund details above ?


  1. 1 Posted by Brian Adler on 14 May, 2009 03:14 AM

    Brian Adler's Avatar

    Xerty, How much RAM does your system have? Have you installed any software that tweaks Windows appearance or function in any way? We're looking into this issue and that information would be helpful. Sincerely, Brian Moneydance Support

  2. 2 Posted by xerty on 14 May, 2009 09:35 PM

    xerty's Avatar

    I have 4GB of ram. No tweaking software afaik. Any help gratefully appreciated.

  3. 3 Posted by prau53 on 15 May, 2009 08:27 PM

    prau53's Avatar

    I have the same problem, when I click on a function and a dialogue box appears, the dialog box is blank. If I go back and click the function again, the dialog box might appear normally or it might appear blank again. This happens with all the dialog boxes, including reconcile and the log-in box. I am using Moneydance 2008R3 (631) with java 1.6.0-07 with Firefox 3.0.10 running on Ubuntu 8.04 with Linux kernel 2.6.24-24 generic and Gnome 2.22.3. I have 2 GiB memory.

    In frustration, I attempted to export my data to Gnu-cash. Gnu-cash refused to import the resulting file saying that it was not in a QIF format.

  4. 4 Posted by Ben Spencer on 16 May, 2009 03:58 AM

    Ben Spencer's Avatar

    In response to prau53

    The problem you are describing is caused by something quite different. The version of Java you are using has a bug that prevents it from interacting correctly with the compiz window manager that comes with ubuntu 8.04. If you turn off special effects in gnome the problem goes away. The good news is that in the latest release of Java the bug is fixed. I had this same problem with ubuntu 8.04 and after upgrading to 9.04 all is well.

    Sincerely

    Ben Spencer

  5. 5 Posted by xerty on 29 Aug, 2009 02:52 PM

    xerty's Avatar

    I still have this problem and would really really like to get it sorted, as it is making me consider looking for an alternative to MD, which would be a shame as this is the only fault I have with it at the moment.
    Currently using MD 2008r4 (640)
    Any suggestions ?

    Thanks,
    xerty

  6. 6 Posted by Raimund Buchhol... on 29 Aug, 2009 06:38 PM

    Raimund Buchholz's Avatar

    Hi xerty

    you could again try to apply different settings for Java heap memory
    see
    http://help.infinitekind.com/faqs/frequently-asked-questions-2/make...
    (links to)
    http://moneydance.com/trac/ticket/770

    btw. the latest Sun JRE should be 1.6-14, MD build is 641 (I don't expect 641 to resolve your problem),
    but setting 256MB for heap memory should be a good starting point

  7. 7 Posted by xerty on 30 Aug, 2009 02:20 PM

    xerty's Avatar

    Hi Raimund.
    Looks like we are still at logger-heads with how to accomplish the changing of the java settings.
    I looked at the links you provided and they do not help me as I use Vista. The Linux option allows changing of the java settings, but how do I accomplish this in Windows Vista ?
    There must be a way of doing it, but I am still as stumped as last time.
    I even had a look at the config.dict file in the .moneydance folder, which I believe is the config file. But could not find anything obvious in there.
    It may have something to do with the moneydance.jar file in the main moneydance folder. But again, I could not find anything obvious when I opened it up with Wordpad.
    So, we are back to needing to find a way to change the java heap memory setting that you suggest.

    Oh, I have also downloaded and installed Java Version 6 Update 15. Problem still present :(

    Any ideas welcomed,
    xerty.

  8. 8 Posted by Raimund Buchhol... on 31 Aug, 2009 07:33 AM

    Raimund Buchholz's Avatar

    Hi xerty,

    don't understand why applying additional settings does not work for you - as someone in trac ticket 770 mentioned he still has it working with Vista - the setting should probably look like "-J-Xmx256m"

    additionally you can start MD using a commandline... (cmd.exe)
    you may "cd" to MD's installation directory and then spawn MD using something similar to this:
    java -cp path_to md_libs-xx.jar;path_to md_libs-xy.jar;... -Xmx... -jar moneydance.jar

    this way, you also can see directly in the commandline window if/when something goes wrong

    you are right about config.dict - it holds the moneydance settings - but no java specific things there. moneydance.jar itself is the main application, it is a zipped file - you can open it with e.g. Winzip to see what java and additional files moneydance makes use of.

    Raimund

  9. 9 Posted by xerty on 31 Aug, 2009 04:01 PM

    xerty's Avatar

    Hi Raimund,

    Success !!
    The vital missing piece of info was the "-J-"
    I changed the shortcut target to :

    "C:__1 Apps\Program Files\Moneydance\Moneydance.exe" -J-Xmx256m

    and now not only do the windows display perfectly, the whole program runs a lot of faster.
    What a difference.
    Moneydance feels much more usable now.
    Many thanks for sticking with me to resolve this problem.
    Hopefully this will help any others having this problem too.

    Thanks,
    xerty.

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