You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Marc Gibert Ginestà <ma...@cometatech.com> on 2001/01/22 21:48:19 UTC
Strange XSP error
Hi!
I'm coding an XSP Page in which i get some values from a Postgres
database.
I get the followig error:
java.lang.NumberFormatException:
at java.lang.Integer.parseInt(Integer.java, Compiled Code)
at java.lang.Integer.<init>(Integer.java, Compiled Code)
at
_usr._local._aibits._xml._scheduler._contact._edit_contact.populateDocument(_edit_contact.java,
Compiled Code)
at org.apache.cocoon.processor.xsp.XSPPage.getDocument(XSPPage.java,
Compiled Code)
at
org.apache.cocoon.processor.xsp.XSPProcessor.process(XSPProcessor.java,
Compiled Code)
at org.apache.cocoon.Engine.handle(Engine.java, Compiled Code)
at org.apache.cocoon.Cocoon.service(Cocoon.java, Compiled Code)
at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled
Code)
at org.apache.jserv.JServConnection.processRequest(JServConnection.java,
Compiled Code)
at org.apache.jserv.JServConnection.run(JServConnection.java, Compiled
Code)
at java.lang.Thread.run(Thread.java, Compiled Code)
It's quite strange because I don't work with Integer or ints in my XSP.
The most strange thing is that I only get the error once I code more
than a certain number of lines in my code.
I have tried to locate the error in the java sources generated by
cocoon,
and (I think) happens when cocoon calls String.valueOf. I've tried to
change
the strings where I got the error for a constant var but it still fails.
Thanks in advance.
--
Sincerely,
Marc Gibert Ginestà e-mail: marcg@cometatech.com
Cometa Technologies, S.L. URL: http://www.cometatech.com
Telf.: 93 231 84 90 Fax: 93 245 93 43