Service Desk Practitioners Forum
cancel

Error in Service Pages JSP

SOLVED
Go to solution
Highlighted
fgssl2
Respected Contributor.

Error in Service Pages JSP

Hi,

I'm modifying Service Pages so I can have a view that lists the configuration items. I'm having trouble cause I'm no programmer and I was wondering if anybody can help me out here. The code I'm sending in attach returns this error:

Generated servlet error:
C:\Program Files\Hewlett-Packard\OpenView\service desk 4.5\service pages\work\localhost\sd-sp45\ListCIs$jsp.java:398: catch not reached.
} catch (Throwable e) {
^
1 error, 1 warning

Any suggestion?

Thanks in advance,
F
2 REPLIES
Venkatesha_1
Outstanding Contributor.
Solution

Re: Error in Service Pages JSP

Hello,

the below mentioned snippet

<%
} catch (Throwable e) {

e.printStackTrace();

%> <%= SdClientBean.filter_html_string(e.getMessage()) %>


is appearing twice. Remove the above mentioned code part once.

Then it will work.

Hope your problem will solve.

Regards
Venkatesha !
fgssl2
Respected Contributor.

Re: Error in Service Pages JSP

Hi,

Thanks that was it.. I was putting 2 catches for 1 try.. sily me! :(