Exception during resolution.
java.lang.NullPointerException: Cannot invoke "aQute.bnd.build.Project.get(String)" because "project" is null
at biz.aQute.resolve.RunResolution.resolve(RunResolution.java:101)
at org.bndtools.core.resolve.ResolveOperation.lambda$run$0(ResolveOperation.java:62)
at org.bndtools.core.resolve.ResolveOperation.coordinate(ResolveOperation.java:102)
at org.bndtools.core.resolve.ResolveOperation.run(ResolveOperation.java:52)
at org.bndtools.core.resolve.ResolveJob.run(ResolveJob.java:89)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)`
Where can I find and / or edit the required project information
I as well get the same error when I press the resolve button. It worrked fine, till I did a brand new Installation of Eclypse and the Demo Project at the 4th of Dec on the same Hardware (PC).
Additional Information: When I try to RUN OSGI I get the following Errors:
Status ERROR: org.bndtools.launch code=0 de.focus_shift.jollyday-core;version=[0.32.0,0.32.1) Not found in [Maven Workspace, bndtools.m2e.MavenImplicitProjectRepository@3e196396, bnd-cache [/media/manfred/Openhab/openhab-main/git/openhab-distro/launch/app/target/tmp/LAUNCH/app/cnf/cache/7.1.0/bnd-cache r/w=false]]
Status ERROR: org.bndtools.launch code=0 de.focus_shift.jollyday-jackson;version=[0.32.0,0.32.1) Not found in [Maven Workspace, bndtools.m2e.MavenImplicitProjectRepository@3e196396, bnd-cache [/media/manfred/Openhab/openhab-main/git/openhab-distro/launch/app/target/tmp/LAUNCH/app/cnf/cache/7.1.0/bnd-cache r/w=false]]
Status ERROR: org.bndtools.launch code=0 xstream;version=[1.4.20,1.4.21) Not found in [Maven Workspace, bndtools.m2e.MavenImplicitProjectRepository@3e196396, bnd-cache [/media/manfred/Openhab/openhab-main/git/openhab-distro/launch/app/target/tmp/LAUNCH/app/cnf/cache/7.1.0/bnd-cache r/w=false]]
My maven version is 3.9.9, what is I thing the newest one
I tried downgrading Bndtools, but didnât have any luck. I also tried the mvn bnd-resolver:resolve workaround with no luck. Anybody else find a way around this? Thanks!
I was able to resolve this by uninstalling bndtools in eclipse (Help â Install New Software â Manage). It will ask to restart Eclipse. Then adding the 7.0.0 bndtools repository (bndtools repo 7.0.0) and installing that version. Resolve now works.
Thank you @jsjames for your instructions.
What is important is to first uninstall the previous version (7.1.x) of bndtools. If you donât do it, the installation of the version 7.0 is failing.
For the benefit of others, the uninstall / install details are as followsâŠ
Uninstall Bnd Tools v7.1.x
Eclipse | Help | About Eclipse IDE | Installation Details | Installed Software | Filter on âbndâ | One-by-one select each Bnd Tools entry | Uninstall (ignore the restart prompt until the last entry) | Restart Eclipse
Remove Bnd Tools v7.1.x from available update sites
Eclipse | Help | Install New Software | Manage⊠| Select entry for Bnd Tools v7.0.0 | Remove
Install Bnd Tools v7.0.0
Eclipse | Help | Install New Software | Add⊠| Name=OH Bnd Tools v7.0.0 Location=https://bndtools.org/bndtools.p2.repo/7.0.0/ | Accept certificates