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.
Product Version: NetBeans IDE Dev (Build 200710241200) Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b02 System: Linux version 2.6.22-14-386 running on i386; UTF-8; en_US (nb) Code completion does not seem to work when offline for dtd based xml files even though the dtd is provided by a catalog. The following is printed to output: INFO [org.netbeans.modules.xml.schema.completion.util.CompletionUtil]: No route to host Steps to reproduce. 1. disable network access 2. create a new web application, target server GlassFish, J2EE 1.4, with JSF 3. open faces-config.xml (which is a dtd based file) 4. invoke code completion => nothing happens Note that the needed DTD (web-facesconfig_1_1.dtd) is provided by o.n.m.web.jsf.JSFCatalog (web/jsf module) so no network access should be required.
I tried this on JDK1.5.0_12 and Win XP and its seems to be working fine. I did the steps as outlined after verifing that I was off the network. Tony, Can you try on linux?
System Info: Product Version: NetBeans IDE Dev (Build 200801220251) Java: 1.6.0_04; Java HotSpot(TM) Client VM 10.0-b19 System: Linux version 2.6.22-14-generic running on i386; UTF-8; en_US (nb) When I try and switch to XML view (the default is page navigation view) for faces-config.xml I get a stack overflow error that repeats forever. Had to kill the ide. I'll attach the exception.
Created attachment 55394 [details] Stack Overflow Error
With networking enabled no SOE.
I don't know what caused the SOE I reported earlier. I cannot reproduce that, it was a one time thing. I was able to test the steps provided and there does not appear to be such an issue any longer. Also, w/ 6.1 JSF version is 1.2 this does not support J2EE 1.4. However, installing the JSF backward compatibility plugin a 1.4 level project and JSF 1.1 project can be created. I tested both an EE5 and J2EE level project and JSF 1.2 and 1.1.02 for the project settings. Both had CC when there was no connectivity.