Rmic

1 resposta
J

Bom dia Pessoal,

Criei uma aplicação Distribuida e estou com um erro. Cheguei gerar os arquivos_Stub.class, porém acredito que o erro nao seja relacionado a isso.

Segue abaixo:

: ServidorSoma

at sun.rmi.registry.RegistryImpl.lookup(Unknown Source)

at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source)

at sun.rmi.server.UnicastServerRef.oldDispatch(Unknown Source)

at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)

at sun.rmi.transport.Transport$1.run(Unknown Source)

at java.security.AccessController.doPrivileged(

Native Method)

at sun.rmi.transport.Transport.serviceCall(Unknown Source)

at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)

at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown Source)

at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source)

at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)

at sun.rmi.server.UnicastRef.invoke(Unknown Source)

at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)

at java.rmi.Naming.lookup(Unknown Source)

at vtSd.Cliente.main(

Cliente.java:32)

Exception in thread main

java.lang.NumberFormatException: null

at java.lang.Integer.parseInt(Unknown Source)

at java.lang.Integer.parseInt(Unknown Source)

at vtSd.Cliente.main(

Cliente.java:27)

Com esse erro vcs tem como me dar uma dica de como resolver??

Muito Obrigada.

1 Resposta

ramilani12

Seu erro:

java.lang.NumberFormatException: null
at java.lang.Integer.parseInt(Unknown Source)

Vc está tentando converter um null para int …

Criado 12 de dezembro de 2008
Ultima resposta 12 de dez. de 2008
Respostas 1
Participantes 2