wood burning stoves 2.0
The moose likes Oracle/OAS and the fly likes clob variable: java.lang.NullPointerException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Oracle/OAS
Bookmark "clob variable: java.lang.NullPointerException" Watch "clob variable: java.lang.NullPointerException" New topic

clob variable: java.lang.NullPointerException

Romeo Ranjan
Ranch Hand

Joined: Feb 23, 2009
Posts: 95
Dear Ranchers,

I get java.lang.NullPointerException at of my code snippet. I really dont understand because name is not null and I tried printing out. Doing some google I found this "Have you closed the result set, statement, or db connection? Don't close and then call next(), premature closing will get you that exception" The answer is "no" I am not closing any statement before the next statement. The weird thing is I used the same code for uploading another table it just worked fine. I am not sure what could be wrong..can someone please help me.

SCJP 6.0
Fatih Keles
Ranch Hand

Joined: Sep 01, 2005
Posts: 182
Hi Romeo,

I recall String operations for larger than 32k string in clob fails for some drivers. You can try streams for clob.
I agree. Here's the link: http://aspose.com/file-tools
subject: clob variable: java.lang.NullPointerException
It's not a secret anymore!