NullPointerException in Socket
Denis Yakovlev <[email protected]>
| Newsgroups | gmane.comp.hardware.microcontrollers.tini |
|---|---|
| Organization | Plesk.ru |
| Message-ID | <[email protected]> |
Hi, All!
Can you help me with folowed problem? May be I just have poor knowledge in
Java. So...
The problem:
public ServerSocket listenSocket ;
public void serveTini() {
Socket clientSocket;
try{
System.out.println("Point1");
while(keepRunning){
System.out.println("DeadPoint");
clientSocket = listenSocket.accept(); <----
at this point I have an error:
java.lang.NullPointerException
in SockTiniTerm.serveTini(@JPC=b0010)
in java.lang.System.???
What should I do? Is syntax correct? Anybody please help me
--
Best regards
Denis Yakovlev,
_______________________________________________
TINI mailing list
TINI-6tN4nzCoH/[email protected]
To UNSUBSCRIBE, edit your profile, or see list archives:
http://lists.dalsemi.com/mailman/listinfo/tini