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

[xmppclient] Binding depends on smack-experimental, which is not in OH repository #11560

Closed
rvbglas opened this issue Nov 11, 2021 · 10 comments
Closed
Labels
bug An unexpected problem or unintended behavior of an add-on

Comments

@rvbglas
Copy link

rvbglas commented Nov 11, 2021

Trying to install xmppclient binding on new installation of OH3, got error:

 2021-11-11 13:15:23.871 [ERROR] [core.karaf.internal.FeatureInstaller] - Failed installing 'openhab-binding-xmppclient': Error:
 	Error downloading mvn:org.igniterealtime.smack/smack-experimental/4.3.3

There is no smack-experimental in https://openhab.jfrog.io/ui/native/libs-milestone/org/igniterealtime/smack repository.

Openhab version 3.2.0.M4:

Karaf
  Karaf version               4.3.3
  Karaf home                  /usr/share/openhab/runtime
  Karaf base                  /var/lib/openhab
  OSGi Framework              org.eclipse.osgi-3.16.300.v20210525-1715

JVM
  Java Virtual Machine        OpenJDK 64-Bit Server VM version 11.0.11+9-Ubuntu-0ubuntu2.20.04
  Version                     11.0.11
  Vendor                      Ubuntu
  Pid                         3389821
  Uptime                      14 hours 13 minutes
  Process CPU time            48 minutes
  Process CPU load            0.00
  System CPU load             0.00
  Open file descriptors       389
  Max file descriptors        102,642
  Total compile time          2 minutes
Threads
  Live threads                298
  Daemon threads              136
  Peak                        390
  Total started               148887
Memory
  Current heap size           630,831 kbytes
  Maximum heap size           8,189,952 kbytes
  Committed heap size         1,867,776 kbytes
  Pending objects             0
  Garbage collector           Name = 'G1 Young Generation', Collections = 4186, Time = 45.874 seconds
  Garbage collector           Name = 'G1 Old Generation', Collections = 0, Time = 0.000 seconds
Classes
  Current classes loaded      23,823
  Total classes loaded        29,567
  Total classes unloaded      5,744
Operating system
  Name                        Linux version 5.4.0-89-generic
  Architecture                amd64
  Processors                  6

Binding - from current 3.2.0.M4 distro.

@rvbglas rvbglas added the bug An unexpected problem or unintended behavior of an add-on label Nov 11, 2021
@wborn
Copy link
Member

wborn commented Nov 11, 2021

It seems to have been caused by #11418. You should be able to workaround it by using the add-ons KAR file which does have this dependency. So either that change should be reverted or the dependencies should be added to the openHAB Artifactory by @kaikreuzer.

@openhab-bot
Copy link
Collaborator

This issue has been mentioned on openHAB Community. There might be relevant details there:

https://community.openhab.org/t/error-downloading-mvn-org-igniterealtime-smack-smack-experimental/128531/3

@Hect0rG
Copy link

Hect0rG commented Nov 11, 2021

@wborn I downloaded the file from here and added it to my addons folder but it doesn't seem to resolve the issue. I restarted openhab after loading the new kar file.

@fwolter
Copy link
Member

fwolter commented Nov 27, 2021

I fixed the dependencies and updated smack to the latest version 4.4.4 including all transitive dependencies. But when configuring a connection, I receive the following runtime exception. Maybe any of you has an idea:

https://discourse.igniterealtime.org/t/serviceconfigurationerror-xpp3xmlpullparserfactory-not-a-subtype/91054

@gkfabs @pavel-gololobov

@fwolter
Copy link
Member

fwolter commented Nov 27, 2021

@Flowdalic I just saw that you tried to update smack to a newer version in #9977. Maybe you have an idea as the maintainer of smack :)

@gkfabs
Copy link
Contributor

gkfabs commented Nov 28, 2021

The "Xpp3XmlPullParserFactory not a subtype" is not linked to the missing lib on OH repository any more. I would create a new issue to keep things separated. Sadly I have no idea what's the root cause of this second problem.

@Flowdalic
Copy link

@Flowdalic I just saw that you tried to update smack to a newer version in #9977. Maybe you have an idea as the maintainer of smack :)

It appears that @ibauersachs gave an solution here https://discourse.igniterealtime.org/t/serviceconfigurationerror-xpp3xmlpullparserfactory-not-a-subtype/91054/3?u=flow

@Hect0rG
Copy link

Hect0rG commented Dec 6, 2021

3.2.0.M5 has the same issue.

@openhab-bot
Copy link
Collaborator

This issue has been mentioned on openHAB Community. There might be relevant details there:

https://community.openhab.org/t/openhab-3-2-release-discussion/130327/23

@kaikreuzer
Copy link
Member

Sorry, I thought I did this already, but it must have been fallen off my plate.
The dependency should now be available in Artifactory, so I hope this issue is solved!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An unexpected problem or unintended behavior of an add-on
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants