Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Source Look up(when I Debug one Web project)
Source Look up [message #1857687] Tue, 21 February 2023 09:31 Go to next message
victor kevin is currently offline victor kevinFriend
Messages: 2
Registered: February 2023
Junior Member
I got a lastest Release version : Version: 2022-12 (4.26.0) Build id: 20221201-1913 ,My Web project is kind of gradle builder , When debug in web runtime ,sources of web module work well but api module can't lookup the source ,and appears "edit source lookup " view , however adding source directories or project type ,still unfound it , Never met before version,that can work it well on the main application or junit s test debug environment ,other I tried it in the Version: 2022-09 (4.25.0) Build id: 20220908-1902 still same as before . 。
Re: Source Look up [message #1857708 is a reply to message #1857687] Wed, 22 February 2023 05:05 Go to previous messageGo to next message
Jay Arthanareeswaran is currently offline Jay ArthanareeswaranFriend
Messages: 128
Registered: July 2009
Senior Member
Anything in the error log that looks relevant? Just to confirm I got it correctly, you are only seeing this in 4.26 and not in 4.25?
Re: Source Look up [message #1857710 is a reply to message #1857708] Wed, 22 February 2023 06:37 Go to previous messageGo to next message
victor kevin is currently offline victor kevinFriend
Messages: 2
Registered: February 2023
Junior Member
I fallback to Version: 2022-06 (4.24.0) Build id: 20220609-1112 . It 's doing well ! below is relevant lookings , I hope that can help you ,THX!
!ENTRY org.eclipse.debug.core 4 125 2023-02-22 14:12:59.063
!MESSAGE Error logged from Debug Core: 
!STACK 0
java.lang.NullPointerException: Cannot invoke "java.util.Collection.isEmpty()" because "classesArtifacts" is null
	at org.eclipse.m2e.sourcelookup.internal.launch.MavenSourceContainerResolver.resolveSourceContainers(MavenSourceContainerResolver.java:40)
	at org.eclipse.jdt.launching.sourcelookup.advanced.AdvancedSourceLookupParticipant.getSourceContainer(AdvancedSourceLookupParticipant.java:144)
	at org.eclipse.jdt.launching.sourcelookup.advanced.AdvancedSourceLookupParticipant.findSourceElements(AdvancedSourceLookupParticipant.java:72)
	at org.eclipse.debug.core.sourcelookup.AbstractSourceLookupDirector$SourceLookupQuery.run(AbstractSourceLookupDirector.java:138)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
	at org.eclipse.debug.core.sourcelookup.AbstractSourceLookupDirector.doSourceLookup(AbstractSourceLookupDirector.java:473)
	at org.eclipse.debug.core.sourcelookup.AbstractSourceLookupDirector.getSourceElement(AbstractSourceLookupDirector.java:714)
	at org.eclipse.debug.internal.ui.sourcelookup.SourceLookupFacility.lookup(SourceLookupFacility.java:303)
	at org.eclipse.debug.internal.ui.sourcelookup.SourceLookupFacility$SourceLookupTask.run(SourceLookupFacility.java:752)
	at org.eclipse.debug.internal.ui.sourcelookup.SourceLookupFacility$SourceLookupJob.run(SourceLookupFacility.java:690)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

!ENTRY org.eclipse.debug.core 4 2 2023-02-22 14:12:59.062
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.debug.core".
!STACK 0
java.lang.NullPointerException: Cannot invoke "java.util.Collection.isEmpty()" because "classesArtifacts" is null
	at org.eclipse.m2e.sourcelookup.internal.launch.MavenSourceContainerResolver.resolveSourceContainers(MavenSourceContainerResolver.java:40)
	at org.eclipse.jdt.launching.sourcelookup.advanced.AdvancedSourceLookupParticipant.getSourceContainer(AdvancedSourceLookupParticipant.java:144)
	at org.eclipse.jdt.launching.sourcelookup.advanced.AdvancedSourceLookupParticipant.findSourceElements(AdvancedSourceLookupParticipant.java:72)
	at org.eclipse.debug.core.sourcelookup.AbstractSourceLookupDirector$SourceLookupQuery.run(AbstractSourceLookupDirector.java:138)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
	at org.eclipse.debug.core.sourcelookup.AbstractSourceLookupDirector.doSourceLookup(AbstractSourceLookupDirector.java:473)
	at org.eclipse.debug.core.sourcelookup.AbstractSourceLookupDirector.getSourceElement(AbstractSourceLookupDirector.java:714)
	at org.eclipse.debug.internal.ui.sourcelookup.SourceLookupFacility.lookup(SourceLookupFacility.java:303)
	at org.eclipse.debug.internal.ui.sourcelookup.SourceLookupFacility$SourceLookupTask.run(SourceLookupFacility.java:752)
	at org.eclipse.debug.internal.ui.sourcelookup.SourceLookupFacility$SourceLookupJob.run(SourceLookupFacility.java:690)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

  • Attachment: 19.png
    (Size: 136.23KB, Downloaded 95 times)
Re: Source Look up [message #1857711 is a reply to message #1857710] Wed, 22 February 2023 07:12 Go to previous message
Jay Arthanareeswaran is currently offline Jay ArthanareeswaranFriend
Messages: 128
Registered: July 2009
Senior Member
Thanks! Looks this warrants a bug. At this point, I am not sure whether this belongs in JDT or M2E, but since the exception has root in M2E, we can start with a bug there:

https://github.com/eclipse-m2e/m2e-core/issues
Previous Topic:Repository error in HANA Development Tools
Next Topic:Unable to use external jar files with Eclipse 2022-12
Goto Forum:
  


Current Time: Thu Apr 18 15:19:01 GMT 2024

Powered by FUDForum. Page generated in 0.01988 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top