java.sql.SQLException: Io exception: Invalid number format for port number

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

Solutions on the web

via Google Groups by mwz, 2 years ago
Io exception: Invalid number format for port number
via Stack Overflow by Lipska
, 1 year ago
Io exception: Connection reset
via Oracle Community by 612504, 1 year ago
Io exception: Connection refused(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=141.101.138.152)(PORT=16 30))(ADDRESS=(PROTOCOL=TCP)(HOST=194.168.5.213)(PORT=1521)))(SOURCE_ROUTE=yes)(CONNECT_DATA=(SERVICE_NAME=DEVT)))
via Oracle Community by 735680, 1 year ago
Io exception: Socket read timed out
via Oracle Community by 824678, 1 year ago
Io exception: Socket read timed out
java.sql.SQLException: Io exception: Invalid number format for port number
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:74)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:110)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:171)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:227)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:494)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:411)
at oracle.jdbc.driver.PhysicalConnection.(PhysicalConnection.java:490)
at oracle.jdbc.driver.T4CConnection.(T4CConnection.java:202)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:33)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:474)
at java.sql.DriverManager.getConnection(Unknown Source)
at de.fuberlin.wiwiss.d2rq.sql.ConnectedDB.connect(ConnectedDB.java:78)
at de.fuberlin.wiwiss.d2rq.sql.ConnectedDB.connection(ConnectedDB.java:67)
at de.fuberlin.wiwiss.d2rq.dbschema.DatabaseSchemaInspector.(DatabaseSchemaInspector.java:71)
at de.fuberlin.wiwiss.d2rq.sql.ConnectedDB.schemaInspector(ConnectedDB.java:86)
at org.topbraidcomposer.d2rq.wizard.MappingGenerator.connectToDatabase(Unknown Source)
at org.topbraidcomposer.d2rq.wizard.MappingGenerator.run(Unknown Source)
at org.topbraidcomposer.d2rq.wizard.ImportD2RQWizard.run(Unknown Source)
at org.topbraidcomposer.d2rq.wizard.ImportD2RQWizard$1.run(Unknown Source)

Users with the same issue

8 times, 7 months ago
Samebug visitor profile picture
Unknown user
Once, 1 month ago
Samebug visitor profile picture
Unknown user
Once, 1 month ago
Samebug visitor profile picture
Unknown user
Once, 1 month ago
Samebug visitor profile picture
Unknown user
Once, 1 month ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.