Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

NULL POINTER EXCEPTION

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Hi,

I hope that someone is able to help me with this problem of null pointer exception i have not been able to solve for hours.

The method in which i get it is in this



The null pointer error shows up in line 10.

Thanks in advanced to anyone who helps me
 
Bartender
Posts: 4568
9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Hi Ken. Thanks for telling us the line the error happens on - but can you avoid asking the same question in more than one thread? Thanks.

(Locking - duplicate of https://coderanch.com/t/557234/java-programmer-SCJP/certification/NullPointerException)
 
    Bookmark Topic Watch Topic
  • New Topic