Hi everybody.

 I am getting all the time a very estrange error that is driven me mad...

 Just after call a Servlet I get the error:


Error: 500
Location: /sharewatch/ShareWatch
Internal Servlet Error:

java.lang.VerifyError: (class: com/saadian/sharewatch/utils/Screen, method:
showPage signature:
(Ljava/util/Hashtable;Ljava/lang/String;Ljava/io/PrintWriter;Ljava/util/Prop
erties;)V) Incompatible object argument for function call
        at com.saadian.sharewatch.userHandlers.Login.processRequest(Login.java:83)
        at ShareWatch.doPost(ShareWatch.java:88)
        at ShareWatch.doGet(ShareWatch.java:39)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
        at org.apache.tomcat.core.Handler.service(Handler.java:286)
        at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
        at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
7)
        at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
        at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:210)
        at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
        at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
        at java.lang.Thread.run(Thread.java:484)

The showPage method is defined as:
    public static void showPage(Hashtable wmHash,String pageName,PrintWriter
out,Properties p)

And the code in the line Login.java:83 is
      Hashtable wmTable = new Hashtable();
      wmTable.put("message","Login incorrect: Try again.");
      try {
        Properties prop = ShareLoader.getInstance().getProperties();
        PrintWriter pw = res.getWriter();
        Screen.showPage(wmTable,"logon",pw,prop);
      } catch (IOException e){
        cat.error("Displaying the login page:",e);
      }


 It works if I execute the code directly from JBuilder, but from
 outside I get always this error.

  I´m using Tomcat 3.2.? (the last stable version) and JDK 1.3.2,
  compiling with JBuilder 4 Fundation and directly with an Ant
  build.xml,   I tried as well with JDK 1.2.2_07 with the same result.


  Knows anybody what is happen?

  Knows anybody how increase the verbosity of the VM for know more
  about the error message?

  Exists any tool that checks the bytecode?


  Anyway, thanks for your help.

  JD Evora.


Reply via email to