Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bizotec opened this issue Nov 27, 2018 · 3 comments

Comments

@bizotec
Copy link

bizotec commented Nov 27, 2018

/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
@orn1983
Copy link

orn1983 commented Nov 30, 2018

Can confirm the same problem.

@zvikara
Copy link

zvikara commented Jan 21, 2019

In main pom.xml just change smpp-extensions version to 7.1.0-128 . It will compile and all tests will pass.

<smpp.extensions.version>7.1.0-128</smpp.extensions.version>

@bizotec
Copy link
Author

bizotec commented Jan 22, 2019 via email

zvikara added a commit to zvikara/smscgateway that referenced this issue Jan 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants