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 8056 - Ant tries to connect to a network during startup
Summary: Ant tries to connect to a network during startup
Status: CLOSED WONTFIX
Alias: None
Product: projects
Classification: Unclassified
Component: Ant (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 major (vote)
Assignee: issues@projects
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-10-27 14:37 UTC by Jaroslav Tulach
Modified: 2003-06-30 14:46 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 Jaroslav Tulach 2000-10-27 14:37:35 UTC
Looks like the Ant module's xml parser tries to connect to network during
statup. See part of thread dump. I have realized it today, because our network
connection is very slow and it takes a lot of time to start NetBeans.



"Folder recognizer" daemon prio=1 tid=0x81365f8 nid=0x5013 runnable
[0xbddff000..0xbddffb28]
        at java.net.InetAddressImpl.lookupAllHostAddr(Native Method)
        at java.net.InetAddress.getAddressFromNameService(InetAddress.java:619)
        at java.net.InetAddress.getAllByName0(InetAddress.java:568)
        at java.net.InetAddress.getAllByName0(InetAddress.java:540)
        at java.net.InetAddress.getByName(InetAddress.java:449)
        at sun.net.www.http.HttpClient.<init>(HttpClient.java:257)
        at sun.net.www.http.HttpClient.<init>(HttpClient.java:277)
        at sun.net.www.http.HttpClient.New(HttpClient.java:289)
        at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:379)
        at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:472)
        at java.net.URL.openStream(URL.java:798)
        at
org.apache.xerces.readers.DefaultReaderFactory.createReader(DefaultReaderFactory.java:149)
        at
org.apache.xerces.readers.DefaultEntityHandler.startReadingFromExternalEntity(DefaultEntityHandler.java:746)
        at
org.apache.xerces.readers.DefaultEntityHandler.startReadingFromExternalSubset(DefaultEntityHandler.java:565)
        at
org.apache.xerces.validators.dtd.DTDImporter.startReadingFromExternalSubset(DTDImporter.java:223)
        at
org.apache.xerces.framework.XMLDTDScanner.scanDoctypeDecl(XMLDTDScanner.java:1126)
        at
org.apache.xerces.validators.dtd.DTDImporter.scanDoctypeDecl(DTDImporter.java:158)
        at
org.apache.xerces.validators.common.XMLValidator.scanDoctypeDecl(XMLValidator.java:830)
        at
org.apache.xerces.framework.XMLDocumentScanner$PrologDispatcher.dispatch(XMLDocumentScanner.java:894)
        at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:402)
        at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:802)
        at
org.apache.tools.ant.module.AntProjectDataLoader.findPrimaryFile(AntProjectDataLoader.java:105)
        at
org.openide.loaders.MultiFileLoader.handleFindDataObject(MultiFileLoader.java:55)
        at
org.openide.loaders.DataObjectPool.callHandleFind(DataObjectPool.java:79)
        at org.openide.loaders.DataLoader.findDataObject(DataLoader.java:131)
        at
org.openide.loaders.DataLoaderPool.findDataObject(DataLoaderPool.java:359)
        at org.openide.loaders.FolderList.createBoth(FolderList.java:485)
        at org.openide.loaders.FolderList.getObjects(FolderList.java:310)
        at org.openide.loaders.FolderList.access$200(FolderList.java:40)
        at org.openide.loaders.FolderList$ListTask.run(FolderList.java:623)
        at org.openide.util.Task.run(Task.java:124)
        at
org.openide.util.RequestProcessor$ProcessorThread.run(RequestProcessor.java:562)
Comment 1 Jesse Glick 2000-10-27 14:52:59 UTC
I am marking this as duplicate since I think this was already fixed.

Please reopen if you can reproduce using current sources from CVS. And give
details of exactly when this happened--probably when you explored to some *.xml
file, so attach that XML file.

*** This bug has been marked as a duplicate of 8010 ***
Comment 2 Milan Kubec 2001-06-27 15:48:18 UTC
Verified.
Comment 3 Quality Engineering 2003-06-30 14:46:40 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.