-
Notifications
You must be signed in to change notification settings - Fork 41
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
java.lang.NullPointerException: null values not allowed at org.eclipse.core.internal.registry.ReferenceMap.put(ReferenceMap.java:364) #117
Comments
I'm not sure what's all in launched ant application that registers various things, but this purely an OSGi initialization problem where the bundle is null which should never happen: Perhaps it would be better to use this without ant: https://www.eclipse.org/tycho/sitedocs/tycho-extras/tycho-p2-extras-plugin/mirror-mojo.html |
Thank you @merks - as far as I remember, I tried without ant in the beginning, but was not capable to use a target file as source, which is where I found eclipse-tycho/tycho#176 I think I tried for some time to get it running, but reverted to the ant solution - as it worked. After some more fiddling around, also reverting to older tycho versions, i removed the entire Not sure hence what the problem was, but works for me now. |
Same just happend with 2023-09, removing repo directory does not work. Could this be architecture specific? |
I assume some other process deletes Eclipse config area while Eclipse is running. This can easily happen if you start Eclipse with -clean argument, or if the config area placed on NFS that disconnects etc. |
The task is run via maven, and here is the definition of it https://github.com/elexis/elexis-target/blob/f39e15b01b16a19d2da1fac638326ec124b5e724/target/pom.xml#L513 - do you see any hint on why this could happen here? It seems to download a fresh Eclipse, but I don't know, ehere this eclipse does store its config - maybe if interfers with the currently running instance of Eclipse which then removes the files? |
I have an ant / download.target.platform job running, as described in https://github.com/elexis/elexis-target/blob/0f81a3ccfbe5026c745670d1c99529de89bf0d5b/target/pom.xml#L381 respectively https://github.com/elexis/elexis-target/blob/2022-06-java17/target/elexis.target.p2mirror.xml.
I'm running the job using Java temurin-17.jdk and Eclipse 2022-06 using
mvn tycho-eclipserun:eclipse-run
. It can be re-rcreated by checking out the2022-06-java17
branch from https://github.com/elexis/elexis-target/During execution, the following exception is thrown
I don't know what value is being refered to here, or what to do. Any hints appreciated.
The text was updated successfully, but these errors were encountered: