Deployment problems that I don't know how to fix or trace - Please Help
I have made a javafx application in netbeans where I import classes from the java library (specifically ones from java.io for writing/readning files). The program works great in the IDE, reading and writing files, but when I build it and run the .jnlp, It does not write any files or do anything that requires any of the imported functions. I have been trying for a few weeks now and have had no luck. The same thing happens when I create a brand new javafx desktop application and try to make it write a simple text file.
My questions are these:
1. Does someone know if I'm missing something? I tried checking the box that makes it a self signed jar and pack200 compression, no luck. This program is for running locally on the user's machine.
2. I do not no how to check for exception traces the application may have thrown. I am using Mac OSX 10.6.6, and the latest Java and Netbeans. Can someone help me with this?
My deadline is coming up and I don't want to rewrite the whole thing using something else. I was pleased with this javafx application until now. Please Help
here is my test .fx file
package savetest;
import java.io.BufferedWriter;
import java.io.FileWriter;
import java.io.File;
import java.io.IOException;
import javax.swing.JFileChooser;
public class Main {
// <Generated Code by netbeans (unaltered or edited for this test)>
function writeData(source : java.net.URI) {
var output: BufferedWriter;
try {
def text = "Test Data";
def file = new File(source);
output = new BufferedWriter(new FileWriter(file));
output.write(text);
output.flush();
output.close();
} catch (e: IOException) {
e.printStackTrace();
function run (): Void {
var design = Main {};
var fileChooser : JFileChooser = new JFileChooser;
var goalURI : java.net.URI;
javafx.stage.Stage {
title: "Main"
scene: design.getDesignScene ()
if (fileChooser.APPROVE_OPTION == fileChooser.showSaveDialog(null)) {
goalURI = fileChooser.getSelectedFile().toURI();
writeData(goalURI);
}
Hello user,
You can see the traces of your application from java console which will automatically appears when your application is running on browser. In MAC OSX the java console icon appears at top right bottom (tray icon) and you can view the console from their.
Please trace the exception what you have got so that we could find the real problem.
Thanks,
narayan
Similar Messages
-
My 'clear history button is not working. When I click on it it doesn't do anything and the letters are gray instead of blue like usual. I've gone to every type of settings I can think of but I don't know how to fix it. Please help .
T
Try:
- Reset the iOS device. Nothing will be lost
Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
least ten seconds, until the Apple logo appears.
- Reset all settings
Go to Settings > General > Reset and tap Reset All Settings.
All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
- Restore from backup. See:
iOS: Back up and restore your iOS device with iCloud or iTunes
- Restore to factory settings/new iOS device. -
I updated to firefox 4.0 and it wont load any of my facebook games.
Facebook games are usually Flash based.<br />
Your More system details list show that you have the Flash plugin, so that should be working.<br />
Make sure that you do not block Flash.
Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
* Don't make any changes on the Safe mode start window.
* https://support.mozilla.com/kb/Safe+Mode
* [[Troubleshooting extensions and themes]]
If it does work in Safe-mode then disable all extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
* Use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
* Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")
In Firefox 4 you can use one of these to start in <u>[[Safe mode]]</u>:
* Help > Restart with Add-ons Disabled
* Hold down the Shift key while double clicking the Firefox desktop shortcut (Windows) -
I have downloaded MAMP for Mac and want to use it for working with Wordpress. I'm on an Imac with Maverick OS 10.9. I had mysql installed before this and would like to uninstall it and use MAMP. It was easy to turn off Apache and PHP but don't know how to uninstall mysql. Please help!!
It depends on how you installed it. You have to shutdown the MySQL service first. If you used the standard, but obsolete Startup Item, you can do that with the Startup Item. If you created a launchd script, you can do it with launchctl. Once MySQL is no longer running, you can delete the Startup Item or launchd script and the rest of MySQL.
-
I intended to install windows on my macbook, but I removed Mac os X wrongly! Now I don't know how to install Mac again please help me.
I still don't know which version of OSX you have but assuming it's 10.7 or 10.8 .....
You need to press command-R (at the sound of the chime) to get into recovery, try that, if it does not work try command-option-R for Internet Recovery. -
After upgrading my iPhone 5 to iOS 7 iTunes will not stay open once the app launches...does anyone know how to fix this? Please Help :)
I have exactly the same problem. I too have tried everything that's been suggested, but still not working. Don't really what to do next? I have an iPhone 4S.
-
I can't forcequit firefox and shutdown my computer, nor can I open up any other programs or applications. Does anyone know how to fix this? please help this poor soul.
You can force quit applications
>Force quit
if that does not work you can force quit a computer shut down by hold the power button for an extended period. -
I am trying to update my iPhone 4s to IOS 1.6.3 but everyone I update it it says error but I don't know how to fix this error!! HELP!!!
That sounds like a possible security software issue on the computer you are using, or are you trying to do the update via the phone OTA?
If you are trying to do it OTA, you might want to connect the phone to the computer and iTunes and attempt the update from there.
BTW, the update is iOS 6.1.3. -
I bought in app called " Subway Surf" a "Stack of Coins" and I didn't ment to... And now I don't know how to get a refund on from this app.
You have 14 days to request a charge be reversed on an iTunes account. Contact iTunes directly through their website https://expresslane.apple.com/ to request the refund.
-
WWith the new ios7, I became frustrated in using my iPad3..I'm using Skype as my main communications with my love ones back home,now it seems that ios7 doesn't help me a lot for I'm having trouble with my audio communication coz my family can't hear anything from me.. My skype doesn't have any options or settings that I can check with to see if I can fix it...I need help...please if any of u knows how to fix it..I would greatly appreciate it...
You can try removing app then reinstalling. If that doesn't work
Try a Restart.
Press and hold the Sleep/Wake button for a few seconds until the red "slide to power off" slider appears, and then slide the slider. Press and hold the Sleep/Wake button until the Apple logo appears.
Resetting your settings
You can also try resetting all settings. Settings>General>Reset>Reset All Settings. You will have to enter all of your device settings again.... All of the settings in the settings app will have to be re-entered. You won't lose any data, but it takes time to enter all of the settings again.
Resetting your device
Press and hold the Sleep/Wake button and the Home button together for at least ten seconds, until the Apple logo appears. Apple recommends this only if you are unable to restart it.
Or if this doesn't work and nobody else on the blog doesn't have a better idea you can contact Apple.
Here is a link to their contacts with most of the information below.
http://www.apple.com/contact/ -
please help
decy95 wrote:
When I clicked 'check for update' it just says that 2.2.1 is the current version
It will - until you purchase iOS 3.
Follow the link that stedman provided, and on that page, instead of choosing the link to iOS4, choose Purchase the iOS 3.1 Software Update directly from the iTunes Store. When you choose it, iTunes will open to the store and page for buying (purchasing) the update. It doesn't cost much (a few dollars although I cannot recall precisely) and it is the only way to update from you current iOS version. Once you do that, a further update to iOS 4.2.1 is free. That particular update may occur straight away, I don't know.
By the way, iOS 4.2.1 is as high as the 2nd generation Touch can go, but don't let that put you off. I have one and although I cannot install the BBC iPlayer (because it requires iOS 5) there are many Apps that work perfectly well with iOS 4.2.1.
decy95:
I've just read the another discussion (to which you contributed), in which Illaass suggests that you may have a 1st generation Touch. If that is so, then your iPod will only be able to update to iOS 3.1.3. This will still need to be purchased, but be aware that many Apps require iOS 4 or higher, so your options would be more limited. So follow the link Illaass provided to confirm which model you have.
Message was edited by: the fiend -
I'm not sure if I permanently blocked this? I can't bring up
mozilla/firefox even though my default browser. Obviously I'm
not very good with this stuff. Need to find out how to restore
it.
Unable to connect
Firefox can't establish a connection to the server at www.mozilla.com.
The site could be temporarily unavailable or too busy. Try again in a few moments.
If you are unable to load any pages, check your computer's network connection.
If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the Web.hello , i did exactly the same thing , and my app store icon look like this :
http://i.imgur.com/FIrph.png
so can you tell me how did your friend send the app store for you? please -
Hi, the last few times i have tried to sync my iPhone 4 to my itunes it won't work. I plug my phone into my computer, to sync any new pictures i have taken or add my new music i have bought on my phone, and hit sync. It appears to start syncing then an error message appears saying the following:
The iPhone 'my iPhone' cannot be synced. You do not have enough access privileges for this operation.
I'm not sure what this means or why this keeps happening. I have the latest iTunes and i have not done anything different. It appears to have wiped some of my music from my iPhone and a number of my photo albums off. Please can someone help or advise how i resolve this issue. Thanks.When you set up iOS7 the second screen specifically asks that you create a four digit code .
That's what you now need to re-enter in your phone.
Once entered you can go to system/general/Passcode lock
Re-enter the same code and choose turn Passcode off
iOS 7 has been designed to enforce minimum passcode security by default or in the case of the new 5s use of finger print level security. -
How do I use my balance money
Select the app you want to purchase and your balance will be debited accordingly!
-
HT201304 I forgot my restriction code to my iPhone and I don't know how to turn it off please help
So I set my restriction code like a month ago and now I forgot it please help
You'll have to keep trying to remember it. Otherwise you have to save as much of your data as you can and restore the phone as a new iPhone (without your backup) and start over.
Maybe you are looking for
-
Hi All, We are encountering numerous short dumps in our system caused by Table AUSPN_V1 does not exist in the database with ID R/3. Can anyone advise how to solve the issue? Please find below portion of the short dumps. Category ABAP Pr
-
Editing Help for a newbie.....Please be gentle..
I am new to Photoshop CS3, in fact, new to photoshop entirely. I have been using MS Digital Image Pro and up until now it has worked for me. Here is my problem. I take a lot of pictures of coins. Sometimes I have to tilt the coin slightly to get a go
-
How to update position (change job)
Dear All, Please let me know how can we update an existing position which is used by employees. The problem here is that we need to change the job associated with the position. Thanks in advance, Avinash
-
I am looking to get a new MacBook Air, but when looking at the prices I am seeing the MacBook Pro 13" for the same price and a lot more guts (RAM and Processor). I am ok with spending the amount of money on the air if it means I get a computer that
-
Powershell command to get cpu percentage as displayed in task manager
Hi, I wish to extract the memory and cpu data of each process as shown in task manager. I am able to get the memory size in mb, but PercentProcessorTime does not return the exact process's cpu % value shown in task manager. function GetProcessInfoByN