1 Reply Latest reply on Mar 12, 2004 11:35 AM by fmaredia

    Unusual java.lang.NullPointerException

    fmaredia

      This is a bit unusual, but I can not figure this out. I have a JSP page that throws a java.lang.NullPointerException. It throws the exception randomly, meaning at times it works and other times it throws the exception. I tried it with the same data and different data as well, so I know it is not the case. I looked at the line it gives the error at, but that particular line does not exists. The error points to a particular line that does not exist. It seems like the JSP engine just gives up after a while. Can something like that happen. It is wierd why it does it. Can someone tell me if they experienced this, and if so can someone shine some light into this delima of mine.

        • 1. Re: Unusual java.lang.NullPointerException
          fmaredia

          Never mind. I got it working. Just a hint to anyone else. Make sure that the variable received is set to something besides null. Otherwise you get an error message, and the error thrown is all wrong. It points to all the wrong places besides the one that you really need.