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 240633 - java.net.UnknownHostException: jimsimac: nodename nor servname provided, or not known
Summary: java.net.UnknownHostException: jimsimac: nodename nor servname provided, or n...
Status: RESOLVED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: Inspection (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Jan Stola
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-18 04:04 UTC by jiminaus
Modified: 2015-03-05 13:34 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 202367


Attachments
stacktrace (2.16 KB, text/plain)
2014-01-18 04:04 UTC, jiminaus
Details
stacktrace (2.46 KB, text/plain)
2014-02-10 15:52 UTC, Petr Jiricka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jiminaus 2014-01-18 04:04:06 UTC
Build: NetBeans IDE 8.0 Beta (Build 201401141042)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.51-b03, Java(TM) SE Runtime Environment, 1.7.0_51-b13
OS: Mac OS X

User Comments:
johnjullion: running project on mac

GUEST: Launched an HTML5 project while projects were still opening.

GUEST: Debugging an HTML5 web application with Chrome.

pablhoney: using angularJs

GUEST: Opened a web page in the embedded webkit browser

GUEST: Tried to use mysqli_fetch_assoc(). All code checks out fine.

GUEST: Opened a project in built-in webkit-based browser for debugging and started typing into a web form.

jiminaus: Started a Maven-based Web App using the internal web browser.

GUEST: I was attempting to run software from mpdf1.com

GUEST: Debugging




Stacktrace: 
java.net.UnknownHostException: jimsimac: nodename nor servname provided, or not known
   at java.net.Inet6AddressImpl.lookupAllHostAddr(Inet6AddressImpl.java:0)
   at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:901)
   at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1293)
   at java.net.InetAddress.getLocalHost(InetAddress.java:1469)
   at org.netbeans.modules.web.common.api.WebUtils.getLocalhostInetAddress(WebUtils.java:531)
   at org.netbeans.modules.web.inspect.webkit.CSSUpdater.start(CSSUpdater.java:123)
Comment 1 jiminaus 2014-01-18 04:04:10 UTC
Created attachment 144093 [details]
stacktrace
Comment 2 Petr Jiricka 2014-02-10 15:52:25 UTC
Created attachment 144994 [details]
stacktrace

Using the IDE while getting on/off proxy.
Comment 3 Jan Stola 2015-03-05 13:34:50 UTC
This exception may be result of some network-related misconfigurations. Happily, these doesn't usually matter (unless you inspect page on Android or iOS device). I have modified the corresponding code to avoid this exception.

Modified file: https://hg.netbeans.org/web-main/rev/2e3a4449b661