PDA

View Full Version : java.lang.reflect.InvocationTargetException



indu
01-12-2009, 06:46 PM
hi,

I am using smslib for sending sms through java.. i got the exception

C:\Program Files\Java\com.sms>java SendSMS
COM3 is open
COM1 is open
COM2 is open
Trying COM3
org.smslib.GatewayException: Comm library exception: java.lang.reflect.Invocatio
nTargetException
at org.smslib.modem.SerialModemDriver.connectPort(SerialModemDriver.java
:93)
at org.smslib.modem.AModemDriver.connect(AModemDriver.java:106)
at org.smslib.modem.ModemGateway.startGateway(ModemGateway.java:110)
at org.smslib.Service$1Starter.run(Service.java:189)
Trying COM1
org.smslib.GatewayException: Comm library exception: java.lang.reflect.Invocatio
nTargetException
at org.smslib.modem.SerialModemDriver.connectPort(SerialModemDriver.java
:93)
at org.smslib.modem.AModemDriver.connect(AModemDriver.java:106)
at org.smslib.modem.ModemGateway.startGateway(ModemGateway.java:110)
at org.smslib.Service$1Starter.run(Service.java:189)
Trying COM2
org.smslib.GatewayException: Comm library exception: java.lang.reflect.Invocatio
nTargetException
at org.smslib.modem.SerialModemDriver.connectPort(SerialModemDriver.java
:93)
at org.smslib.modem.AModemDriver.connect(AModemDriver.java:106)
at org.smslib.modem.ModemGateway.startGateway(ModemGateway.java:110)
at org.smslib.Service$1Starter.run(Service.java:189)
No registered phone numbers found or unable to connect to the phone. Try again l
ater



Can any one help me to resolve this exception pls.....