Very much a newbie, help!

Hi, I'm really new to this, help is greatly appreciated. I getting SOOO frustrated...
When I execute my program, it runs fine until a certain point. Then in the output it says, "java.lang.NullPointerException". What does this mean and how can I fix it?
Please use small words. <:)

Then in the output it says, "java.lang.NullPointerException". What does this mean
and how can I fix it?The output tells you a whole lot more than just this; carefully read the output again: it tells you
on exactly what line, in which method the exception was thrown. It even shows you an entire
back stack trace of method calls, all the way back to your 'main' method.
As other already have pointed out, you're trying to dereference an object reference which happens
to be null.
kind regards,
Jos

Similar Messages

  • Problem with iOS7 : I have a message on my screen "This phone is not registred as a developper phone..." or something like that, can you help me because I download the iOS7 Beta even if I was not a developper. Thank you very much if you help me.

    Problem with iOS7 : I have a message on my screen "This phone is not registred as a developper phone..." or something like that, can you help me because I download the iOS7 Beta even if I was not a developper. Thank you very much if you help me.

    JaillotJb wrote:
    I download the iOS7 Beta even if I was not a developper.
    if you downloaded it and are not a developer, then we are not allowed to help you here.  sorry.

  • HT1688 The friend brought to me from the USA iphone 4. I can't use it at all. It with our operators doesn't work. I very much ask you help me to solve a problem.

    The friend brought to me a gift from the USA, and it doesn't work year. Our operators don't understand it. Help me to unblock iphone4
    <Edited by Host>

    This has nothing to do with iPhones in the Enterprise.
    Sounds like your friend is a bit dumb and bought a carrier locked iPhone.  The only way to address this is to contact the carrier to whom the device is locked and find out their unlock policy.
    Oh, and stop being dumb yourself, posting IMEI, serial numbers, and email addresses on a public forum is just plain stupid.

  • I'm going crazy! The order of my text is very much illogical. Help!

    Hello Everyone,
    I have the strangest problem in illustrator. When I type a symbol in a text; for instance, I try to type "40%" I get "%40". Same thing (but different effect) with a phone number with a plus in front, the + sign is added to the back of the number and keeps beeing pushed backwards until I hit space. In short, when I want a sign behind a number it jumps in the back and when I want a sign in front of a number, it jumps to the back...I went through all the options but nothing there.
    UPDATE: This does not happen in sigle lines text boxes! Only in multiple ones...
    I'm sure someone out there has the simple answer to this thing. It is making me go kookoo!
    Thanks for the help,
    Vincent

    There is no such thing as a single line text box. What you are seeing is point text with a bounding box.
    The rest of your problem looks like a temporary glitch. Have you tried rebooting your machine?

  • What can I do in order to view websites which have been bloked by government such as YouTube and FaceBook. Thank you so very much for your help.

    The government has blocked numerous websites in Iran making it almost impossible to surf without proxies. But I have heard that FireFox can be adjusted to avert such problems. Thank you in advance for your kind attention.

    It probably won't help - but try Resetting the System Management Controller (SMC)
    Also run the Apple Hardware Test
    Removing dust etc is a good idea, so long as you're careful... but get the correct screwdriver first & read about the process at iFixit or similar sites.

  • Very much a newbie to laptops - Toshiba Satelite Pro L550

    I was wondering if anyone has the patience to help me start up my brand new laptop.    When I get to the black screen that warns that all data will be deleted and rewritten, will my software that was installed on the computer from new still be there?  ie..   Windows 7 ?     I can't get onto the computer to do anything at all until I get past this screen?    This is where is will make recovery discs I assume.    Thanks in advance.   I appreciate any help I can get.   I would like to see what this thing does.

    Hey golmac - I don't see any replies to your request and wonder if all the moderators have gone home for the holiday....
    I've spent hours trying to find info on device managing and came accross your plight! 
    I'm not trying to be mean - but I do feel better about my situation after reading your. 
    G'luck (I hope to see a success story under your thread soon)

  • Can anyone help me with Magicjack? after I purchased US number I am unable to log in on my Iphone, I keep getting an error "YOUR DEVICE IS NOT ON THIS ACCOUNT" I contacted MJ support but they are very much useless and dont know how to fix it!

    can anyone help me with Magicjack? after I purchased US number I am unable to log in on my Iphone, I keep getting an error "YOUR DEVICE IS NOT ON THIS ACCOUNT" I contacted MJ support but they are very much useless and dont know how to fix it!

    There's a whole lot to read in your post, and frankly I have not read it all.
    Having said that, this troubleshooting guide should help:
    http://support.apple.com/kb/TS1538
    In particular, pay attention to the mobile device support sections near the bottom, assuming you have already done the items above it.

  • Why is it that it would take a very long time [if ever] to change or adjust the tempo of a loop in the audio track when i set it to adjust regions to locators? Until now the spinning wheel of death is still very much spinning. thanks for any help.   Is th

    Why is it that it would take a very long time [if ever] to change or adjust the tempo of a loop in the audio track when i set it to adjust regions to locators? Until now the spinning wheel of death is still very much spinning. thanks for any help.
    Is there another way to adjust tempo of loops the faster way, any other technique?

    No clue why the final processes have suddenly started to take so long. Two things I'd try: a) capture from an older tape to see if some problem with the new tape is at fault.  And b) check the health of your RAM and the hard drive.
    The red frame sounds a bit like a glitch we used to have in OnLocation (actually in its predecessor HDV Rack) which was caused by a partial GOP. But that was a product of HDV Rack recording from the live video stream. It turned out that HDV cameras intentionally interrupt the data stream for an instant upon starting to record--specifically to avoid recording a partial GOP to tape. So my gut says that the tape has partial GOPs at the points where you stopped/started recording.

  • I have an iPhone 4s just eight months, it is normal that the battery lasts only 3 hours? please help me thank you very much.

    I have an iPhone 4s just eight months, it is normal that the battery lasts only 3 hours? please help me thank you very much.

    Three hours if definitely NOT normal. I get at least 48 hours out my 2 year old iPhone 4S' battery with light usage. Did you do the iOS 7 update on the phone it self (OTA) or through iTunes? In my experience most problems are caused by the OTA updates. For this reason I ALWAYS update using iTunes on my computer.
    I would suggest restoring your phone using iTunes on your computer and setting it us as a new phone. This downloads a fresh copy of iOS 7.1 from Apple and installs it on your phone. Just make sure that you transfer all purchased items (apps, music, etc.) as well as photos to your computer before restoring as the restore will completely wipe your phone. Do not restore from a back-up. Yes, you will loose all your data on the phone but restoring a back-up can restore the problem you are currently having back to your phone. Once your phone has been restored you can manually sync back your apps and music.
    Before restoring you can also check to see that battery-killers like Location Services, Background App Refresh, etc are only turned on for the apps that really need it. I recently read and article that said that the Facebook app can be a real battery killer. If you have this app installed turn of location services and background app refresh for this app and see if that helps. Also go to Settings / General / Restrictions / Location Services / System Services and turn off all the options in that menu. Your phone does not need any of those to function. Constantly using your phone's GPS is a huge battery killer. I only have Location Services enabled for Find my iPhone and Background App Refresh is turned off completely.
    I hope this helps.

  • How can I connect my Mac Book Pro (year 2008) to the TV set through  HDMI? I've seen a DVI to HDMI iwire but I'm no sure that it is correct. Could anyone help me? Thank you very much.

    How can I connect my Mac Book Pro (year 2008) to the TV set through  HDMI? I've seen a DVI to HDMI iwire but I'm no sure that it is correct. Could anyone help me? Thank you very much.

    I do not know the iWire adapter, but I use an inexpensive ($3) DVI to HDMI adapter from Monoprice, along with a regular HDMI cable:
    http://www.monoprice.com/products/product.asp?c_id=104&cp_id=10419&cs_id=1041902 &p_id=2029&seq=1&format=2
    Be aware that this will only transfer video. You Macbook Pro cannot combine audio through DVI to HDMI. You will need to listen to the audio through the Mac speakers, or attach speakers or a sound system to the Mac earphone jack, or determine if your TV has the ability to accept external sound from the Mac while showing video through HDMI (few can).

  • I am trying to download a variety of files and when it is finished, the Mac freezes up and the task bar continues to blink on and off. I have to go into Firefox and actually quit the application to continue. Any help is very much appreciated

    I am trying to download a variety of files and when it is finished, the Mac freezes up and the task bar continue to blink on and off.
    I have to go into Firefox and actually quit the application to continue. Any help is very much appreciated.

    are you backing up files, or doing a Time machine backup, either way, the Time machine will STOP when finished and show "last backup at XXXXXX"  meaning its done...... OR if when transferring files, it will show a progress bar on your desktop and vanish when files are copied.
    Open up the Hitachi drive (your G drive is made by Hitachi, and the best made by the way).....and see if the files are there.
    a MORE VISUAL way is to open the hard drive file, and drag and drop files INTO the Gdrive and you can see them visually be copied there as you do it.
    To see your HD on your desktop GOTO  FINDER......PREFERENCES....then GENERAL TAB.........check the box marked HARD DRIVES.........then your Gdrive will appear on your desktop........open it from there,  and DRAG and drop files from anywhere INTO the Gdrive....... easy visual way to see the files being copied into the Gdrive.

  • Hello, I just bought a Snow Leopard and I have tried ti install this on my macbook pro 2008 (10.5.8) and I can not do it. I have to erase the hard drive before in order to succeed. Please tell me step by step what to do. I appreciate very much your help.

    Hello, I just bought a Snow Leopard and I have tried to install this on my macbook pro 2008 (10.5.8) and I can not do it. I have to erase the hard drive before in order to succeed. Please tell me step by step what to do. I appreciate very much your help.
    Thanks

    Here are the directions:
    http://support.apple.com/kb/HT3910?viewlocale=en_US
    Ciao.

  • I forgot security question and password icloud account from my iphone 4s, how can I do it? Can U help me? Thank you very much!

    I have an old iphone 4s from myfriend in Stockton-USA gave me. I have series number this iphone: C8PKGBCRDTD0 and old account icloud in this iphone is  [email protected] Now I need to help me to take password of Vanessa.marin's account. I want to use this iphone for my work. You can help me, please! Thank you very much!

    You will have to ask your friend to remove the device from her iCloud account.
    See here: http://support.apple.com/kb/ph2702

  • My iphone 3gs is in dfu mode, but when i plug it into my laptop to restore it, my phone won't show up in itunes at all. what do i do???? please help, it would be very much appreciated :)

    my iphone 3gs is in dfu mode, but when i plug it into my laptop to restore it, my phone won't show up in itunes at all. what do i do???? please help, it would be very much appreciated

    Follow the steps here VERY CAREFULLY: http://support.apple.com/kb/HT1808

  • Hi.I need help.my iphone was Stolen .how can I get back my iphone. Serial No.DX*****PMW.could you help me find my iphone.thank you very much.could you send me the ICCID number to help me find the iphone

    Hi.I need help.my iphone was Stolen .how can I get back my iphone.  Serial No.DX******PMW.could you help me find my iphone.thank you very much.could you send me the ICCID number to help me find the iphone.if you can help me.
    <Personal Information Edited by Host>
                                                                                                                                                                   Sincerely a Chinese girl really need your help

    Sorry we are all users on this User  Community No Apple Staff
    Read this .
    http://support.apple.com/kb/HT2526
    Apple do not and cannot assist in finding stolen property ,that is the responsility of your Police

Maybe you are looking for

  • How to play all my mucis

    how to i play all the music i play on i-tunes

  • HS connection to MySQL

    Hi, I am trying to do the HS connection btw oracle and MySQL. I have created a initmysq.ora at HS\ADMIN And added entry in tnsname.ora and listener.ora. But if it start a Lsnrctl reload i am seeing Service "mysqldev" has 1 instance(s). Instance "mysq

  • Cant boot after shutdown

    Hi i was trying the unlocked sempron 140 and after i shutdown the pc i wasnt able to boot the next day. this has happened before but now after i try to reset the bios the system still fails to boot. all i get is black screen. and no matter how many t

  • Will the contract-free iphone 5 work in europe?

    I'm currently in the US, but only as an exchange student and I was wondering if the iphone 5 without a contract would work both in the US and Europe. Thanks

  • Can I boot a Mavericks desktop computer with a bootable backup made with OS X 10.4.6?

    I used to create bootable backups with SuperDuper and still have one created in 2010 from a white Intel mac (2006-era) running OS X 10.4.6. Would it be possible to boot a brand new 27" desktop running Mavericks 10.9.4 using the old bootable backup? I