• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Help me ;

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
first thank you for your coming;
I am a frshman in java;
I have learned java for about one year.
now I am leaning << Distributed Programing with java>> ( The author is Qusay H.Mahmoud >>
My problem is should I need two computer to learn that?
this nignt I run a serverSocket program and a ClientSocket program
It thows NullPointerException;
 
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome!

We have a forum for Distributed Computing, so I will move your thread there.

Dave
 
Bartender
Posts: 4121
IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No, you do not *have* to have 2 computers to use distributed java (of any kind ports/sockets, RMI, CORBA, etc.) - you can use it to talk between 2 JVMs on one machine.

Sorry, the NullPointerException is from something else

But I'm sure you can get help on whatever the real problem is, too - can you post the stack trace of your NullPointerException, and the line of code it occurrs on?
 
reply
    Bookmark Topic Watch Topic
  • New Topic