Project
IntelliJ IDEA
Priority
Normal
Type
Bug
Fix versions
No Fix versions
State
Fixed
Assignee
Maxim Mossienko
Subsystem
J2EE.JSP
Affected versions
No Affected versions
Fixed in build
108.65  
  • Created by   Taras Tielkes
    5 years ago (15 Nov 2006 18:04)
  • Updated by   root
    2 years ago (17 Jan 2010 20:37)
  • Jira: IDEADEV-12013
    (history, comments)
 
IDEA-35469 repro case for updateOuterLanguageElements exception in jsp
0
Issue is visible to: All Users
  The issue is visible to the selected user group only
3 Attachments
hello.tagx   (391 B) stacktrace.txt   (6 KB) test.jsp   (266 B)
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.


Issue was resolved
Comments (0)
 
History
 
Linked Issues (?)
 
Issue has no comments