How JustAnswer Works:

  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.

Ask Andy Your Own Question

Andy
Andy, Computer Consultant
Category: Computer
Satisfied Customers: 5311
Experience:  11yr exp, Comp Engg, Internet expert, Web developer, SEO
16465236
Type Your Computer Question Here...
Andy is online now
A new question is answered every 9 seconds

how do I fix a Java.lang.NullPointerException

Customer Question

how do I fix a Java.lang.NullPointerException?
Submitted: 5 years ago.
Category: Computer
Expert:  abhi_iitian replied 5 years ago.
Hello,

Java.lang.NullPointerException is a very common exception thrown in java classes. It is thrown when one is trying to referene a null object.

More details are at the link below

NullPointException

To figure out what exactly is wrong in your code, I will need to look at your code. So please provide the class which is throwing this exception and tell the line where it is thrown

Abhi
Customer: replied 5 years ago.

I only get this when I try playing games on Pogo.com, when the game is loading. I get the Application Error, and then when I push the botton for details this is what comes up. I can surf the web and play games on all other sites except Pogo. I have unloaded and reloaded Java and updated to the 6 U 13 and my JVM says it works. I have deleted all temp files browser cache files and everything that I have read on help pages to do or try and nothing seems to work.

 

 

Application Error

General Exception

 

Java.lang.NullPointerException

at sun.plugin.cache.OldCacheEntry.getfileentries(unkown source)

at sun.plugin.cache.OldCacheEntry.getEntries (unknown source)

at sun.plugin.cache.CacheUpdateHelper.updatecache (unkown source)

at sun.plugin2.applet.Applet2Environment$3.execute (unknown source)

at sun.plugin.util.PluginSysUtil$SysExecutionThread.run (unknown source)

 

 

Expert:  abhi_iitian replied 5 years ago.
Which browser are you using ? Is it IE 8 beta ?
Customer: replied 5 years ago.
I am using IE 7 with windows xp
Expert:  abhi_iitian replied 5 years ago.
Could you try using mozilla firefox ?

I would advice you to use firefox. Try using Mozilla firefox which is a very good and popular browser. Download it and then install it . I personally use firefox.
Customer: replied 5 years ago.
I tried loading that but it won't start and run
Expert:  abhi_iitian replied 5 years ago.
Try using Mozilla firefox which is a very good and popular browser. Download it and then install it . I personally use firefox.

Do you get same error with firefox ?
Customer: replied 5 years ago.

don't know for as I said I download it and when I double click on the icon on my desktop it won't open a browser or nothing

Expert:  abhi_iitian replied 5 years ago.
Click start, run, type firefox.exe. enter, wait for 2 mins, does it open ?
Customer: replied 5 years ago.
I don't have it loaded no more
Expert:  abhi_iitian replied 5 years ago.
Could you try it again, download and install it. It should come up when you double click, might have been faulty installation previously.
Customer: replied 5 years ago.

getting ready to go there now

 

Expert:  abhi_iitian replied 5 years ago.
Okay, let me know if firefox works
Customer: replied 5 years ago.
I will but I will have to get back to you, for I have dial up and it takes forever. So I can get back to you later if not tomorrow. would that be ok?
Expert:  abhi_iitian replied 5 years ago.
yes sure, you can download it at a faster connection and then transfer to your system using cd or flash drive.
Customer: replied 5 years ago.

ok got firefox redownloaded and double clicked and it still wont open

Expert:  abhi_iitian replied 5 years ago.
I am not encountered this problem before about java and pogo, I will opt out and pass it on to another expert
Customer: replied 5 years ago.

thanks anyway

 

JustAnswer in the News:

 
 
 
Ask-a-doc Web sites: If you've got a quick question, you can try to get an answer from sites that say they have various specialists on hand to give quick answers... Justanswer.com.
JustAnswer.com...has seen a spike since October in legal questions from readers about layoffs, unemployment and severance.
Web sites like justanswer.com/legal
...leave nothing to chance.
Traffic on JustAnswer rose 14 percent...and had nearly 400,000 page views in 30 days...inquiries related to stress, high blood pressure, drinking and heart pain jumped 33 percent.
Tory Johnson, GMA Workplace Contributor, discusses work-from-home jobs, such as JustAnswer in which verified Experts answer people’s questions.
I will tell you that...the things you have to go through to be an Expert are quite rigorous.
 
 
 

What Customers are Saying:

 
 
 
  • My Expert answered my question promptly and he resolved the issue totally. This is a great service. I am so glad I found it I will definitely use the service again if needed. One Happy Customer New York
< Last | Next >
  • My Expert answered my question promptly and he resolved the issue totally. This is a great service. I am so glad I found it I will definitely use the service again if needed. One Happy Customer New York
  • I am very happy with my very fast response. Eric is very knowledgeable in the subject area. Thank you! RP Austin, TX
  • Hi John, Thank you for your expertise and, more important, for your kindness because they make me, almost, look forward to my next computer problem. After the next problem comes, I'll be delighted to correspond again with you. I'm told that I excel at programing. But system administration has never been one of my talents. So it's great to have an expert to rely on when the computer decides to stump me. God bless, Bill Bill M. Schenectady, New York
  • The Expert answered my Mac question and was patient. He answered in a thorough and timely manner, keeping the response on a level that could understand. Thank you! Frank Canada
  • Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help. Mary C. Freshfield, Liverpool, UK
  • This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!! Alex Los Angeles, CA
  • Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult. GP Hesperia, CA
 
 
 

Meet The Experts:

 
 
 
  • Andy

    Computer Consultant

    Satisfied Customers:

    5311
    11yr exp, Comp Engg, Internet expert, Web developer, SEO
< Last | Next >
  • http://ww2.justanswer.com/uploads/EN/Engineer1010/2012-6-9_132423_jaj12a.64x64.jpg Andy's Avatar

    Andy

    Computer Consultant

    Satisfied Customers:

    5311
    11yr exp, Comp Engg, Internet expert, Web developer, SEO
  • http://ww2.justanswer.com/uploads/BA/barrenrock/2011-10-19_215925_JamesJAFinal.64x64.jpg James's Avatar

    James

    Sr. Computer Support Expert

    Satisfied Customers:

    8376
    20 years of experience building, fixing and servicing PCs and operating systems.
  • http://ww2.justanswer.com/uploads/zeyank/2009-09-26_154244_P8110079.png Ryan H.'s Avatar

    Ryan H.

    Computer Support Specialist

    Satisfied Customers:

    1741
    A+ Certified Technician - 10 Years experience working with all types of computer systems.
  • http://ww2.justanswer.com/uploads/JA/jadedangel57/2011-11-8_193134_janenewsm.64x64.jpg Jane Lefler's Avatar

    Jane Lefler

    Sr Prog Analyst / Technician

    Satisfied Customers:

    0
    Computer Programmer / Technician/ Consultant 16+ years
  • http://ww2.justanswer.com/uploads/RO/robmpreston/2013-9-23_233814_mijiFZm.64x64.jpg RPI Solutions's Avatar

    RPI Solutions

    Support Specialist

    Satisfied Customers:

    3476
    5+ Years in IT, BS in Computer Science
  • http://ww2.justanswer.com/uploads/BA/barunrath/2012-7-5_201954_Profilepic2.64x64.jpg B. Rath's Avatar

    B. Rath

    Computer Support Specialist

    Satisfied Customers:

    8671
    Certified Computer/Networking Support Specialist.
  • http://ww2.justanswer.com/uploads/FS/fszcze/2012-6-18_181848_500test.64x64.jpg Frederick S.'s Avatar

    Frederick S.

    Computer Specialist

    Satisfied Customers:

    7240
    Computer technician and founder of a home PC repair company.
 
 
 

Related Computer Questions

Chat Now With A Tech Support Specialist
Andy
Andy
Design Engineer
5316 Satisfied Customers
11yr exp, Comp Engg, Internet expert, Web developer, SEO