Bug 552567

Summary: NoSuchFieldException: thread_daemon_suspended_exception_uncaught
Product: [Eclipse Project] JDT Reporter: Andrey Loskutov <loskutov>
Component: DebugAssignee: Stephan Herrmann <stephan.herrmann>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: stephan.herrmann
Version: 4.14Keywords: regression
Target Milestone: 4.14 M3   
Hardware: All   
OS: All   
See Also: https://git.eclipse.org/r/152521
https://git.eclipse.org/c/jdt/eclipse.jdt.debug.git/commit/?id=f7ba3fdbfa0a59d184dcf61891f2bc7800ef3bbc
Whiteboard:
Bug Depends on:    
Bug Blocks: 284158    

Description Andrey Loskutov CLA 2019-10-30 11:05:22 EDT
I've noticed this error below (was printed four times) after shutting down some running Eclipse process under debug.

I assume this is coming from bug 284158 changes - we need a new constant & text in org.eclipse.jdt.internal.debug.ui.DebugUIMessages, similar to what we have for DebugUIMessages.thread_daemon_suspended_exception

!ENTRY org.eclipse.jdt.debug.ui 4 150 2019-10-30 11:24:01.387
!MESSAGE Internal Error
!STACK 0
java.lang.NoSuchFieldException: thread_daemon_suspended_exception_uncaught
	at java.lang.Class.getDeclaredField(Class.java:2070)
	at org.eclipse.jdt.internal.debug.ui.JDIModelPresentation.getThreadText(JDIModelPresentation.java:426)
	at org.eclipse.jdt.internal.debug.ui.JDIModelPresentation.getText(JDIModelPresentation.java:258)
	at org.eclipse.debug.internal.ui.LazyModelPresentation.getText(LazyModelPresentation.java:188)
	at org.eclipse.debug.internal.ui.DelegatingModelPresentation.getText(DelegatingModelPresentation.java:151)
	at org.eclipse.debug.internal.ui.model.elements.DebugElementLabelProvider.getLabel(DebugElementLabelProvider.java:39)
	at org.eclipse.debug.internal.ui.model.elements.ElementLabelProvider.getLabel(ElementLabelProvider.java:297)
	at org.eclipse.debug.internal.ui.model.elements.ElementLabelProvider.retrieveLabel(ElementLabelProvider.java:200)
	at org.eclipse.debug.internal.ui.model.elements.ElementLabelProvider$LabelUpdater.run(ElementLabelProvider.java:147)
	at org.eclipse.debug.internal.ui.model.elements.ElementLabelProvider$LabelJob.run(ElementLabelProvider.java:74)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
Comment 1 Eclipse Genie CLA 2019-11-12 16:08:52 EST
New Gerrit change created: https://git.eclipse.org/r/152521
Comment 3 Stephan Herrmann CLA 2019-11-12 16:43:16 EST
(In reply to Eclipse Genie from comment #2)
> Gerrit change https://git.eclipse.org/r/152521 was merged to [master].
> Commit:
> http://git.eclipse.org/c/jdt/eclipse.jdt.debug.git/commit/
> ?id=f7ba3fdbfa0a59d184dcf61891f2bc7800ef3bbc

For good measure I added a few more combinations ...

Released for 4.14 M3