on 02-27-2008 5:42 PM
Hi,
I'm using htmlb in my JSPs, but whenever I make a small mistake (e.g. using "txt" instead of "text" as attribute for "button"-tag), I always get "java.lang.NullPointerException at com.sapportals.htmlb.Container.addComponent(Container.java:49)" in the default stack trace. This way it is very difficult to track down where exactly my htmlb is invalid. Is there any way to get a more specific error?
Thanks,
Jeroen
Hi,
I suggest you to insert try ... catch statements in the jsp page
to get a detailed error. Print the exception to see wht the error is.
Reward points if useful.
Thanks,
Chaitanya.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jeroen,
I agree with the above comment, try and use; try and catch to get assign a variable where in you can store the exception. Or the other way round is you can use an application to run your program where in you can get some color code so that you could catch the error on fly and some application where in you run ur program can give you detailed errors. I thing NWDS will server for this purpose.
Cheers,
Cherry.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
can you explain me ur problem .
More in Details.
Thanks & Regards,
Lokesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.