Sorry but I'm kinda of lost.What should I do?
Type: Posts; User: pipi
Sorry but I'm kinda of lost.What should I do?
I am still confuse.
Anyway did I place the code correctly
public void run()
{
while (true)
{
try
{
Pardon me..but I still got the same error even thou I took your advice.=(
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() + " " +...
Line 350
OutMessage poll = (OutMessage)smsQueue.poll(20,TimeUnit.SECONDS);
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.
...
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...