[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.newcomer] Stack Overflow when typing JSP source annoys me
|
- From: exquisitus <agz@xxxxxxxxx>
- Date: Thu, 19 Mar 2009 19:06:39 +0200
- Newsgroups: eclipse.newcomer
- Organization: EclipseCorner
- User-agent: Thunderbird 2.0.0.21 (Windows/20090302)
Hello,
When typing JSP source I'm getting the pop-up dialog with the following message:
org.eclipse.jst.jsp.core.internal.parser.JSPSourceParser: input could not be parsed correctly at
position 816 java.lang.StackOverflowError
The source code, which I've been editing lat time was:
------------------------ begin ---------------------------
<%@ page language="java" %>
<%@ include file="/WEB-INF/jspf/jheader.jspf" %>
<sql:setDataSource var="DBConn" dataSource="jdbc/db"/>
<sql:transaction dataSource="${DBConn}">
<c:choose>
<c:when test="${empty id or fn:contains(fn:toLowerCase(param.action), 'as new')}">
<sql:query var="qid">select GEN_ID(G_PRODUCT_ID,1) as id from RDB$DATABASE</sql:query>
<c:set var="id" value="${qid.rows[0].ID}" scope="request"/>
<sql:update>
insert into products
(id, name, kind_id, price, max_qty, img_url, description)
values (?, ?, ?, ?, ?, ?, ?)
<sql:param value="${id}"/>
<sql:param value="${name}"/>
<sql:param value="${price}"/>
<sql:param value="${max_qty}"/>
<sql:param value="${umg_url}"/>
<sql:param value="${description}"/>
</sql:update>
</c:when>
<c:when test=
</c:choose>
</sql:transaction>
-------------------------- end ------------------------
The cursor was after the unfinished `<c:when test=` tag (third line from the bottom). Error usually
appears when I'm typing quite fast.
Please help me to get rid of that annoying bug.
Thanks,
Andrew