This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 123319 - jsp code completion not working
Summary: jsp code completion not working
Status: RESOLVED DUPLICATE of bug 123318
Alias: None
Product: javaee
Classification: Unclassified
Component: JSP (show other bugs)
Version: 6.x
Hardware: All Windows Vista
: P3 blocker (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-04 05:51 UTC by porkoboe
Modified: 2007-12-04 06:03 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description porkoboe 2007-12-04 05:54:04 UTC
I have been struggling with the code completion in netbeans 6`s jsp editor.

the code completion functionality is very intermittent, working for some projects and not others.

ie, when writing the jsp scriptlet:
<%
 String foo = new String();
 foo.<--should get the string api on popup, instead i get "no suggestions"
%>

Code completion does not work at all for my larger projects, i also intermittently get this error in the ide when a jsp
editing in a larger project is open:

Exception in thread "Init TldLocationCache" java.lang.AbstractMethodError:
gnu.xml.dom.DomDocument.setDocumentURI(Ljava/lang/String;)V
	at org.apache.jasper.xmlparser.ParserUtils.parseXMLDocument(ParserUtils.java:226)
	at org.apache.jasper.xmlparser.ParserUtils.parseXMLDocument(ParserUtils.java:274)
	at org.apache.jasper.compiler.TldLocationsCache.processWebDotXml(TldLocationsCache.java:374)
	at org.apache.jasper.compiler.TldLocationsCache.init(TldLocationsCache.java:312)
	at org.apache.jasper.compiler.TldLocationsCache.getLocation(TldLocationsCache.java:272)
	at org.netbeans.modules.web.jspparser_ext.WebAppParseSupport$InitTldLocationCacheThread.run(WebAppParseSupport.java:1005)

could the jsp module be using different xml libraries, perhaps even those from projects classpaths?, i know there are a
few old xml implementations in one of my projects classpaths.

I have attached two messages.log file with the -Djaxp.debug=1 switch enabled to capture what its doing with the xml
parsers. one when code completion is working and one where code completion does not work.

cheers,
Comment 1 porkoboe 2007-12-04 06:03:38 UTC

*** This issue has been marked as a duplicate of 123318 ***