Open budjik-tech opened 3 years ago
Same issue. Anytime running "Match" results in this error. Several forum users reporting same thing.
https://community.hubitat.com/t/beta-hubitat-package-manager/38016
Given the info above, does this mean someone can break HPM by just pushing a bad/malformed manifest to github?
The install seems to hang or timeout at: "Retrieving list of installed drivers"
Hubitat app log
java.lang.NullPointerException: Cannot get property 'location' on null object on line 2269 (downloadFileAsyncCallback)
code:
def packagesToMatchAgainst = [] for (uri in results.keySet()) { def result = results[uri] def manifestContents = result.result if (manifestContents == null) log.error "Found a bad manifest ${pkg.location}. Please notify the package developer." else {
thebearmay assisted with this suggestion on line 2269: ${pkg?.location} So changed line to:
log.error "Found a bad manifest ${pkg?.location}. Please notify the package developer."
Installation completed and I was able to Update and Install packages.
It would be nice to know which application/driver was causing the error so perhaps logging during the iteration or key during error may assist.