Hey Folks,
Was wondering if I could get a hand here…I receiving the following runtime exception:
java.lang.AbstractMethodError: org.jivesoftware.smack.util.stringencoder.java7.Java7Base64Encoder.encodeToString([B)Ljava/lang/String;
I believe this might be the result of a dependencies ordering issue. I’m trying to instrument an existing Java application to emit notifications. In this environment I get this exception when attempting to register a SASL mechanism. This stated, I took my smack based coded and turned it into a standalone app and had no such issues. The smack related dependencies as defined in the build.gradle files are identical and in the same order. The only difference is that when instrumenting the existing application there are a number of other dependencies. Here’s the build.gradle fragment with the dependencies:
implementation group: ‘org.igniterealtime.smack’, name: ‘smack-java7’, version: ‘4.4.0-beta2’
implementation group: ‘org.igniterealtime.smack’, name: ‘smack-tcp’, version: ‘4.4.2’
implementation group: ‘org.igniterealtime.smack’, name: ‘smack-im’, version: ‘4.4.2’
implementation group: ‘org.igniterealtime.smack’, name: ‘smack-xmlparser’, version: ‘4.4.2’
implementation group: ‘org.igniterealtime.smack’, name: ‘smack-xmlparser-xpp3’, version: ‘4.4.2’
implementation group: ‘xpp3’, name: ‘xpp3’, version: ‘1.1.4c’
runtimeOnly group: ‘org.igniterealtime.smack’, name: ‘smack-xmlparser-stax’, version: ‘4.4.2’
implementation group: ‘org.igniterealtime.smack’, name: ‘smack-resolver-javax’, version: ‘4.4.2’
implementation group: ‘org.igniterealtime.smack’, name: ‘smack-sasl-provided’, version: ‘4.4.2’
implementation group: ‘org.igniterealtime.smack’, name: ‘smack-extensions’, version: ‘4.4.2’
Would greatly appreciate any help, I’ve spent quite a bit of time trying to resolve this issue w/o any luck.
Best regards,
Dave