Skip to content

Cannot compile smscgateway - TxSmppServerSbbTest no suitable constructor found for Esme #296

Description

/kind bug

What happened:

SMSCGATEWAY compilation fails at CORE: SLEE : Services Tx SMPP Server SBB.

The error is following:

Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.1:testCompile (default-testCompile) on project tx-smppserver-sbb: Compilation failure: Compilation failure:
[ERROR] smscgateway-repo/smscgateway/core/slee/services/txsmppserversbb/src/test/java/org/mobicents/smsc/slee/services/smpp/server/tx/TxSmppServerSbbTest.java:[210,14] error: no suitable constructor found for Esme(String,String,String,String,int,boolean,,SmppInterfaceVersionType,int,int,,SmppBindType,Type,int,long,long,long,long,long,String,boolean,int,int,int,int,int,String,int,int,String,int,boolean,int,int,int,int,int,int,int,int,int,int,int)
[ERROR]
[ERROR] constructor Esme.Esme() is not applicable
[ERROR] (actual and formal argument lists differ in length)
[ERROR] constructor Esme.Esme(String,String,String,String,int,boolean,String,SmppInterfaceVersionType,int,int,String,SmppBindType,Type,int,long,long,long,long,long,String,boolean,int,int,long,int,int,String,int,int,String,int,boolean,long,long,long,long,int,int,int,int,int,int,int,SmppEncodingWithDefault,SmppEncodingWithDefault,boolean) is not applicable
[ERROR] (actual and formal argument lists differ in length)

What you expected to happen:

Compilation/build successful.

How to reproduce it (as minimally and precisely as possible):

$ git clone https://github.com/Restcomm/smscgateway.git
$ cd restcomm-smscgateway
$ git checkout
$ mvn clean install

Anything else we need to know?:

Likely the package
org/mobicents/smsc/slee/services/smpp/server/tx/
is broken / not in proper version.

Environment:

  • Restcomm SMSC Gateway version (from startup logs):
    N/A
  • Cloud provider or hardware configuration:
    N/A
  • OS (e.g. from /etc/os-release):
    N/A
  • Kernel (e.g. uname -a):
    N/A
  • Deployment method (e.g. application server version + config + method):
    N/A
  • Others:
    N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions