Eclipse hangs and the JVM terminates in a Swing app incorporating JavaFX

Hi everyone,
I have a situation that is driving me nuts. I am developing a Swing based application which is incorporating some JavaFX components,mainly the TableView and a few layouts. I have wrapped all the javafx components into a common control for use application wide. I am also using an Eclipse plugin (Window Builder Pro) to layout the swing stuff.
Now, my issue is, when I preview the JFrames and other components making use of the said simple custom control referred above, it only allows me to preview the JFrame once, there after Eclipse hangs and the JVM terminates.
After some research, the most likely cause of this is that the reference to jfxrt.jar i have referenced in the project is loading some native dlls which can/should only be loaded once in the lifetime of a JVM. It looks like for some reason, my app is trying to load the native libs after it has already loaded them initially.
The Application needs to be developed in Eclipse so netbeans is not an option.
Am just getting started with maven, i don't have the know to build a project of this complexity with maven.
Has any one encountered this issue and how did they walk around it?
Any assistance would be greatly appreciated.

After further digging around, the actual exception that causes the jvm to terminate is java.lang.UnsatisfiedLinkError due to an attempt to reload \JavaFX_2.0_SDK\rt\bin\mat.dll, anyone knows how to overcome this ?

Similar Messages

  • When I'm on an app, on iso7.1 it will now show the "iPad/iphone" sign the time and the battery whilst running in an app. does anyone know how to get rid of that as its effecting the games i play.

    when I'm on an app, on iso7.1 it will now show the "iPad/iphone" sign - the time - and the battery whilst running in an app. does anyone know how to get rid of that as its effecting the games i play.

    If you can hide the status bar, it would be an option inside the app. I have one or two apps where that is an option but in most apps it is not.

  • Iphone 3s itunes hangs and the screen is unresponsive?

    When I link into the cloud and try to get songs onto my phone , sometimes it just blanks out and hangs. Or track stops and the screen becomes unrespnsive. Home button works but itunes is a zombied gonner.
    Iphone 3s  itunes 10.6.1 (7)
    Makes me think I shall not renew subscription to cloud,,, as it is more iffy than mobile me.

    Try restarting your phone by holding the lock button and home button.

  • UI disappears and the JVM exits

    I have a application running. It runs with a max 512MB vm memory setting. When i select a particular option which in turn spawns another JVM and start one more app. The memory used by the first JVM crosses the specified limit and then the GUI grays out first(components in the frame disappear) and then the entire GUI disappears and both the JVM's are killed subsequently.
    I don't call System.exit() anywhere in my code.
    Is it the OS that kills the JVM by any chance?
    I am running my app on Win2K SP 2.
    Would be really helpfull if u anybody out there give me some pointers to this problem.
    Thanx in advance..:)

    Did you ever find a solution to your problem? We're having a similar problem w/GUIs disappearing w/o a trace. The lack of error messages reminded me of when we had a problem with the console buffer being filled w/messages from a C++ subprocess launched from within our Java GUI. We had to add code to eat the messages from stdout and stderr, and I'm wondering if we're now eating a stack trace or VM panic message.

  • Multi CPU and the JVM

    Hi:
    This question might very simple.
    If my platform has two or more CPU like a Solaris system. Does the JVM take
    advantage of these extra CPU ?
    Cheers
    David L. Wasler
    [email protected]
    860-927-8310

    Yes.
    "David L. Wasler" wrote:
    >
    Hi:
    This question might very simple.
    If my platform has two or more CPU like a Solaris system. Does the JVM take
    advantage of these extra CPU ?
    Cheers
    David L. Wasler
    [email protected]
    860-927-8310--
    Thanks,
    Michael
    -- BEA WebLogic is hiring!
    Check our website: http://www.bea.com/

  • I made the 7.1 update and the artist illustration disappear on music app. How can I do to make them going back?, I made the 7.1 update and the artist illustration disappear on music app. How can I do to make them going back?

    Recently the music app give a photo for each artist you have on your iPhone. I made the update 7.1 and now I just have the album cover like before and the artist's photographies are gone. Anyone have an idea to get it back?
    Thank you

    Check the General -> Restrictions settings and see if perhaps the iTunes app is turned off there. If not, the app may have been inadvertently moved to another home screen or dropped into a folder. Do a search for the app or try resetting the Home screen layout: Choose General > Reset, then tap Reset Home Screen Layout.
    Regards.

  • HT5457 New app upgrades put 1st gen Ipad users out in the cold - Recently DirecTV and The Blaze both upgraded their ipad apps so that only ios 6 and above were compatible - anyone who has a 1st gen ipad cannot upgrade to ios 6  - what is up with this Appl

    So 1st gen ipad users are basiclly left out in the cold unless they go out an buy a new IPad - of course DTV and The Blaze are blaming Apple and Apple is blaming them - what is the deal Apple -  I pay for my subscription to The Blaze in order to have it on my IPad and now I can't even use it - same with DTV - so is Apple now forcing people to buy upgraded devices thru their apps that will no longer support the older generations - what a joke this is and bad business.

    Unfortunately software always moves faster than hardware.
    Apple's not going to change things. You can try talking to those two app developers and have them make their older versions available.
    Beyond that, if you wish to express yourself directly to Apple, http://www.apple.com/feedback/
    This is just a user to user forum, so there's nothing anyone here can do for you I'm afraid.

  • Every time I unmute my iPad, the sound efx does not come back. I can hear my keypad and the on/off sounds but no app sounds.

    Every time I unmute my iPad, the sound efx does not come back. I can hear my keypad and the on/off sounds but I can't here the sounds from deleting photos, clicking on apps that are on my iPad. It does this every time I unmute my iPad. Please advise.

    Hello PearldiamondMD,
    I was thinking of a few recommendations for you. I recommend our iPhone Troubleshooting Assistant found here http://www.apple.com/support/iphone/assistant/phone/#section_1. Start at section 1, if that doesnt fix it, then section 3, and if all else does not work, section 5. At section 3 I recommend closing ALL the apps.
    Here is section 1 to get you started.
    Restart iPhone
    To restart iPhone, first turn iPhone off by pressing and holding the Sleep/Wake button until a red slider appears. Slide your finger across the slider and iPhone will turn off after a few moments.
    Next, turn iPhone on by pressing and holding the Sleep/Wake button until the Apple logo appears.
    Is iPhone not responding? To reset iPhone, press and hold the Sleep/Wake button and the Home button at the same time for at least 10 seconds, until the Apple logo appears.
    If your device does not turn on or displays a red battery icon, try recharging next.
    All the very best,
    Sterling

  • Is it possible and legal  to disable home button and the screenshot feature in an ipad app?

    I am being asked to develop an iPad app that can't be closed until some actions are done, also it must prevent the use of screenshot feature and the home button. Is this possible? Is this legal? In case of this not being legal what would happen (in legal terms) if I do develop it?

    It's impossible to develop an iPad app that can't be closed until some actions are done.  The iPad programmer cannot override what happens when the user presses the 'Home' button.  The 'Home' button will always tell the front application to go to the background, and if that application doesn't cooperate within a reasonable time it will be terminated.
    Bear in mind that an iPad is an overgrown iPhone.  It's always possible that someone will phone you up when you're running an app, and the app must release control and let you answer that phonecall.
    I suggest you discuss the design philosophy with whoever wants the application, remembering that computers are meant to help us do what we want to do, not boss us about.

  • The correct way to exit Swing app?

    Just want to be sure, what is the best and correct way to exit standalone Swing application?
    Right now I can't think of anything better then System.exit(0);*

    How about setting the main JFrame's setDefaultCloseOperation to JFrame.EXIT_ON_CLOSE, and then when you want to exit, calling dispose on this JFrame?

  • Can't open iPhoto. I don't get an error message. When I launch the application it just hangs and the pointer just spins. I pressed option   apple and rebuilt the library and thumbnails and it's still not working. Do I need to re-install?

    If I do need to re-install how do I do this? I saved a back up of my iphoto library. Does this mean my photos are safe if I re-install. Help is much appreciated!

    If you're getting a hang like this at opening
    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Rebuild iPhoto Library Database from automatic backup.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. .
    Regards
    TD

  • Hangs and The ball spins unless I uninstall flash elements shockwave

    I have an iMac 2.66 GHz Intel Core 2 Duo. 10.6.6. 4Gb ram. 320 hard drive only used about 50GB of it. I've been using it fine until about november 2010. Spinning BeachBall - system holds - cannot close down force quit - happens constantly and so i ...
    Reset prams
    fixed permissions
    safe boot
    opened new user account
    did hard drive apple disk check
    cleared caches
    used applejack (this helped a little - for a period of time)
    clean installed
    slowly reinstalled items - worked them for awhile.
    After a day or maybe less the constant spinning ball and system hang came back - got worse.
    so after weeks of slow deduction (installing apps programs uninstalling cleaning etc) I have now been able to fix the problem
    delete adobe flash - adobe photoshop elements 8 and shockwave. Problem gone!
    But clearly not solved.
    cannot reinstall later or older versions of flash/shockwave onto my computer or in anyway install elements because the problem comes straight back.
    Help?

    Well you are being thorough on your troubleshooting however this looks like an Adobe issue. Have you posted the problem in an Adobe forum?
    Roger

  • When trying to login to iCloud in Windows using my CORRECT Apple id and password it just hangs and the icon spins forever

    This is a problem I have seen posted before but I have yet to find an answer for this. I am on Windows 7 and trying to access my iCloud using the iCloud control pannel for Windows download. My Apple ID and password are correct, caps lock is not on. I have reinstaled iCloud, i have restarted winsock in cmd, I have restared Bonjour, I have done everything suggested and still it is not working. Does anyone please have an answer or point me in the correct direction please?
    Many thanks

    me too.  ever get it fixed?

  • Aperture-3 hangs and the system too, while editing in 100%

    I am not sure about other people have the same issue,
    Just wanted to explore if any of you have / had the same issue.
    I use Macbook Pro 13" (i5 & 4GB RAM), Recently installed aperture-3 from mac store.
    I usually shoot in RAW and do the rest with app-3.
    In recent days, my aperture and my system hands while editing any RAW image, mostly while using brushes (for sharpening / polarization).
    Coincidentally or not, it happened all the times when i have the pis in 100% zoom-in condition.
    If you experienced similar issues please share and let know hoe you resolved it... Also requesting experts in this group to throw some light on this subject.
    Thanks in advance
    Munish

    Hello munish,
    I'd try some diagnostics first, before you reinstall.
    Macbook Pro 13" (i5 & 4GB RAM)
    I had the same setup as you - it worked great with Snowleopard, but as soon as I upgraded to Lion Aperture was running at a snail's pace and completely useless. I added 4 GB RAM and all was back to normal. Also, if your harddrive is very full, performance may go down. Keep at least 10% of your drive empty. How full is your disk right now?
    To check if RAM might be an issue on your machine, start the Activity monitor (Applications -> Utilities) and look at the memory usage while Aperture is running. Don't run any other apps simultaniously, that are heavy on RAM, like Safari.
    And run a hardware check: Using Apple Hardware Test: http://support.apple.com/kb/HT1509
    If you cannot find a hardware problem - hopefully not! try the usual trouble shooting measures in turn, for corruption of some files in your Aperture Library may cause similar symptoms, see Aperture 3: Troubleshooting Basics: http://support.apple.com/kb/HT3805
    If you want to reinstall Aperture as described in the post that Nilsemann pointed to - since you installed your Aperture from the AppStore - then you need to enter the following command in a Terminal window after cleaning the libraries before you reinstall Aperture:
         Sudo pkgutil -forget com.apple.pkg.GarageBand
    That will ensure that all recent update packages will be deactivated and you can update the newly installed installed Aperture.app again to the most recent version. You will be prompted for your admin password when you enter the command.
    Regards
    Léonie

  • When iBooks has a problem connecting to a wifi network, it hangs and the page goes blank

    i use the books I have in iBooks as study aids, a lot. I find that when I am in the vicinity of a new or busy wifi network that the page or bookshelf just goes blank, I have to switch wifi off and restart the app, then it works again. It is most annoying though.

    Reboot router, make sure it's up to date. If on wifi try ethernet. Make sure DNS is set to automatic (settings - general - network).

Maybe you are looking for