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. ,

    Can occur when you try to convert a String to a numeric value but the String is not well formatted for the conversion.

Solutions on the web

via Oracle Community by 748904, 1 year ago
via Oracle Community by 748904, 1 year ago
via GitHub by stephenwang2017
, 2 months ago
For input string: "null"
via GitHub by spoenemann
, 8 months ago
For input string: " 1"
via GitHub by DallonTG
, 2 years ago
java.lang.NumberFormatException: For input string: "//localhost"	at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)	at java.lang.Integer.parseInt(Integer.java:447)	at java.lang.Integer.parseInt(Integer.java:497)	at oracle.oc4j.admin.jmx.client.Oc4jDomainFactory.getDomainFromDeployerUrl(Oc4jDomainFactory.java:283)	at oracle.oc4j.admin.deploy.spi.factories.Oc4jDeploymentFactory.getDeploymentManager(Oc4jDeploymentFactory.java:127)	at javax.enterprise.deploy.shared.factories.DeploymentFactoryManager.getDeploymentManager(DeploymentFactoryManager.java:112)	at oracle.oc4j.admin.deploy.api.J2EEDeploymentManager.validateURI(J2EEDeploymentManager.java:911)	at oracle.oc4j.admin.deploy.cmdline.ValidateURICommand.execute(ValidateURICommand.java:61)	at oracle.oc4j.admin.deploy.cmdline.Oc4jAdminCmdline.executeCommand(Oc4jAdminCmdline.java:96)	at oracle.oc4j.admin.deploy.cmdline.Oc4jAdminCmdline.main(Oc4jAdminCmdline.java:73)