•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the JSP section within the Web Development category of DaniWeb, a massive community of 392,009 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 4,248 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JSP advertiser: Lunarpages JSP Web Hosting
Views: 1511 | Replies: 3
![]() |
Could you be at least a LITLLE more specific. Post the entire error message, together with the code (abd use code tags) and mark with a comment, or something, the line referenced in the NullPointerException.
As far as to your question "y the null pointer exception is coming" (which I assume is supposed to be "Why am I getting a NullPointerException?") is, because you are using a reference that hasn't been defined.
As far as to your question "y the null pointer exception is coming" (which I assume is supposed to be "Why am I getting a NullPointerException?") is, because you are using a reference that hasn't been defined.
Java Programmer and Sun Systems Administrator
----------------------------------------------
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
----------------------------------------------
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
•
•
Join Date: Nov 2004
Location: Netherlands
Posts: 5,646
Reputation:
Rep Power: 18
Solved Threads: 191
most likely cause: he's trying to use a serverside visualisation technology to perform clientside filesystem operations without understanding either the technology, why it's the wrong one, or the underlying programming languages, network protocols, or operating systems.
Recipe for disaster whatever way you look at it.
Recipe for disaster whatever way you look at it.
42 Private messages asking for help will be ignored
In the frozen land of Nador they were forced to eat Steve's iMinstrels, and there was much rejoicing.
In the frozen land of Nador they were forced to eat Steve's iMinstrels, and there was much rejoicing.
•
•
Join Date: Mar 2007
Posts: 83
Reputation:
Rep Power: 0
Solved Threads: 2
First, be a little nicer about how they wrote their question. NOT all people using these sites are native or even good English speakers...
If the question seems to make sense which this one does, don't complain about the language choice...
What I see is typical language for a Japanese or Korean trying to find help on an English site because there are few resources available int heir native languages.
That aside, jwenting, if you are not going to be productive then shut up... your post adds no value to this guys question, to the previous question or to daniweb at all...
Don't assume to know what he's trying to do, no one has asked him.... and as I have seen you know little about how the world works anyway...
Now, ashitha, null pointer, in the generic term, means what masijade has said and he is correct we will need more detail to better help you. Depending upon where the null pointing exception is being thrown, it can mean slightly different things... Such as if you create a file object without actually pointing it at a file... versus trying to use a variable name that hasn't been defined, versus etc.. So more specific will be needed to help...
Also, if you're a native English speaker and I insulted you by saying your sentences were like what I commonly see from Asians trying to write English, then I am sorry... if that is the case then perhaps you should clean up the English... If you ARE a non-native English speaker then you did a good job getting the message across and shouldn't be afraid to try ;-)
Peace,
If the question seems to make sense which this one does, don't complain about the language choice...
What I see is typical language for a Japanese or Korean trying to find help on an English site because there are few resources available int heir native languages.
That aside, jwenting, if you are not going to be productive then shut up... your post adds no value to this guys question, to the previous question or to daniweb at all...
Don't assume to know what he's trying to do, no one has asked him.... and as I have seen you know little about how the world works anyway...
Now, ashitha, null pointer, in the generic term, means what masijade has said and he is correct we will need more detail to better help you. Depending upon where the null pointing exception is being thrown, it can mean slightly different things... Such as if you create a file object without actually pointing it at a file... versus trying to use a variable name that hasn't been defined, versus etc.. So more specific will be needed to help...
Also, if you're a native English speaker and I insulted you by saying your sentences were like what I commonly see from Asians trying to write English, then I am sorry... if that is the case then perhaps you should clean up the English... If you ARE a non-native English speaker then you did a good job getting the message across and shouldn't be afraid to try ;-)
Peace,
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb JSP Marketplace
Similar Threads
- Program 2 copy log file frm database (C++)
- Cannot copy file: Data error (cylcic redundancy check) (Windows NT / 2000 / XP / 2003)
- Log file rotation script (Perl)
- can't boot try to restore file with boot CD? (Troubleshooting Dead Machines)
- invalid file size? (Windows 9x / Me)
- Deleting a record from a file (C)
- Front Page error when opening .HTM file (HTML and CSS)
- File parsing in 'C' (C)
Other Threads in the JSP Forum
- Previous Thread: how to insert a array of data into database in jsp
- Next Thread: how to run an ireport jrxml file from a jsp page.It's urgent



Linear Mode