[SOLVED] Netbeans - Run fails - most of the time

Hello everybody,
I have just today installed Netbeans Verion 7.0 and all plugins are up to date.
I have a strage error with a simple "Hello World" program:
The program builds always fine, but it runs just in about 1 of 5 tries.
Here are some screenshots:
Build Info
Success
Fail
I also realized, that when I choose "Debug / Debug Main Project" this works all the time.
Any suggestions?
matse
Last edited by matse (2011-06-11 20:51:09)

just found a workaround here:
http://forums.netbeans.org/ptopic28915.html
disabling the built-in profiler: in project properties ->
Profile, uncheck "Show profiling indicators during run".
solved the problem.

Similar Messages

  • MacBook fan running high most of the time after HDD/Hard-drive Upgrade

    Hi guys,
    I've just recently upgraded my MacBook white's (MacBook5,2, 2GHZ duo core, 4GB ram) stock harddrive to a WD 2.5" black 750GB. After which, I noticed my macbook fan running at high speeds majority of the time... Even when just doing light weight stuff on it, such as surfing the net using Safari or even just leaving my computer idle after startup.
    I did a clean install twice, the second was too see if it was really just a badly installed OS, but the problem still persisted, well at least till I decided to come here to type the post =P (maybe my macbook's scared about being talked about). Do note, that I did a pc migration each time.
    After the upgrade, My fan usually runs at about 5000-6200 rpm, but right now as I'm typing this post, its surprisingly alot lower then what I've been experiencing. About 3000rpm-4000rpm.
    As for the harddrive temperature, I noticed it runs between the 37 degree to 40 degree celsius range, so I'm guessing the hard-drive temperature sensor isn't busted, which was the problem for others from what I've read from other discussions here.
    Also, when I boot my windows partition, the fan doesn't go as crazy, but it eventually will too.
    Any idea what the problem could be? =s Or could it be that my MacBook can't handel 7200rpm hard drives =/ If so I'd probably downgrade to a 1TB WD blue =s
    On top of that, does any one know if the 2.5" WD blue are as reliable as the 2.5" WD blacks? As I'm heistant to downgrade as I've read that the blues have a higher failure rate, and wouldn't want that happening. Oh and I'm not considering an SSD for this particular MacBook at the moment, as I may upgrade in another two years or so!
    Thank you!
    Edwin

    Hey Mende1,
    Well I guess I'll try returning the drive at the end of this week then my fan seemed to have slowed down abit since the upgrade, it's sorta spinning around 3000rpm now. I'm not sure if it's gonna be the same thoughout, and I'm pretty sure it doesn't spin as much as it did when I had my old HDD on. So I'm giving it a few more day probably till the end of this week. And if the noise issue still surfaces I'll try a different hard drive! and update you on the results!
    Thanks alot Mende1!
    And hello there rauldoppler!
    Well, firstly, I'm using a early 2009 MacBook white! The pre-unibody one. It's running on a 2GHz Intel Core 2 Duo processor with 4GB for ram.
    As for the hard-drives, I'd actually reccommend you to upgrade to an Solid State Drive if you can afford it, but if you're like me who needs more memory space then boot speed etc, I guess a HDD will be fine =) As for which brand of hard-drives, I would actually recommend WD (their black drives especially, 5 year warranty, 7200rpm speed hehe), but right now I'm having the fan problems, so I'm not too sure anymore.
    I did however, do quite abit of digging around on the net and concluded that WD was a better choices amoungst the rest... But yeah the fan issue is still something I didn't expect. All in all, I guess as for which drive is better, it really depends on your needs or wants, if it's for casual internet surfing and stuff, a WD blue HDD would be fine, or a black if you want a slightly faster boot speed etc at the expense of your battery life and all. If you however value blazing fast boot times and application start up times, go for an SSD. If you need the memory space more then anything then I'd say go for a HDD again too, as it's cheaper interms of gigabite to dollar ratio. (for example, the older 500GB version of my new WD black would cost USD $43, while a Samsung 500GB SSD Pro would cost $349) Also, You could do abit of reading up on SSDs if you're interested in it There's alot of plus points to it, like ALOT, and if the price tag wasn't so huge, I would have used it for my macbook already!
    Lastly, I used a WD Black 750GB for my macbook upgrade. However, I'm gonna downgrade to a WD blue 1TB this weekend if the fan doesn't settle down over time Cause well, the fan noise is really an issue for me.
    Peace out guys!
    Edwin

  • [solved]WoL fails 'most of the time', sometimes

    Sorry for the cryptic topic name, but I didn't want to make it too long
    I've been setting up wake-on-lan on my desktop computer, with my server waking it up. I followed the wiki entry and everything worked. I didn't even need ethtool. When I SSH into my server and run
    sleep 1s ; wol -v -p 97 -i 192.168.1.3 00:07:E9:73:09:44
    and then suspend my computer (s3) it wakes up a minute later. I've also tried adding it to the crontab of the server and it works. But when there is a big gap between the suspending and the wake-up it fails. The gap seems to be roughly an hour or so. Yesterday evening I changed the crontab on the server to this, and shut off my computer.
    * 6,7 * * * wol -v -p 97 -i 192.168.1.3 00:07:E9:73:09:44 -w 10
    The computer woke up about 6:45.
    Google turned up a hit about a fedora user where it failed after an hour, but that was because the router went into sleep mode, but my server torrents all night.
    I tried with S1 suspend, but my comp didn't want to suspend with that.
    One evening when it didn't woke up I went to my server and started issuing manual wol's,  at roughly the 10th try I succeeded, no clue why.
    I haven't really figured out if the -w switch makes any difference, I didn't really understand the man page's description of it.
    EDIT: yay 400th post!
    Last edited by hatten (2010-02-05 19:57:33)

    It worked this evening after a 4h sleep with
    * 20 * * * wol -p 97 00:07:E9:73:09:44
    in my crontab. No idea what caused the problem, but it'll hopefully work now. I'll see if it works tomorrow.
    Nobody answered to my thread :'(

  • Login fails most of the time!

    Hi Guys,
    I'm having issues loggin in to skype in the morning at work. I'm using my MS account, with two-factor authentication enabled. When trying to login I'm typing my user/pass, then I'm being asked for my authentication code; after that, skype takes a really really long time to authenticate (30-40 seconds), it fails and I'm taken back to the account selection screen (where I need to specify whether I'm planning on using a MS/Skype account).
    If I retry this for 6-7 times, it will eventually succeed in loggin in.
    This has been happening for a while now.
    Any suggestions ?

    What wireless router are you using?
    What firmware revision is it running? Is it 2.4ghz or 5ghz?
    Wireless has become more and more used and hence the chance for interference has grown by leaps and bounds. Even in your own household there can be AV senders, cordless phones, baby monitors, front door bells and cameras.. all running wireless on 2.4ghz. To say nothing of the neighbours.
    So it can be software driver issues.. a hardware failure issue.. or just plain old noise issue.
    When the wireless does connect, hold down the option key and click the airport symbol in the top menu area.
    It will show you some info on the connection.. including noise and link speed.
    Or open terminal and type airport -I
    Here is what I get.
    macproie-5:~ Ray$ airport -I
         agrCtlRSSI: -46
         agrExtRSSI: 0
        agrCtlNoise: -82
        agrExtNoise: 0
              state: running
            op mode: station
         lastTxRate: 145
            maxRate: 144
    lastAssocStatus: 0
        802.11 auth: open
          link auth: wpa2-psk
              BSSID: fc:75:16:e9:69:b8
               SSID: TG782T
                MCS: 15
            channel: 6
    I suggest you manually try at least the main non-overlapping channels in the wireless router.. so set to channel 1, 6 and 11 to test in turn if any work better.

  • I am running with Firefox version 3.5.7. I am trying to update to a more recent version. So far, the update has been running for 4 hours. For most of the time it has been downloading versoin 3.6.18. Why am I hanging trying toi update?

    I have an old version of Firefox - Version 3.5.7.
    I am trying to update to the current version. As part of the update, the system is first loading all of the intermediate versions.
    I started the update 4 hours ago. It is still running. Most of the time, it has been downloading version 3.6.18. I am letting it run.
    Is there any other way to get the most recent version?

    Thank you. That is basically what I did. I gave up on the update and downloaded a fresh version of Firefox.

  • IBots error, works most of the times

    Hi all,
    I am getting the following error in iBot(s) (however this happens inconsistently, and the iBots runs fine on most days):
    "[nQSError: 77006] Oracle BI Presentation Server Error: A fatal error occurred while processing the request. The server responded with: Path not found (/shared/_ibots/common/Report)
    Error Codes: U9KP7Q94
    Error Codes: AGEGTYVF"
    Have double checked my configurations, moreover this error is not consistent and runs fine most of the times which leads me to believe this is not an authentication issue.
    Has anyone faced a similar situation, do let me know if more details are required?

    Hi,
    Make sure you are pointing the ibot to the right path of presentation catalog. In the job manager on the application server, Under Ibot tab change to point to right presentation catalog. Also make sure you have right port information. Try restarting the server on which OBIEE is installed. This should resolve your issue.
    Thanks,
    -Amith.

  • (Running Windows 7 Home Premium) When Firefox 4.0 hangs (forcing a shutdown) or crashes (the screen has even gone to black) my windows fail to restore most of the time.

    On the occasions when the windows fail to restore, I usually see a blank start page with something to the effect of "about:restore" or "about:restore session" in the URL line. I've tried pressing enter, but it didn't help. Other times, I've immediately tried going to the History menu, but the "Restore Previous Session" menu pick is faded out. I followed the help posted here to activate the restore windows feature, but the windows still fail to restore most of the time. I'm not a techie, so I'd really appreciate some easy to understand help.

    The DMP file is inconclusive. You could run driver verifier to find the underlying issue but WPR is often easier.
    In order to diagnose your problem you will need to download and install the below
    Install the WPT (windows Performance Toolkit) 
    http://www.microsoft.com/en-us/download/details.aspx?id=30652
    Help with installation (if needed) is here
    When you have, open an elevated command prompt and type the following 
    WPRUI.exe (which is the windows performance recorder) and check off the boxes for the following:
    First level triage, CPU usage, Disk IO.  
    If you problem is not CPU or HD then check off the relevant box/s as well (for example networking or registry)  Please configure your as per the below snip
    Click Start
    It will reboot 3 t imes and record the data to a file and tell you its name and location.
    Zip the file and upload to us on Onedrive (or any file sharing service) and give us a link to it in your next post.
    These crashes were related to memory corruption (probably caused by a driver). 
    Please run these tests to verify your memory and find which driver is causing the problem.  
    If you are overclocking (pushing the components beyond their design) you should revert to default at least until the crashing is solved. If you don't
    know what it is you probably are not overclocking.
    Since it is more likely to be a driver please run verifier first.
    1-Driver verifier (for complete directions see our wiki here)
    If verifier does not find the issue we can move on to this.
    2-Memtest. (You can read more about running memtest here)
    Co-Authored by  JMH3143
    Wanikiya and Dyami--Team Zigzag

  • My brand new Envy 4-1030us model's fan is running most of the time. it is noisy and annoying.

    Just bought HP Envy 4-1030us 2 days ago and i have configured my needful software. The fan seems to be running most of the time (battery or powered) and it is very noisy and annoying. I turned off the coolsense too but still noisy. Pls let me know what to do? Is it problem with the laptop. Should I return?

    You can enter the BIOS and disable the "Fan Always On"  setting.
    I suggest leaving the coolsense on.
    ****Please click on Accept As Solution if a suggestion solves your problem. It helps others facing the same problem to find a solution easily****
    2015 Microsoft MVP - Windows Experience Consumer

  • Most of the time when I export photos by email, it fails

    Most of the time, but not all, when exporting photos by email, it takes a long time then fails, how do I fix?

    You can stop that behavior by changing two settings within the browser. Go to Tools -> Options and click on the CONTENT button. Make sure that "Block pop-up windows" is checked. Then click on the ADVANCED button on the far right and add a check to "Warn me when websites try to redirect or reload".
    That should stop most of them. If not all, then you could install AdBlock Plus add-on, since most of the redirects are ad generated. (Tools -> Add-ons -> Get Add-ons)

  • For battery life is it better to run my newly acquired 2010 Macbook Pro on battery most of the time down fully then charge or plug it in most of the time?

    Just wondering about my 2010 Macbook Pro 13'
    For the best overall battery life is it better to run battery down each time then plug in til fully charged or just plug in and use most of the time?
    Thanks
    Calpatrick111

    Hi C,
    Run it about 30 minutes a day on batt, the rest on the power adapter. Every month or two, run the batt all the way down until it goes into forced sleep, wait five hours, then charge it all the way up.
    http://support.apple.com/kb/HT1490

  • Hi I am having trouble expiring iMovie projects to YouTube in 720p it works some times but it fails to upload most of the time

    Hi I am having trouble expiring iMovie projects to YouTube in 720p it works some times but it fails to upload most of the time

    A work around is to export from your camera roll.
    So export the video to the camera roll.
    Go to Photos app,
    and choose export (the arrow pointing out), and choose to go to you tube form there.
    It tends to be a little more reliable.
    Hope that helps!
    Also please tell Apple:
    http://www.apple.com/feedback/imovie_iOS.html
    They tend not to care about a few things being busted in their equipment, but might fix it if enough people complain.

  • Fan is running most of the time

    I bought a new DV6-6c53cl a week ago, fan is running most of the time. I updated all the drivers, Bios is F12. The laptop does not feel like being too hot, I am in a 68 F environment, not running games. In fact this morning, I have Outlook open and a couple of browser sessions and still, it barely stop running. It is annoying to a point that i am considering returning it!
    Any advice would be really appreciate.

    Hi Rdore,
    Welcome to the HP Forum!  Congratulations on your new notebook.
    I doubt there is anything wrong with the fan since the system is so new; there are some things you can check (and possibly adjust) to make sure the system is operating efficiently.
    Take a look at this document:
    Reducing Fan Noise (Windows 7)
    Comments:
    The dv6 you have purchased should provide good service - HPs do run hot compared to some brands on the market - the fan settings are usually adjustable to some degree.  You will find the computer serves you better when the fan is allowed to run as necessary to keep the notebook cooler.  Never put the notebook on a bed, couch, or carpet... or your lap for extended periods.  Contrary to the name, HP notebooks are not laptops; they are smallish computers with lids.  They don't take well to being smothered.
    If you use your notebook on a desk, keep it elevated to allow good air flow - this will help reduce the load on the fan.  You might consider a laptop-cooler; these run quiet and reduce notebook fan noise by keeping the notebook cooler, especially during gaming or heavy load.  There are lots of posts here on the forum on the subject and you can learn alot by reading as many of them as you find interesting.
    I hope this helps.
    Say “Thanks” for the Help -- Click the Kudos Star whenever you find a Post that helps you.
    Fixed?  Mark this Post “Accepted Solution” to say the solution worked for you.
    Kind Regards,
    Dragon-Fur

  • How can I eliminate the toolbar that comes up every time I swith websights and says Firefox prevented this page from automatically redirecting to another page and when nothing comes up I have to hit ALLOW and most of the time it screws me up

    I am running OS10 on a MAC and every time I go too another web site (most of the time) a new tool bar pops up that says " Firefox prevented this page from automatically redirecting to another page" and on the other end I must hit the button ALLOW because it is usually screwing me up and Iwant to disable it or use another browser

    Options > Advanced > General, un-check "Warn me when web sites try to redirect or reload the page"
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''

  • I have no idea whether there is a causal relationship but since moving to Lion and iCloud, my iMac has become so slow that I wind up having to crash and restart most of the time.  This is true regardless of the app I am using at the time.  The specs of th

    I have no idea whether there is a causal relationship but since moving to Lion and iCloud, my iMac has become so unresponsive that I wind up having to crash and restart most of the time.  This is true regardless of the app I am using at the time.
    The specs of this iMac are:
    iMac 27 inch, late 2009 model with a 3.0 GHz Intel Core 2 Duo with 4 Gig 1067 Mhz DDR3, using OSX Lion 10.7.4 (11E53)
    I have Mackeeper installed and according to the scans I have run, everything is fine. No virus, no junk files . . . no problems at all . . .
    Except that for all practical purposes, my computer isn't working. 
    I am nearly totally deaf and live in an isolated, rural area of NW Missouri and this computer is what I mainly rely on to contact friends, relatives and business associtates!
    Any and all suggestions will be greatly appreciated!

    First, back up all data immediately, as your boot drive may be failing.
    If you have more than ten or so files or folders on your Desktop, move them, temporarily at least, somewhere else in your home folder.
    If iCloud is enabled, disable it.
    Disconnect all wired peripherals except keyboard, mouse, and monitor, if applicable. Launch the usual set of applications you use when you notice the problem.
    Step 1
    Launch the Activity Monitor application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ If you’re running Mac OS X 10.7 or later, open LaunchPad. Click Utilities, then Activity Monitor in the page that opens.
    Select the CPU tab of the Activity Monitor window.
    Select All Processes from the menu in the toolbar, if not already selected.
    Click the heading of the % CPU column in the process table to sort the entries by CPU usage. You may have to click it twice to get the highest value at the top. What is it, and what is the process? Also post the values for % User, % System, and % Idle at the bottom of the window.
    Select the System Memory tab. What values are shown in the bottom part of the window for Page outs and Swap used?
    Step 2
    You must be logged in as an administrator to carry out this step.
    Launch the Console application in the same way as above. Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left.
    Post the 50 or so most recent messages in the log — the text, please, not a screenshot.
    Important: Some personal information, such as your name, may appear in the log. Edit it out before posting.

  • Parent talking to child fails some of the time?

    Hi All,
    Have others found that sending a value (stored in a variable) from a parent (main timeline) to a child (movie clip) fails some of the time but only when the movie is running as a .swf (it never fails when testing in authoring)?
    My main timeline's actionscript has:
    XYZ_ChildMC.variableA = false; //parent talks to child movie clip
    In the child MC script:
    import fl.video.*;
    var variableA;
    function completeHandler(e: fl.video.VideoEvent): void
         if (variableA == false)
                 myFLV.seek(0);
                 myFLV..play();
    This seems to fail about 5% of the time when running/rerunning the .swf in a browser.
    Anyone have a similar experience?
    Thanks

    never had that problem.  most likely you have a timing issue.
    use the trace function or textfield to determine if completeHandler is executing before variableA is assigned.

Maybe you are looking for