]
Max Andersen closed JBIDE-1810.
-------------------------------
Resolution: Done
CA: exception appears when user tries to use content assist in some
case
------------------------------------------------------------------------
Key: JBIDE-1810
URL:
http://jira.jboss.com/jira/browse/JBIDE-1810
Project: Tools (JBoss Tools)
Issue Type: Bug
Affects Versions: 2.0.1
Environment: JBossTools-200802200222-nightly-ALL-win32
and latest updates
Reporter: Andrei Scherbovich
Fix For: 2.1.0.beta1
Attachments: log1.txt.txt, log2.txt.txt
CA: exception appears when user tries to use content assist in some case.
Steps to reproduce:
1. EXECUTE: Create xhtml file with the following content:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html
xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html">
<body>
</body>
</html>
2. EXECUTE: Point cursor in one of the following positions: [xmlns:|h="http...],
[xmlns:h=|"http...]
3. EXECUTE: Use CA
4. ASSERT: It works
5. EXECUTE: Delete [
xmlns:ui="http://java.sun.com/jsf/facelets"] and save
changes
6. EXECUTE: step 2
7. ASSERT: It works
8. FAILURE: NullPointer exception and String index out of range exception appears
SEE ERROR LOGS IN ATTACHMENT
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: