Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] Maven dependencies in target platform

Hello,

I tried to adopt new features from Tycho 2.2 and followed https://läubisoft.gmbh/en/articles/using-maven-artifacts-in-pde-rcp-and-tycho-builds/
That works well when the TP is edited but as soon as my workspace is restarted, the TP cannot be loaded and I got NPE:

!ENTRY org.eclipse.core.jobs 4 2 2021-03-09 11:51:47.686
!MESSAGE An internal error occurred during: "Load Target Platform".
!STACK 0
java.lang.NullPointerException
at org.eclipse.pde.internal.core.target.TargetDefinition.resolve(TargetDefinition.java:372)
at org.eclipse.pde.core.target.LoadTargetDefinitionJob.runInWorkspace(LoadTargetDefinitionJob.java:123)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:42)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

Is this a known issue ?


--
Jeff MAURY


"Legacy code" often differs from its suggested alternative by actually working and scaling.
 - Bjarne Stroustrup

http://www.jeffmaury.com
http://riadiscuss.jeffmaury.com
http://www.twitter.com/jeffmaury

Back to the top