java.lang.NumberFormatException: null

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

,

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.

,

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

java.lang.NumberFormatException: null
at java.lang.Integer.parseInt(Integer.java:436)
at java.lang.Integer.parseInt(Integer.java:518)
at oracle.net.nt.TcpNTAdapter.(Unknown Source)
at oracle.net.nt.ConnOption.getNT(Unknown Source)
at oracle.net.nt.ConnOption.connect(Unknown Source)
at oracle.net.nt.ConnStrategy.execute(Unknown Source)
at oracle.net.resolver.AddrResolution.resolveAndExecute(Unknown Source)
at oracle.net.ns.NSProtocol.establishConnection(Unknown Source)
at oracle.jdbc.ttc7.TTC7Protocol.connect(TTC7Protocol.java:1284)
at oracle.jdbc.ttc7.TTC7Protocol.logon(TTC7Protocol.java:218)
at oracle.jdbc.driver.OracleConnection.(OracleConnection.java:377)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:515)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:345)
at java.sql.DriverManager.getConnection(DriverManager.java:512)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
at oracle.panama.util.ConnectInfo.getConnection(ConnectInfo.java:399)
at oracle.panama.util.ConnectInfo.setConnectionPoolInfo(ConnectInfo.java:313)
at oracle.panama.util.ConnectInfo.getConnectInfo(ConnectInfo.java:296)
at oracle.panama.sysmgmt.server.PTGProcessManager.getSMAgentSingleton(PTGProcessManager.java:214)
at oracle.panama.sysmgmt.server.PTGProcessManager.initProcessManager(PTGProcessManager.java:90)

Users with the same issue

18 times, 1 week ago
Once, 1 month ago
Once, 1 month ago
Once, 2 months ago
2 times, 3 months ago

Write tip

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