I have check  the thread running but i cant get where s the problem

hai there
this s the code in which i m getting this warning, can you tell what s the problem with this
* Start creates the thread to do the MessageConnection receive
* text.
* It should return immediately to keep the dispatcher
* from hanging.
public void receiving() {
/** SMS connection to be read. */
String smsConnection = "sms://:" + smsPort;
System.out.println("smsConnection" +smsConnection);
/** Open the message connection. */
if (smsconn == null) {
try {
smsconn = (MessageConnection) Connector.open(smsConnection);
smsconn.setMessageListener(this);
} catch (IOException ioe) {
ioe.printStackTrace();
/** Initialize the text if we were started manually. */
connections = PushRegistry.listConnections(true);
if (connections == null || connections.length == 0) {
content.setString("Waiting for SMS on port " + smsPort + "...");
display.setCurrent(resumeScreen);
done = false;
thread = new Thread(this);
thread.start();
* Notification that a message arrived.
* @param conn the connection with messages available
public void notifyIncomingMessage(MessageConnection conn) {
if (thread == null) {
done = false;
thread = new Thread(this);
thread.start();
/** Message reading thread. */
public void run() {
/** Check for sms connection. */
try {
msg = smsconn.receive();
if (msg != null) {
senderAddress = msg.getAddress();
content.setTitle("From: " + senderAddress);
if (msg instanceof TextMessage) {
content.setString(((TextMessage)msg).getPayloadText());
} else {
StringBuffer buf = new StringBuffer();
byte[] data = ((BinaryMessage)msg).getPayloadData();
for (int i = 0; i < data.length; i++) {
int intData = (int)data & 0xFF;
if (intData < 0x10) {
buf.append("0");
buf.append(Integer.toHexString(intData));
buf.append(' ');
content.setString(buf.toString());
content.addCommand(replyCommand);
display.setCurrent(content);
} catch (IOException e) {
// e.printStackTrace();
thankz

Welcome to Apple Support Communities
It's possible that you meet hardware requirements, but OS X Mountain Lion is only compatible with some computer models. In the case of the MacBook, it requires a Late 2008 Aluminum or Early 2009 one. See > http://www.apple.com/osx/specs
Also, note that Mountain Lion requires 2 GB of memory, so if your Mac model is supported, open  > About this Mac, and see if you have 2 GB or more of RAM

Similar Messages

Maybe you are looking for

  • CIF Errors

    Hi, following CIF errors occured to me, when i reactivated they disappeared but what could be the root cause of these errors. 1. sql error in the database when accessing a table (APO Inbound) 2. application error during release to livecache (APO inbo

  • Screen gets black when engaged in a call

    I am having the same problem with blank screen when using the phone. Hasn't always done this, about one week. Would appreciate suggestions. Moderator's note: The subject was edited as the post was moved to the most appropriate board.

  • User defined packages in TOMCAT HELP PLEASE!!!!

    Hello all, I am have created a package (foo). I then tried to import it into a jsp but TOMCAT say the package foo doesn't exist. I have stored the class file for the foo package in the same root directory with the jsp file. I have I stored the class

  • Where to download Safari for Iphone?

    For some reason my Iphone doesn't have Safari!!! Where can I download it, I've looked everywhere. Really sorry if this is a stupid question but I'm pulling out my hair!!! Thx in advance

  • IDVD 6 PAL Video for use in an NTSC Country

    Hi there, I am putting together a hello video for my girlfriend who lives in Canada. I am from the UK and the content was shot here. I made the movies in iMovie and then setup my DVD in iDVD. My question is this: The DVD I burned was in PAL format as