Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,

    You try to parse a String that contains non-numeric characters to an int. The string must contain decimal characters only, optionally beginning with a + or - sign.

  2. ,

    Java does not handle IPv6 nameservers before 1.8.0_60. Upgrade to the latest JVM.

Solutions on the web

via YouTrack by Unknown author, 1 year ago
java.lang.NumberFormatException: For input string: "localhost"
via GitHub by friedfilibuster
, 1 year ago
java.lang.RuntimeException: Cannot set value for field CONTINUATION_INDENT_SIZE
com.intellij.util.xmlb.XmlSerializationException: java.lang.NumberFormatException: For input string: "localhost" at com.intellij.util.xmlb.XmlSerializer.deserializeInto(XmlSerializer.java:116) at com.intellij.util.xmlb.XmlSerializer.deserializeInto(XmlSerializer.java:105) at com.jetbrains.resharper.run.configurations.remote.DotNetRemoteConfiguration.readExternal(DotNetRemoteConfiguration.kt:38) at com.intellij.execution.impl.RunnerAndConfigurationSettingsImpl.readExternal(RunnerAndConfigurationSettingsImpl.java:374) at com.intellij.execution.impl.RunManagerImpl.loadConfiguration(RunManagerImpl.java:844) at com.intellij.execution.impl.RunManagerImpl.loadState(RunManagerImpl.java:707) at com.intellij.execution.impl.RunManagerImpl.loadState(RunManagerImpl.java:53) at com.intellij.configurationStore.ComponentStoreImpl.a(ComponentStoreImpl.kt:301) at com.intellij.configurationStore.ComponentStoreImpl.initComponent(ComponentStoreImpl.kt:91) at com.intellij.openapi.components.impl.PlatformComponentManagerImpl.initializeComponent(PlatformComponentManagerImpl.java:54) at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:516) at com.intellij.openapi.components.impl.ComponentManagerImpl.createComponents(ComponentManagerImpl.java:119) at com.intellij.openapi.components.impl.ComponentManagerImpl.init(ComponentManagerImpl.java:103) at com.intellij.openapi.components.impl.ComponentManagerImpl.init(ComponentManagerImpl.java:90) at com.intellij.openapi.project.impl.ProjectImpl.init(ProjectImpl.java:283) at com.intellij.openapi.project.impl.ProjectManagerImpl.a(ProjectManagerImpl.java:222) at com.intellij.openapi.project.impl.ProjectManagerImpl.loadProject(ProjectManagerImpl.java:252) at com.jetbrains.resharper.projectView.ideaInterop.RiderProjectOpenProcessor$Companion.doOpenSolution(RiderProjectOpenProcessor.kt:82) at com.jetbrains.resharper.projectView.ideaInterop.RiderProjectOpenProcessor.doOpenProject(RiderProjectOpenProcessor.kt:130) at com.intellij.ide.impl.ProjectUtil.openOrImport(ProjectUtil.java:111) at com.intellij.ide.CommandLineProcessor.a(CommandLineProcessor.java:80) at com.intellij.ide.CommandLineProcessor.processExternalCommandLine(CommandLineProcessor.java:203) at com.intellij.idea.IdeaApplication.b(IdeaApplication.java:358) at com.intellij.idea.IdeaApplication.access$400(IdeaApplication.java:61) at com.intellij.idea.IdeaApplication$IdeStarter.a(IdeaApplication.java:342) at com.intellij.openapi.application.TransactionGuardImpl.a(TransactionGuardImpl.java:88) at com.intellij.openapi.application.TransactionGuardImpl.access$300(TransactionGuardImpl.java:40) at com.intellij.openapi.application.TransactionGuardImpl$2.run(TransactionGuardImpl.java:113) at com.intellij.openapi.application.TransactionGuardImpl.submitTransaction(TransactionGuardImpl.java:123) at com.intellij.openapi.application.TransactionGuard.submitTransaction(TransactionGuard.java:109) at com.intellij.idea.IdeaApplication$IdeStarter.main(IdeaApplication.java:341) at com.intellij.idea.IdeaApplication.c(IdeaApplication.java:196) at com.intellij.openapi.application.TransactionGuardImpl.performUserActivity(TransactionGuardImpl.java:199) at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:196) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.intellij.idea.MainImpl$1$1.a(MainImpl.java:68) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:358) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)Caused by: java.lang.NumberFormatException: For input string: "localhost" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Integer.parseInt(Integer.java:580) at java.lang.Integer.parseInt(Integer.java:615) at com.intellij.util.xmlb.XmlSerializerImpl.doSet(XmlSerializerImpl.java:228) at com.intellij.util.xmlb.AttributeBinding.set(AttributeBinding.java:51) at com.intellij.util.xmlb.BeanBinding.deserializeInto(BeanBinding.java:186) at com.intellij.util.xmlb.XmlSerializer.deserializeInto(XmlSerializer.java:110) ... 53 more