Results 1 to 3 of 3
  1. #1
    javanew is offline Member
    Join Date
    Mar 2010
    Posts
    49
    Rep Power
    0

    Default check me my class please

    i got some errors here ,, null pointer exception,,
    i cant find the error,, the program just says null pointer exception,,
    this is a part of the program,,,
    try to check it for me plz....
    [code]
    Last edited by javanew; 05-04-2010 at 06:44 PM.

  2. #2
    JosAH's Avatar
    JosAH is online now Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,525
    Blog Entries
    7
    Rep Power
    20

    Default

    Quote Originally Posted by javanew View Post
    i got some errors here ,, null pointer exception,,
    i cant find the error,, the program just says null pointer exception,,
    I doubt that: it probably gave you an entire stack trace with line numbers and methods that were active at that time. Don't make us guess and even more: try to read what the JVM wanted to say to you.

    kind regards,

    Jos

  3. #3
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    Why don't you post your code here to see. Without looking that how can we comment on it. And also as Jos says, it should give you stack trace, and it'll give additional details.

Similar Threads

  1. Don't know what to check for
    By Chasingxsuns in forum New To Java
    Replies: 8
    Last Post: 08-26-2009, 05:59 AM
  2. JDBC class check
    By DavidBainbridge in forum New To Java
    Replies: 4
    Last Post: 08-17-2009, 12:52 PM
  3. pls check it
    By aRTx in forum New To Java
    Replies: 0
    Last Post: 03-24-2009, 02:35 PM
  4. Check box tag
    By elizaabru in forum JavaServer Pages (JSP) and JSTL
    Replies: 0
    Last Post: 08-26-2008, 02:37 PM
  5. Can someone check my code
    By joz_12345 in forum Java 2D
    Replies: 7
    Last Post: 02-18-2008, 02:58 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •