hi im geting the following error from a servlet i had written Error: 500 Location: /servlets/referthis.Visitor Internal Servlet Error: java.lang.VerifyError: (class: referthis/Visitor, method: makeDate signature: ()V) Expecting to find integer on stack at java.lang.Class.newInstance0(Native Method) at java.lang.Class.newInstance(Class.java:237) at org.apache.tomcat.core.ServletWrapper.initServlet(ServletWrapper.java:298) at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:445) at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:597) at org.apache.tomcat.servlets.InvokerServlet.service(InvokerServlet.java:257) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:559) at org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection(Ajp12ConnectionHandler.java:156) at org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338) at java.lang.Thread.run(Thread.java:484)
Most likely a defect in the Java classlib you're using. Other possibilities include a buggy JNI component or (less likely) someone trying to hack their way past the sandbox. This is Java's security mechanism telling you that you have data of the wrong type for the code expecting to manipulate it.
Customer surveys are for companies who didn't pay proper attention to begin with.
Divyajot Ahluwalia
Ranch Hand
Joined: Nov 03, 2000
Posts: 46
posted
0
hi thanks for your reply. i am using 2-3 other servlets in the same context and they are working. the method the error talks of is used to get the system date and store it in a certain format. do you think that could be the problem. thanks da
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.