Search:

Type: Posts; User: pipi

Search: Search took 0.10 seconds.

  1. Replies
    12
    Views
    4,542

    Re: Sending SMS in java

    Sorry but I'm kinda of lost.What should I do?
  2. Replies
    12
    Views
    4,542

    Re: Sending SMS in java

    I am still confuse.
    Anyway did I place the code correctly


    public void run()
    {
    while (true)
    {
    try
    {
  3. Replies
    12
    Views
    4,542

    Re: Sending SMS in java

    Pardon me..but I still got the same error even thou I took your advice.=(
  4. Replies
    12
    Views
    4,542

    Re: Sending SMS in java

    Thank you for the above error.But it encounter the same java.lang.NullPointerExcerption in the next line which is line 351.

    printStream.println(this.consumerName + ": " + poll.getMsg() + " " +...
  5. Replies
    12
    Views
    4,542

    Re: Sending SMS in java

    Line 350

    OutMessage poll = (OutMessage)smsQueue.poll(20,TimeUnit.SECONDS);
  6. Replies
    12
    Views
    4,542

    Re: Sending SMS in java

    Below codes are the one that it couldn't run and occur the error "java.lang.NullPointerException at SMSGateway$SMSQueueThread.run(SMSGateway.java:350) ".

    Guide me.Thank you.


    ...
  7. Replies
    12
    Views
    4,542

    Sending SMS in java

    Hi.I have encounter problem in my codes(SMSGateway.java) whereby when I compile,the general output is "java.lang.NullPointerException at SMSGateway$SMSQueueThread.run(SMSGateway.java:350)".
    I can...
Results 1 to 7 of 7