-
Type: Bug
-
Status: Reopened
-
Priority: Minor
-
Resolution: Incomplete
-
Affects Version/s: NCC-1.8.5
-
Fix Version/s: None
-
Component/s: nuxeo-connect-client
-
Tags:
I have two (so far) Nuxeo deployments that fail to start with the error:
Cannot execute command. Cannot invoke "org.nuxeo.connect.update.LocalPackage.getName()" because the return value of "org.nuxeo.connect.update.standalone.PackagePersistence.getPackage(String)" is null java.lang.NullPointerException: Cannot invoke "org.nuxeo.connect.update.LocalPackage.getName()" because the return value of "org.nuxeo.connect.update.standalone.PackagePersistence.getPackage(String)" is null at org.nuxeo.connect.update.standalone.PackagePersistence.getActivePackageId(PackagePersistence.java:226) ~[nuxeo-launcher-8765.jar:?] at org.nuxeo.connect.update.standalone.PackagePersistence.getActivePackage(PackagePersistence.java:216) ~[nuxeo-launcher-8765.jar:?] at org.nuxeo.launcher.connect.ConnectBroker.getInstalledPackageByName(ConnectBroker.java:180) ~[nuxeo-launcher-8765.jar:?] at org.nuxeo.launcher.connect.ConnectBroker.checkLocalPackagesAndAddLocalFiles(ConnectBroker.java:1323) ~[nuxeo-launcher-8765.jar:?] at org.nuxeo.launcher.connect.ConnectBroker.pkgRequest(ConnectBroker.java:1109) ~[nuxeo-launcher-8765.jar:?] at org.nuxeo.launcher.connect.ConnectBroker.pkgRequest(ConnectBroker.java:1079) ~[nuxeo-launcher-8765.jar:?] at org.nuxeo.launcher.NuxeoLauncher.pkgRequest(NuxeoLauncher.java:2367) ~[nuxeo-launcher-8765.jar:?] at org.nuxeo.launcher.NuxeoLauncher.launch(NuxeoLauncher.java:1039) ~[nuxeo-launcher-8765.jar:?] at org.nuxeo.launcher.NuxeoLauncher.main(NuxeoLauncher.java:948) [nuxeo-launcher-8765.jar:?]
I don't know how to reproduce this yet. I have one stack that fails on my laptop and one stack that fails on AWS. It is not specific to a certain Studio project, I have reproduced it with both `cm-showcase-webui-nuxeo` as well as `jfletcher-sandbox-rollin`. I have a local copy of `jfletcher-sandbox-rollin` that works fine and a copy on AWS that does*not*.
In all cases I am using Docker Compose to run Nuxeo (using our standard presales tooling viahttps://github.com/nuxeo-sandbox/nuxeo-presales-docker).
Per Yannis the client code hasn't changed in years so it seems likely the issue is server side? Anyway he asked me to open a ticket for tracking...
NB: the "Affects versions" list if out of date, I can't choose 2023.12.6