Skip to main content

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

Can you share a complete stacktrace or even an example project that shows the issue? Do you use the latest m2e snapshot? What eclipse version?

Am 09.03.21 um 11:58 schrieb Jeff MAURY:
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/ <https://xn--lubisoft-0za.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 <http://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://www.jeffmaury.com>
http://riadiscuss.jeffmaury.com <http://riadiscuss.jeffmaury.com>
http://www.twitter.com/jeffmaury <http://www.twitter.com/jeffmaury>

_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/tycho-user



Back to the top