This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 544571 - UnsupportedOperationException in org.apache.felix.scr.impl.ComponentCommands
Summary: UnsupportedOperationException in org.apache.felix.scr.impl.ComponentCommands
Status: RESOLVED FIXED
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: Components (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 10
: P3 minor (vote)
Target Milestone: 4.15 M3   Edit
Assignee: Thomas Watson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 559084 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-02-19 05:45 EST by Ed Willink CLA
Modified: 2020-01-14 12:43 EST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Willink CLA 2019-02-19 05:45:52 EST
Following the demise of org.eclipse.equinox.ds we now seem to get the trace below. It looks like something in org.apache.felix.scr has not been initialized / registered properly.

Thread [pipe-gosh --login --nointeractive] (Suspended (exception UnsupportedOperationException))	
	ComponentCommands.convert(Class<?>, Object) line: 236	
	ComponentConverterFactory$1.convert(Class<?>, Object) line: 44	
	CommandProcessorImpl.doConvert(Class<?>, Object) line: 325	
	CommandSessionImpl.doConvert(Class<?>, Object) line: 493	
	Reflective.coerce(CommandSession, Class<?>, Object, int[]) line: 489	
	Reflective.docoerce(CommandSession, Object, Method, Class<?>[], Object[], List<Object>) line: 363	
	Reflective.coerce(CommandSession, Object, Method, Class<?>[], Object[], List<Object>) line: 302	
	Reflective.invoke(CommandSession, Object, String, List<Object>) line: 112	
	CommandProxy.execute(CommandSession, List<Object>) line: 91	
	Closure.executeCmd(String, List<Object>) line: 599	
	Closure.executeStatement(Parser$Statement) line: 526	
	Closure.execute(Parser$Executable) line: 415	
	Pipe.doCall() line: 416	
	Pipe.call() line: 229	
	Pipe.call() line: 59	
	FutureTask<V>.run() line: 266 [local variables unavailable]	
	ThreadPoolExecutor.runWorker(ThreadPoolExecutor$Worker) line: 1149	
	ThreadPoolExecutor$Worker.run() line: 624	
	Thread.run() line: 748
Comment 1 Thomas Watson CLA 2019-02-19 09:13:55 EST
steps to reproduce?
Comment 2 Ed Willink CLA 2019-02-19 11:58:08 EST
I get it every time I start a nested Eclipse in Debug with my usual breakpoint on UOE.
Comment 3 Thomas Watson CLA 2019-02-19 14:25:12 EST
ok, to be clear this has no observable effect on the runtime and no error/warning of any kind to be logged.  It can only be observed by using the debugger or other tools to capture thrown exceptions.  The gogo runtime ignores the exception here.

At any rate, I already fixed this in felix with https://issues.apache.org/jira/browse/FELIX-6041

Marking for 4.12, I'm in the middle of calling for a release of felix SCR that we can then consume into orbit for the next eclipse release.
Comment 4 Ed Willink CLA 2019-03-03 03:26:11 EST
(In reply to Thomas Watson from comment #3)
> At any rate, I already fixed this in felix with

Thanks.
Comment 5 Thomas Watson CLA 2019-06-03 09:19:42 EDT
Nobody, namely me, did not get the latest SCR release into orbit and reconsumed for this.  Lets try for 4.13.
Comment 6 Alexander Kurtakov CLA 2019-10-04 09:18:40 EDT
No time for M1.
Comment 7 Alexander Kurtakov CLA 2019-10-04 09:20:26 EDT
Tom, is 2.1.16 the version you aim at?
Comment 8 Thomas Watson CLA 2019-10-04 11:20:32 EDT
(In reply to Alexander Kurtakov from comment #7)
> Tom, is 2.1.16 the version you aim at?

Yes, that is the latest release we should pick up.
Comment 9 Alexander Kurtakov CLA 2019-11-14 03:36:19 EST
Re target for 4.15 M1. There is not enough time to do it now.
Comment 10 Alexander Kurtakov CLA 2020-01-06 12:00:26 EST
Filed https://dev.eclipse.org/ipzilla/show_bug.cgi?id=21362
Comment 11 Alexander Kurtakov CLA 2020-01-11 14:11:07 EST
(In reply to Alexander Kurtakov from comment #10)
> Filed https://dev.eclipse.org/ipzilla/show_bug.cgi?id=21362

Approved.
Comment 12 Eclipse Genie CLA 2020-01-11 14:14:24 EST
New Gerrit change created: https://git.eclipse.org/r/155647
Comment 13 Eclipse Genie CLA 2020-01-12 03:20:34 EST
New Gerrit change created: https://git.eclipse.org/r/155662
Comment 16 Alexander Kurtakov CLA 2020-01-13 01:20:25 EST
*** Bug 559084 has been marked as a duplicate of this bug. ***
Comment 17 Alexander Kurtakov CLA 2020-01-13 01:20:48 EST
(In reply to Alexander Kurtakov from comment #16)
> *** Bug 559084 has been marked as a duplicate of this bug. ***

More features need touching.
Comment 18 Eclipse Genie CLA 2020-01-13 01:25:10 EST
New Gerrit change created: https://git.eclipse.org/r/155673
Comment 20 Thomas Watson CLA 2020-01-14 12:43:29 EST
I no longer see the UnsupportedOperationException when launching with the latest SCR bundle.