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 227253 - java.io.IOException: Error getting host info for localhost
Summary: java.io.IOException: Error getting host info for localhost
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: execution (show other bugs)
Version: 7.3
Hardware: All All
: P2 normal (vote)
Assignee: ilia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-10 08:27 UTC by Exceptions Reporter
Modified: 2014-01-27 15:22 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 199278


Attachments
stacktrace (1.50 KB, text/plain)
2013-03-10 08:27 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2013-03-10 08:27:47 UTC
This issue was reported manually by alexvsimon.
It already has 1 duplicates 


Build: NetBeans IDE 7.3 (Build 201302132200)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.5-b02, Java(TM) SE Runtime Environment, 1.7.0_09-b05
OS: Windows 7

User Comments:
GUEST: NetBeans won't find localhost information




Stacktrace: 
java.io.IOException: Error getting host info for localhost
   at org.netbeans.modules.nativeexecution.api.util.HostInfoUtils.getHostInfo(HostInfoUtils.java:228)
   at org.netbeans.modules.cnd.makeproject.execution.LDErrorParser.<init>(LDErrorParser.java:104)
   at org.netbeans.modules.cnd.makeproject.execution.ResolveConflictParserProvider.getErorParser(ResolveConflictParserProvider.java:59)
   at org.netbeans.modules.cnd.spi.toolchain.ErrorParserProvider$DefaultErrorParserProvider.getUniversalErorParsersImpl(ErrorParserProvider.java:192)
   at org.netbeans.modules.cnd.spi.toolchain.ErrorParserProvider.getUniversalErorParsers(ErrorParserProvider.java:77)
   at org.netbeans.modules.cnd.spi.toolchain.CompilerLineConvertor.<init>(CompilerLineConvertor.java:97)
Comment 1 Exceptions Reporter 2013-03-10 08:27:49 UTC
Created attachment 132422 [details]
stacktrace
Comment 2 Maria Tishkova 2013-05-17 10:02:50 UTC
moved to execution sub-component as dlight is gone from the NetBeans
Comment 3 Andrew Krasny 2013-05-22 12:16:52 UTC
The root cause is that there is a failure while an attempt to copy a 'pty' executable - The process cannot access the file because it is being used by another process
Comment 4 Andrew Krasny 2013-05-22 12:38:51 UTC
http://hg.netbeans.org/cnd-main/rev/e33bcc97db70
This is the first part of the fix - if file is busy it still could be the same and in this case it will be used.
Comment 5 Quality Engineering 2013-05-23 02:35:24 UTC
Integrated into 'main-golden', will be available in build *201305222300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/e33bcc97db70
User: Andrew Krasny <akrasny@netbeans.org>
Log: Bug#227253 - java.io.IOException: Error getting host info for localhost
Comment 6 Alexander Simon 2014-01-14 19:03:58 UTC
22 reports => P2
Comment 7 Vladimir Kvashin 2014-01-27 15:22:29 UTC
We consider it to be fixed by 
http://hg.netbeans.org/cnd-main/rev/e33bcc97db70