History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEADEV-12013
Type: Exception Exception
Status: Resolved Resolved
Resolution: Fixed
Priority: Normal Normal
Assignee: Maxim Mossienko
Reporter: Taras Tielkes
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

repro case for updateOuterLanguageElements exception in jsp

Created: 15 Nov 06 17:04   Updated: 24 Nov 06 14:11
Component/s: J2EE.JSP
Fix Version/s: Demetra 6.0.3

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
File Attachments: 1. File hello.tagx (0.4 kb)
2. Text File stacktrace.txt (7 kb)
3. File test.jsp (0.3 kb)


Build: 6,103
Fixed in build: 6,561


 Description  « Hide
Simple jsp file (test.jsp):
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="foo" tagdir="/WEB-INF/tags/mytags" %>
<html>
<foo:hello>
  <jsp:attribute name="element">
    test {1+2}
  </jsp:attribute>
</foo:hello>
</html>

The referenced tagdir with one tagfile is trivial nonsense as well (attached).

I can consistently reproduce the "CompositeLanguageFileViewProvider.updateOuterLanguageElements" exception (see attached stacktrace), by following the next steps:
1) Navigate to line 2 ("<%@ taglib prefix="foo" ...")
2) Duplicate (Ctrl-D). Now we're on line 3
3) On the new line 3, change "foo" into "c"
4) Still on line 3, select the following text: tagdir="/WEB-INF/tags/mytags"
5) Delete the selected text, but don't change caret position
6) Invoke completion (you should see "tagdir" and "uri" suggestions), but do not choose any suggestion yet

After step 6, I get the mentioned error every time.



 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.