cancel
Showing results for 
Search instead for 
Did you mean: 

HTMLB and JSPs

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

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.

Answers (2)

Answers (2)

former_member201266
Contributor
0 Kudos

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.

lokesh_kamana
Active Contributor
0 Kudos

Hi,

can you explain me ur problem .

More in Details.

Thanks & Regards,

Lokesh