File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Sockets and Internet Protocols and the fly likes Exception in reading from a Socket Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Exception in reading from a Socket" Watch "Exception in reading from a Socket" New topic
Author

Exception in reading from a Socket

pramodh somashekara
Ranch Hand

Joined: Jan 30, 2006
Posts: 62
Hi, I am trying to send some messages to a remote machine and reading the acknowledge back from the remote machine using https on the Socket. But while reading the acknowledge back from the socket, it just reads from the socket and immediately it give the following exception when I start to use the acknowledge back using for further processing.

org.omg.CORBA.portable.UnknownException: minor code: 0 completed: Maybe
<<no stack trace available>>

I have one more log which gives exceptions meant only for https. There it shows the complete log as follows

Exception caught while sending https message.
java.lang.NullPointerException
at java.util.StringTokenizer.<init>(StringTokenizer.java:117)
......
complete stack trace ...


Can any body know what is the reason for this?

Pramodh
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Exception in reading from a Socket