java.net.UnknownHostException

^localhost$

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web71

  • via Oracle Community by 937637, 1 year ago
    [localhost]
  • localhost]
  • Stack trace

    • java.net.UnknownHostException: ^localhost$ at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)[?:1.7.0_51] at java.net.InetAddress$1.lookupAllHostAddr(Unknown Source)[?:1.7.0_51] at java.net.InetAddress.getAddressesFromNameService(Unknown Source)[?:1.7.0_51] at java.net.InetAddress.getAllByName0(Unknown Source)[?:1.7.0_51] at java.net.InetAddress.getAllByName(Unknown Source)[?:1.7.0_51] at java.net.InetAddress.getAllByName(Unknown Source)[?:1.7.0_51] at java.net.InetAddress.getByName(Unknown Source)[?:1.7.0_51] at li.cil.oc.Settings$AddressValidator.liftedTree1$1(Settings.scala:303)[Settings$AddressValidator.class:?] at li.cil.oc.Settings$AddressValidator.<init>(Settings.scala:290)[Settings$AddressValidator.class:?] at li.cil.oc.Settings$$anonfun$1.apply(Settings.scala:177)[Settings$$anonfun$1.class:?] at li.cil.oc.Settings$$anonfun$1.apply(Settings.scala:177)[Settings$$anonfun$1.class:?] at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)[TraversableLike$$anonfun$map$1.class:?] at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)[TraversableLike$$anonfun$map$1.class:?] at scala.collection.Iterator$class.foreach(Iterator.scala:727)[Iterator$class.class:?] at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)[AbstractIterator.class:?] at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)[IterableLike$class.class:?] at scala.collection.AbstractIterable.foreach(Iterable.scala:54)[AbstractIterable.class:?] at scala.collection.TraversableLike$class.map(TraversableLike.scala:244)[TraversableLike$class.class:?] at scala.collection.AbstractTraversable.map(Traversable.scala:105)[AbstractTraversable.class:?] at li.cil.oc.Settings.<init>(Settings.scala:177)[Settings.class:?] at li.cil.oc.Settings$.load(Settings.scala:256)[Settings$.class:?] at li.cil.oc.common.Proxy.preInit(Proxy.scala:24)[Proxy.class:?] at li.cil.oc.client.Proxy.preInit(Proxy.scala:21)[Proxy.class:?] at li.cil.oc.OpenComputers$.preInit(OpenComputers.scala:37)[OpenComputers$.class:?] at li.cil.oc.OpenComputers.preInit(OpenComputers.scala)[OpenComputers.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[?:1.7.0_51] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)[?:1.7.0_51] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)[?:1.7.0_51] at java.lang.reflect.Method.invoke(Unknown Source)[?:1.7.0_51] at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:513)[FMLModContainer.class:?] at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)[?:1.7.0_51] at java.lang.reflect.Method.invoke(Unknown Source)[?:1.7.0_51] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)[guava-15.0.jar:?] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:47)[guava-15.0.jar:?] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)[guava-15.0.jar:?] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)[guava-15.0.jar:?] at com.google.common.eventbus.EventBus.post(EventBus.java:267)[guava-15.0.jar:?] at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:208)[LoadController.class:?] at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187)[LoadController.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[?:1.7.0_51] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)[?:1.7.0_51] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)[?:1.7.0_51] at java.lang.reflect.Method.invoke(Unknown Source)[?:1.7.0_51] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)[guava-15.0.jar:?] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:47)[guava-15.0.jar:?] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)[guava-15.0.jar:?] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)[guava-15.0.jar:?] at com.google.common.eventbus.EventBus.post(EventBus.java:267)[guava-15.0.jar:?] at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:118)[LoadController.class:?] at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:512)[Loader.class:?] at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:239)[FMLClientHandler.class:?] at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:467)[azd.class:?] at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:815)[azd.class:?] at net.minecraft.client.main.Main.main(SourceFile:103)[Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[?:1.7.0_51] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)[?:1.7.0_51] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)[?:1.7.0_51] at java.lang.reflect.Method.invoke(Unknown Source)[?:1.7.0_51] at net.minecraft.launchwrapper.Launch.launch(Launch.java:134)[launchwrapper-1.9.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28)[launchwrapper-1.9.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[?:1.7.0_51] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)[?:1.7.0_51] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)[?:1.7.0_51] at java.lang.reflect.Method.invoke(Unknown Source)[?:1.7.0_51] at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:273)[NewLaunch.jar:?] at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:363)[NewLaunch.jar:?] at org.multimc.EntryPoint.listen(EntryPoint.java:165)[NewLaunch.jar:?] at org.multimc.EntryPoint.main(EntryPoint.java:54)[NewLaunch.jar:?]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    Once, 3 months ago
    Once, 3 months ago
    5 times, 4 months ago
    Once, 4 months ago
    65 more bugmates