cancel
Showing results for 
Search instead for 
Did you mean: 

Help with Error 500 running first example of NDS on PocketPc 4.20

Former Member
0 Kudos

Hi all,

I'm trying to run the first example of the MI getting started help from Netweaver Developer Studio. When I enter to the app from my notebook it works fine but when I try to access from my PocketPc I get the following exception:

<b>Hello. I am a Mobile Infrastructure Client application. Here is some information about your installation:

Error: 500

Location: /EJEMPLO01/jsp/tableView.jspInternal Servlet Error:

javax.servlet.ServletException: java.util.Vector: method get(I)Ljava/lang/Object; not found at org.apache.jasper.servlet.JspServlet.service() at javax.servlet.http.HttpServlet.service() at org.apache.tomcat.core.ServletWrapper.doService() at org.apache.tomcat.core.Handler.service() at org.apache.tomcat.core.ServletWrapper.service() at org.apache.tomcat.facade.RequestDispatcherImpl.doForward() at org.apache.tomcat.facade.RequestDispatcherImpl.forward() at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.dispatchRequest() at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.doGet() at javax.servlet.http.HttpServlet.service() at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.service() at javax.servlet.http.HttpServlet.service() at org.apache.tomcat.core.ServletWrapper.doService() at org.apache.tomcat.core.Handler.service() at org.apache.tomcat.core.ServletWrapper.service() at org.apache.tomcat.core.ContextManager.internalService() at org.apache.tomcat.core.ContextManager.service() at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection() at org.apache.tomcat.service.TcpWorkerThread.runIt() at org.apache.tomcat.util.ThreadPool$ControlRunnable.run() at java.lang.Thread.run()Root cause:

java.lang.NoSuchMethodError: java.util.Vector: method get(I)Ljava/lang/Object; not found at jsp._0002fjsp_0002ftableView_0002ejsptableView_jsp_0._jspService() at org.apache.jasper.runtime.HttpJspBase.service() at javax.servlet.http.HttpServlet.service() at org.apache.jasper.servlet.JspServlet$JspCountedServlet.service() at javax.servlet.http.HttpServlet.service() at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service() at org.apache.jasper.servlet.JspServlet.serviceJspFile() at org.apache.jasper.servlet.JspServlet.service() at javax.servlet.http.HttpServlet.service() at org.apache.tomcat.core.ServletWrapper.doService() at org.apache.tomcat.core.Handler.service() at org.apache.tomcat.core.ServletWrapper.service() at org.apache.tomcat.facade.RequestDispatcherImpl.doForward() at org.apache.tomcat.facade.RequestDispatcherImpl.forward() at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.dispatchRequest() at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.doGet() at javax.servlet.http.HttpServlet.service() at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.service() at javax.servlet.http.HttpServlet.service() at org.apache.tomcat.core.ServletWrapper.doService() at org.apache.tomcat.core.Handler.service() at org.apache.tomcat.core.ServletWrapper.service() at org.apache.tomcat.core.ContextManager.internalService() at org.apache.tomcat.core.ContextManager.service() at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection() at org.apache.tomcat.service.TcpWorkerThread.runIt() at org.apache.tomcat.util.ThreadPool$ControlRunnable.run() at java.lang.Thread.run()</b>

I'm using MI 2.5 and

CrEme326_AX_CE42_PPC_minimal.CAB as the JVM for the mobile device.

It would seem that the JVM doesn't have the Vector class or an updated version of it. But that's the JVM that SAP recommends (). I tried downloading a new version (4.0 b) of the JVM but it won't install on my device. What JVM is everyone else using?

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Andreas,

Did you modify any of the code?

Check this site to see the api that the creme supports (jdk 1.1.3)

http://www.science.uva.nl/ict/ossdocs/java/jdk1.1.3/docs/api/java.util.Vector.html#_top_

I had the same problem and had to double check that the only methods and classes used are from that API.

Hope this helps,

Wael

Former Member
0 Kudos

Thanks wael,

I did what you said. Just replaced everywhere Vector.get() with Vector.elementAt(), exported and installed and the app worked.

Thanks again,

André

Answers (0)