Am getting complete hang of client using global templates, including diagnostics. At time of crash code is producing no errors and resource utilisation etc is normal. Diagnostics hangs at same time.
The template is still very much alpha so is quite crude.
I have attached global template save and a sinle window project that uses the template.
To reproduce fault…run the project in preview and simply mousover the menus. A megamenu popup shoudl appear when you mouseover the buttons.
It all works fine for a while but at some point it just hangs…move your mouse repeatedly over the buttons and for me it crashes in under 30 seconds.
I’ve had issues with JavaWS on my Mac when I had, unbeknownst to me, a couple of different versions of java floating around. When I used the Native Client Launcher, I had no issues whatsoever. Later I found out the multiple java versions issue, resolved that, and haven’t seen those client crashes return since. Might be worth a little inspection, just in case something similar to this is happening to you.
In addition to what kcollins said, there are some bugs relating to OSX Accessibility API that may cause application crashes. I run a few 3rd party tools for documentation and key/mouse interaction, and have seen crashes in designer (and clients) sometimes as a result. Java desktop applications aren’t alone in these crashes, but it does seem to happen more often than with native programs.
If in OSX/MacOS, go to System Preferences -> Security & Privacy -> Accessibility. Uncheck items in there and see if the crashing persists.
In my case: BetterTouchTool, Hyperdock, Dash, Discord and Hipchat all seem to contribute to application crashes through accessibility features on occasion. Most people won’t have anything installed that use Accessibility features, and I don’t think I’ve ever seen a production system running on OSX, so this is mostly geared toward developers who may work on a mac.
Get in touch with support if you continue to have issues, as we aren’t familiar with others seeing the particular problem you describe.
The good news is that testing on windows box with single version of java appears to works as expected so it seems issue may be related to my system (arch linux)
I’ll test on some other linux versions and see if the problem is related to my install or linux in general.
Won’t be the first time Java does weird stuff (write once, debug everywhere )
Related Details:
taro@osiris ~ $ archlinux-java status
Available Java environments:
java-7-openjdk
java-8-openjdk (default)
Could also be an openjdk issue. I’ve been much happier since I changed my standard Linux set up routine to wipe out everything openjdk related and install the official Oracle Java. YMMV.