java.lang.NumberFormatException

For input string: " " at com.sun.messaging.jmq.jmsclient.ExceptionHandler.throwConnectionExceptio n(ExceptionHandler.java:274) at com.sun.messaging.jmq.jmsclient.ExceptionHandler.handleConnectException( ExceptionHandler.java:220) at com.sun.messaging.jmq.jmsclient.PortMapperClient.readBrokerPorts(PortMap perClient.java:234) at com.sun.messaging.jmq.jmsclient.PortMapperClient.init(PortMapperClient.j ava:148) at com.sun.messaging.jmq.jmsclient.PortMapperClient.<init>(PortMapperClient .java:90) at com.sun.messaging.jmq.jmsclient.protocol.tcp.TCPConnectionHandler.<init> (TCPConnectionHandler.java:130) at com.sun.messaging.jmq.jmsclient.protocol.tcp.TCPStreamHandler.openConnec tion(TCPStreamHandler.java:135) at com.sun.messaging.jmq.jmsclient.ConnectionInitiator.createConnection(Con nectionInitiator.java:778) at com.sun.messaging.jmq.jmsclient.ConnectionInitiator.createConnectionNew( ConnectionInitiator.java:254) at com.sun.messaging.jmq.jmsclient.ConnectionInitiator.createConnection(Con nectionInitiator.java:208) at com.sun.messaging.jmq.jmsclient.ConnectionInitiator.createConnection(Con nectionInitiator.java:158) at com.sun.messaging.jmq.jmsclient.ProtocolHandler.init(ProtocolHandler.jav a:807) at com.sun.messaging.jmq.jmsclient.ProtocolHandler.<init>(ProtocolHandler.j ava:1509) at com.sun.messaging.jmq.jmsclient.ConnectionImpl.openConnection(Connection Impl.java:2280) at com.sun.messaging.jmq.jmsclient.ConnectionImpl.init(ConnectionImpl.java: 1012) at com.sun.messaging.jmq.jmsclient.ConnectionImpl.<init>(ConnectionImpl.jav a:414) at com.sun.messaging.jmq.jmsclient.UnifiedConnectionImpl.<init>(UnifiedConn ectionImpl.java:60) at com.sun.messaging.jmq.jmsclient.XAConnectionImpl.<init>(XAConnectionImpl .java:58) at com.sun.messaging.XAConnectionFactory.createXAConnection(XAConnectionFac tory.java:91) at com.sun.messaging.jms.ra.ManagedConnection.<init>(ManagedConnection.java :193) at com.sun.messaging.jms.ra.ManagedConnectionFactory.createManagedConnectio n(ManagedConnectionFactory.java:213) at com.sun.enterprise.resource.ConnectorAllocator.createResource(ConnectorA llocator.java:136) at com.sun.enterprise.resource.AbstractResourcePool.createSingleResource(Ab stractResourcePool.java:891) at com.sun.enterprise.resource.AbstractResourcePool.createResourceAndAddToP ool(AbstractResourcePool.java:1752) at com.sun.enterprise.resource.AbstractResourcePool.createResources(Abstrac tResourcePool.java:917) at com.sun.enterprise.resource.AbstractResourcePool.initPool(AbstractResour cePool.java:225) at com.sun.enterprise.resource.AbstractResourcePool.internalGetResource(Abs tractResourcePool.java:516) at com.sun.enterprise.resource.AbstractResourcePool.getResource(AbstractRes ourcePool.java:443) at com.sun.enterprise.resource.PoolManagerImpl.getResourceFromPool(PoolMana gerImpl.java:248) at com.sun.enterprise.resource.PoolManagerImpl.getResource(PoolManagerImpl. java:176) at com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnectio n(ConnectionManagerImpl.java:337) at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(C onnectionManagerImpl.java:189) at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(C onnectionManagerImpl.java:165) at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(C onnectionManagerImpl.java:158) at com.sun.messaging.jms.ra.ConnectionFactoryAdapter._allocateConnection(Co nnectionFactoryAdapter.java:179) at com.sun.messaging.jms.ra.ConnectionFactoryAdapter.createConnection(Conne ctionFactoryAdapter.java:166) at com.sun.messaging.jms.ra.ConnectionFactoryAdapter.createConnection(Conne ctionFactoryAdapter.java:148)

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 web5535

  • via Java.net JIRA by janchj, 1 year ago
    com.sun.messaging.jmq.jmsclient.PortMapperClient.readBrokerPorts(PortMap perClient.java:234) at com.sun.messaging.jmq.jmsclient.PortMapperClient.init(PortMapperClient.j ava:148) at com.sun.messaging.jmq.jmsclient.PortMapperClient.<init>(PortMapperClient .java
  • For input string: " " at com.sun.messaging.jms.ra.ConnectionFactoryAdapter._allocateConnection(Co nnectionFactoryAdapter.java:183) at com.sun.messaging.jms.ra.ConnectionFactoryAdapter.createConnection(Conne ctionFactoryAdapter.java:166) at com.sun.messaging.jms.ra.ConnectionFactoryAdapter.createConnection(Conne ctionFactoryAdapter.java:148)
  • via Java.net JIRA by janchj, 1 year ago
    For input string: " " at com.sun.messaging.jms.ra.ConnectionFactoryAdapter._allocateConnection(Co nnectionFactoryAdapter.java:183) at com.sun.messaging.jms.ra.ConnectionFactoryAdapter.createConnection(Conne ctionFactoryAdapter.java:166) at com.sun.messaging.jms.ra.ConnectionFactoryAdapter.createConnection(Conne ctionFactoryAdapter.java:148)
  • Stack trace

    • java.lang.NumberFormatException: For input string: " " at com.sun.messaging.jmq.jmsclient.ExceptionHandler.throwConnectionExceptio n(ExceptionHandler.java:274) at com.sun.messaging.jmq.jmsclient.ExceptionHandler.handleConnectException( ExceptionHandler.java:220) at com.sun.messaging.jmq.jmsclient.PortMapperClient.readBrokerPorts(PortMap perClient.java:234) at com.sun.messaging.jmq.jmsclient.PortMapperClient.init(PortMapperClient.j ava:148) at com.sun.messaging.jmq.jmsclient.PortMapperClient.<init>(PortMapperClient .java:90) at com.sun.messaging.jmq.jmsclient.protocol.tcp.TCPConnectionHandler.<init> (TCPConnectionHandler.java:130) at com.sun.messaging.jmq.jmsclient.protocol.tcp.TCPStreamHandler.openConnec tion(TCPStreamHandler.java:135) at com.sun.messaging.jmq.jmsclient.ConnectionInitiator.createConnection(Con nectionInitiator.java:778) at com.sun.messaging.jmq.jmsclient.ConnectionInitiator.createConnectionNew( ConnectionInitiator.java:254) at com.sun.messaging.jmq.jmsclient.ConnectionInitiator.createConnection(Con nectionInitiator.java:208) at com.sun.messaging.jmq.jmsclient.ConnectionInitiator.createConnection(Con nectionInitiator.java:158) at com.sun.messaging.jmq.jmsclient.ProtocolHandler.init(ProtocolHandler.jav a:807) at com.sun.messaging.jmq.jmsclient.ProtocolHandler.<init>(ProtocolHandler.j ava:1509) at com.sun.messaging.jmq.jmsclient.ConnectionImpl.openConnection(Connection Impl.java:2280) at com.sun.messaging.jmq.jmsclient.ConnectionImpl.init(ConnectionImpl.java: 1012) at com.sun.messaging.jmq.jmsclient.ConnectionImpl.<init>(ConnectionImpl.jav a:414) at com.sun.messaging.jmq.jmsclient.UnifiedConnectionImpl.<init>(UnifiedConn ectionImpl.java:60) at com.sun.messaging.jmq.jmsclient.XAConnectionImpl.<init>(XAConnectionImpl .java:58) at com.sun.messaging.XAConnectionFactory.createXAConnection(XAConnectionFac tory.java:91) at com.sun.messaging.jms.ra.ManagedConnection.<init>(ManagedConnection.java :193) at com.sun.messaging.jms.ra.ManagedConnectionFactory.createManagedConnectio n(ManagedConnectionFactory.java:213) at com.sun.enterprise.resource.ConnectorAllocator.createResource(ConnectorA llocator.java:136) at com.sun.enterprise.resource.AbstractResourcePool.createSingleResource(Ab stractResourcePool.java:891) at com.sun.enterprise.resource.AbstractResourcePool.createResourceAndAddToP ool(AbstractResourcePool.java:1752) at com.sun.enterprise.resource.AbstractResourcePool.createResources(Abstrac tResourcePool.java:917) at com.sun.enterprise.resource.AbstractResourcePool.initPool(AbstractResour cePool.java:225) at com.sun.enterprise.resource.AbstractResourcePool.internalGetResource(Abs tractResourcePool.java:516) at com.sun.enterprise.resource.AbstractResourcePool.getResource(AbstractRes ourcePool.java:443) at com.sun.enterprise.resource.PoolManagerImpl.getResourceFromPool(PoolMana gerImpl.java:248) at com.sun.enterprise.resource.PoolManagerImpl.getResource(PoolManagerImpl. java:176) at com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnectio n(ConnectionManagerImpl.java:337) at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(C onnectionManagerImpl.java:189) at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(C onnectionManagerImpl.java:165) at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(C onnectionManagerImpl.java:158) at com.sun.messaging.jms.ra.ConnectionFactoryAdapter._allocateConnection(Co nnectionFactoryAdapter.java:179) at com.sun.messaging.jms.ra.ConnectionFactoryAdapter.createConnection(Conne ctionFactoryAdapter.java:166) at com.sun.messaging.jms.ra.ConnectionFactoryAdapter.createConnection(Conne ctionFactoryAdapter.java:148) at Loader.run(Loader.java:65) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.NumberFormatException: For input string: " " at java.lang.NumberFormatException.forInputString(NumberFormatException.jav a:48) at java.lang.Integer.parseInt(Int|#] [#|2008-12-09T08:36:01.188-0700|WARNING|sun-appserver9.1|javax.enterpris e.system.stream.err|_ThreadID=12;_ThreadName=Thread-6;_RequestID=078bf18 e-5592-4332-9a41-2b39db6f5526;|eger.java:447) at java.lang.Integer.parseInt(Integer.java:497)

    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

    Once, 23 hours ago
    7 times, 1 day ago
    2 times, 2 days ago
    Unknown user
    Once, 4 days ago
    5 times, 5 days ago
    159 more bugmates