cancel
Showing results for 
Search instead for 
Did you mean: 

[ME21] error message : cannot find message associated with key

Former Member
0 Kudos

Dear all,

I try to develop an Mobile application using smartSync,

but when the application running (on client) got an error message :

-


Error: 500

Location: /UPLOAD_TEST/upload_testapp/Menu.do

Internal Servlet Error:

javax.servlet.ServletException: cannot find message associated with key : dispatcher.forwardException

at org.apache.tomcat.facade.RequestDispatcherImpl.doForward(RequestDispatcherImpl.java:238)

at org.apache.tomcat.facade.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:162)

at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:423)

at 0002findex0002ejspindex_jsp_0._jspService(_0002findex_0002ejspindex_jsp_0.java:62)

at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)

at javax.servlet.http.HttpServlet.service(HttpServlet.java)

-


note:

when create this application, I'm using tcode : merep_sbuilder

Sync type : U01 - Upload using SMAPIs

Bapi wrapper : MEREP_CONTACT_CREATE

SAP Mobile Engine 2.1

and generate .war file using MDK tool

any one know about this ??

thanks & regards,

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Adyt,

Seems to me as a forwarding problem.

Check on the mapping of you target page.

regards

jo

Former Member
0 Kudos

hi Jo,

thanks for answering my question.

since we are re-install the application, I cannot test the solution yet.

thanks in advance

-Adyt-

Former Member
0 Kudos

Hi,

this error comes up when the destination serlvet throws an exception other than ServletException!

Its a standard tomcat bug!

Rgds Thomas

-->

http://issues.apache.org/bugzilla/show_bug.cgi?id=19114

-->From apache.org:

When a forwarded servlet throws an exception other than ServletException or

IOException, the thrown exception is lost. This is due to the line:

throw new ServletException(sm.getString("dispatcher.forwardException", t));

(found in org/apache/tomcat/facade/RequestDispatcherImpl.java:210)

the earlier catched t is here not passed into the constructor of

ServletException but into getString.

To reproduce construct a servlet that throws an Exception (other than

ServletException and IOException) and another servlet that forwards to it. You

will get just a forwardException (if you have the proper locale strings

installed!) but the originally thrown exception will get lost forever.

Answers (0)