0 Replies Latest reply on Feb 3, 2004 9:03 AM by jlsoft

    no valid constructor

    jlsoft Newbie

      Hi, I get the following exception when using jboss-3.2.1 or 3.2.3:

      IOException: de.schlund.smsbackend.lib.message.participant.CellPhone; no valid constructor
      javax.jms.MessageFormatException: IOException: de.schlund.smsbackend.lib.message.participant.CellPhone; no valid constructor
       at org.jboss.mq.SpyObjectMessage.getObject(SpyObjectMessage.java:110)
       at de.schlund.smsbackend.server.router.RouterBean.onMessage(RouterBean.java:103)


      The class CellPhone is okay, but the following method throws the exception:

      de.schlund.smsbackend.lib.message.SMS sms = (de.schlund.smsbackend.lib.message.SMS) objectMessage.getObject();


      The class CellPhone:

      public class CellPhone
       extends PhoneNumber
       implements ISender, IReceiver, java.io.Serializable
      {
       public CellPhone(String phoneNumber) throws PhoneNumberException
       {
       super(phoneNumber);
       }
       [...]
      }


      So what did I do wrong?