I'm using NetWare:s VM 1.3.0 (Symantec JIT 3.10.110)

And I get the error when running the jsp page. The page looks like this.

I suppose that I have done any typo or something like that.........


<%@page contentType="text/html; charset=iso-8859-1" language="java" 
import="java.util.*, java.lang.*, java.text.*, java.sql.*"%>
<%@ include file="/Connections/MyInfoConnection.jsp" %>
<html>
<!-- #BeginTemplate "/Templates/Standardsida.dwt" --> 
<head>
<!-- #BeginEditable "doctitle" --> 
<title>Uppdaterar matsedeln</title>
<%
 // Databasköret
 
  String MyQuery = "";
  Driver DriverRecordset1 = 
(Driver)Class.forName(MM_MyInfoConnection_DRIVER).newInstance();
  Connection Conn = 
DriverManager.getConnection(MM_MyInfoConnection_STRING,MM_MyInfoConnection_USERNAME,MM_MyInfoConnection_PASSWORD);
  CallableStatement MyUpDateStatement = Conn.prepareCall("{call 
UPDATE_MATSEDEL[?,?,?,?,?]}");
  CallableStatement MyInsertStatement = Conn.prepareCall("{call 
INSERT_INTO_MATSEDEL[?,?,?,?]}");
  ResultSet MyRecordSet;
  
  String IsVegoString;
  Boolean IsVego = Boolean.valueOf(request.getParameter("IsVego"));
  if (IsVego.booleanValue())
    IsVegoString = "1";
  else
    IsVegoString = "0"; 
%>
<!-- #EndEditable --> 
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="../../style1.css">
<style type="text/css">
</style>
</head>
<body bgcolor="#FFFFFF" text="#666666" link="#666666">
<table width="440" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr valign="top" align="left"> 
    <td><!-- #BeginEditable "Inuti%20cellen" -->
          <% 
            
            if (request.getParameter("MandagLunchUID") != null)
            {
              //Uppdatera den befintliga posten med UPDATE_MATSEDEL(UID, Mattext, 
datum, IsVego(0 eller 1), IsLunch(0 eller 1));
                  MyUpDateStatement.setString(1, 
request.getParameter("MandagLunchUID"));
                  MyUpDateStatement.setString(2, 
request.getParameter("MandagLunchText"));
                  MyUpDateStatement.setString(3, 
request.getParameter("MandagLunchDatum"));
                  MyUpDateStatement.setString(4, IsVegoString);
                  MyUpDateStatement.setInt(5, 1);
                  MyUpDateStatement.execute();
            } 
            else
            {
              //Sätt in ny post med INSERT_INTO_MATSEDEL(Mattext, Datum, IsVego(0 
eller 1), IsLunch(0 eller 1));
            };
          %>
    <!-- #EndEditable --></td>
  </tr>
</table>
</body>
<!-- #EndTemplate -->
</html>


>>> [EMAIL PROTECTED] 2002-02-18 14:34:34 >>>

--- Magnus Jansson <[EMAIL PROTECTED]> wrote:
> Hi!!!
> 
> I'm quite new to jsp and java and I would like to
> know how to "decode" the error messages that I
> receive.
> 
> And for now this particular error message
> 
> java.lang.VerifyError: (class:
> interbase/interclient/ErrorKey, method:  signature:
> ()V) Expecting to find object/array on stack
>       at
>
interbase.interclient.EscapeProcedureCallParser.parse(EscapeProcedureCallParser.java,
> Compiled Code)
>       at
>
interbase.interclient.EscapeProcessor._$150216(EscapeProcessor.java,
> Compiled Code)
>       at
>
interbase.interclient.EscapeProcessor.doEscapeProcessing(EscapeProcessor.java,
> Compiled Code)
>       at
>
interbase.interclient.PreparedStatement.(PreparedStatement.java:104)
>       at
>
interbase.interclient.CallableStatement.(CallableStatement.java:261)
>       at
>
interbase.interclient.Connection.prepareCall(Connection.java:572)
>       at
>
matsedel.input.updatematsedel_8._jspService(updatematsedel_8.java:84)
>       at
>
org.apache.jasper.runtime.HttpJspBase.service(Unknown
> Source)
>       at
>
javax.servlet.http.HttpServlet.service(HttpServlet.java,
> Compiled Code)
>       at
>
org.apache.tomcat.facade.ServletHandler.doService(Unknown
> Source)
>       at org.apache.tomcat.core.Handler.invoke(Unknown
> Source)
>       at org.apache.tomcat.core.Handler.service(Unknown
> Source)
>       at
>
org.apache.tomcat.facade.ServletHandler.service(Unknown
> Source)
>       at
>
org.apache.tomcat.core.ContextManager.internalService(Unknown
> Source)
>       at
>
org.apache.tomcat.core.ContextManager.service(Unknown
> Source)
>       at
>
org.apache.tomcat.modules.server.Ajp13Interceptor.processConnection(Unknown
> Source)
>       at
>
org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown
> Source)
>       at
>
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown
> Source)
> 
> 
> - - - - - - - - - - - - - - - - - - - - - - - - - -
> - - - - - - - - - - - - - - - - - - - 
> Magnus Jansson
> IT-Manager
> Väddö folkhögskola
> 760 40 Väddö
> Sweden
> 
> Phone: +46 (0) 176-528 00
> Cellular: +46 (0) 70-370 33 16
> Fax: +46 (0) 176-528 28
> http://www.vaddo.fhsk.se (work)
> http://www.jason.pp.se (private)

VerifyError means the JVM thinks there's
something wrong with the class file, basically.
Maybe you need to recompile everything from
scratch, make sure the class files in the
classpath are the right ones, etc. Which VM
and which compiler are you using?

--Jose



__________________________________________________
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com 

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to