how to fix this exception in blackberry?


how to fix this exception in blackberry?



I am using jxa-1.0 to create Instant Messaging application in blackberry while running the application i m getting exception like "java.io.IOException: Stream closed".Could you please tell me how to fix this?? or if u have prior experience with Jxa-1.0 pls share your ideas about how to use this one.




dns_sd.h not found in windows

1:



When is a new language the right tool for the job?
If you want to avoid this error on simulators, you should read the InputStream one byte at a time, try this code (consider NOT using this method when working with a real device, since performance will be affected):.
In Boo, how do I specify an array parameter?
    InputStream is = httpConnection.openInputStream(); int data = -1; ByteArrayOutputStream bos = new ByteArrayOutputStream(); data = is.read(); bos.write(data); while (data >= 0) {  try {   data = is.read();  } catch (Exception e) {   // Replace exception with "-1". 


How do I add a language keyword in Boo to let 'when' behave as an 'if'
This is to handle anomalous End-of-Stream in OS 5.


What can Boo do for you? [closed]
data = -1; } bos.write(data); } byte[] byteArray = bos.toByteArray();


Boo Reference Card? [closed]


How to create nested macro in Boo

2:



How stable and mature is Boo?
If you are seeing this error message in a simulator, don't be surprised.

I see I/O errors like this quite often in simulators, especially over Direct TCP or Wi-Fi connections.

Some of the newer 5.0 simulators seem to be more problematic than older ones.. If you haven't yet, try it on a real device and it will probably be better..



73 out of 100 based on 53 user ratings 1303 reviews