[ https://issues.apache.org/jira/browse/FELIX-3576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13406311#comment-13406311 ]
Clement Escoffier commented on FELIX-3576: ------------------------------------------ The fix is breaking some tests (13 tests in error): <testcase time="0.0040" classname="org.apache.felix.ipojo.test.scenarios.manipulation.POJOCreation" name="testLazyCreation"> <error message="Cannot create the component instance with the given configuration:The configuration is not correct for the type ManipulationCreation-FooProviderType-1 : The constructor parameter 1 is not managed" type="java.lang.IllegalArgumentException">java.lang.IllegalArgumentException: Cannot create the component instance with the given configuration:The configuration is not correct for the type ManipulationCreation-FooProviderType-1 : The constructor parameter 1 is not managed at org.apache.felix.ipojo.junit4osgi.helpers.IPOJOHelper.createComponentInstance(IPOJOHelper.java:151) at org.apache.felix.ipojo.junit4osgi.helpers.IPOJOHelper.createComponentInstance(IPOJOHelper.java:120) at org.apache.felix.ipojo.junit4osgi.helpers.IPOJOHelper.createComponentInstance(IPOJOHelper.java:268) at org.apache.felix.ipojo.test.scenarios.manipulation.POJOCreation.setUp(POJOCreation.java:64) at org.apache.felix.ipojo.junit4osgi.OSGiTestCase.runBare(OSGiTestCase.java:81) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at org.apache.felix.ipojo.junit4osgi.OSGiTestSuite.runTest(OSGiTestSuite.java:120) at junit.framework.TestSuite.run(TestSuite.java:203) at org.apache.felix.ipojo.junit4osgi.OSGiTestSuite.runTest(OSGiTestSuite.java:117) at junit.framework.TestSuite.run(TestSuite.java:203) at org.apache.felix.ipojo.junit4osgi.plugin.Junit4osgiPlugin.executeTest(Junit4osgiPlugin.java:582) at org.apache.felix.ipojo.junit4osgi.plugin.Junit4osgiPlugin.invokeRun(Junit4osgiPlugin.java:491) at org.apache.felix.ipojo.junit4osgi.plugin.Junit4osgiPlugin.execute(Junit4osgiPlugin.java:270) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) </error> <log-service>[ERROR] [ERROR] ManipulationCreation-FooProviderType-1 : The constructor parameter 1 is not managed</log-service> </testcase> <testcase time="0.0010" classname="org.apache.felix.ipojo.test.scenarios.manipulation.POJOCreation" name="testLazyCreationSingleton"> <error message="Cannot create the component instance with the given configuration:The configuration is not correct for the type ManipulationCreation-FooProviderType-1 : The constructor parameter 1 is not managed" type="java.lang.IllegalArgumentException">java.lang.IllegalArgumentException: Cannot create the component instance with the given configuration:The configuration is not correct for the type ManipulationCreation-FooProviderType-1 : The constructor parameter 1 is not managed at org.apache.felix.ipojo.junit4osgi.helpers.IPOJOHelper.createComponentInstance(IPOJOHelper.java:151) at org.apache.felix.ipojo.junit4osgi.helpers.IPOJOHelper.createComponentInstance(IPOJOHelper.java:120) at org.apache.felix.ipojo.junit4osgi.helpers.IPOJOHelper.createComponentInstance(IPOJOHelper.java:268) at org.apache.felix.ipojo.test.scenarios.manipulation.POJOCreation.setUp(POJOCreation.java:64) at org.apache.felix.ipojo.junit4osgi.OSGiTestCase.runBare(OSGiTestCase.java:81) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at org.apache.felix.ipojo.junit4osgi.OSGiTestSuite.runTest(OSGiTestSuite.java:120) at junit.framework.TestSuite.run(TestSuite.java:203) at org.apache.felix.ipojo.junit4osgi.OSGiTestSuite.runTest(OSGiTestSuite.java:117) at junit.framework.TestSuite.run(TestSuite.java:203) at org.apache.felix.ipojo.junit4osgi.plugin.Junit4osgiPlugin.executeTest(Junit4osgiPlugin.java:582) at org.apache.felix.ipojo.junit4osgi.plugin.Junit4osgiPlugin.invokeRun(Junit4osgiPlugin.java:491) at org.apache.felix.ipojo.junit4osgi.plugin.Junit4osgiPlugin.execute(Junit4osgiPlugin.java:270) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) </error> <log-service>[ERROR] [ERROR] ManipulationCreation-FooProviderType-1 : The constructor parameter 1 is not managed</log-service> </testcase> <testcase time="0.0010" classname="org.apache.felix.ipojo.test.scenarios.manipulation.POJOCreation" name="testLazyCreationSeveral"> <error message="Cannot create the component instance with the given configuration:The configuration is not correct for the type ManipulationCreation-FooProviderType-1 : The constructor parameter 1 is not managed" type="java.lang.IllegalArgumentException">java.lang.IllegalArgumentException: Cannot create the component instance with the given configuration:The configuration is not correct for the type ManipulationCreation-FooProviderType-1 : The constructor parameter 1 is not managed at org.apache.felix.ipojo.junit4osgi.helpers.IPOJOHelper.createComponentInstance(IPOJOHelper.java:151) at org.apache.felix.ipojo.junit4osgi.helpers.IPOJOHelper.createComponentInstance(IPOJOHelper.java:120) at org.apache.felix.ipojo.junit4osgi.helpers.IPOJOHelper.createComponentInstance(IPOJOHelper.java:268) at org.apache.felix.ipojo.test.scenarios.manipulation.POJOCreation.setUp(POJOCreation.java:64) at org.apache.felix.ipojo.junit4osgi.OSGiTestCase.runBare(OSGiTestCase.java:81) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at org.apache.felix.ipojo.junit4osgi.OSGiTestSuite.runTest(OSGiTestSuite.java:120) at junit.framework.TestSuite.run(TestSuite.java:203) at org.apache.felix.ipojo.junit4osgi.OSGiTestSuite.runTest(OSGiTestSuite.java:117) at junit.framework.TestSuite.run(TestSuite.java:203) at org.apache.felix.ipojo.junit4osgi.plugin.Junit4osgiPlugin.executeTest(Junit4osgiPlugin.java:582) at org.apache.felix.ipojo.junit4osgi.plugin.Junit4osgiPlugin.invokeRun(Junit4osgiPlugin.java:491) at org.apache.felix.ipojo.junit4osgi.plugin.Junit4osgiPlugin.execute(Junit4osgiPlugin.java:270) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) </error> <log-service>[ERROR] [ERROR] ManipulationCreation-FooProviderType-1 : The constructor parameter 1 is not managed</log-service> </testcase> <testcase time="0.0010" classname="org.apache.felix.ipojo.test.scenarios.manipulation.POJOCreation" name="testImmediateCreation"> <error message="Cannot create the component instance with the given configuration:The configuration is not correct for the type ManipulationCreation-FooProviderType-1 : The constructor parameter 1 is not managed" type="java.lang.IllegalArgumentException">java.lang.IllegalArgumentException: Cannot create the component instance with the given configuration:The configuration is not correct for the type ManipulationCreation-FooProviderType-1 : The constructor parameter 1 is not managed at org.apache.felix.ipojo.junit4osgi.helpers.IPOJOHelper.createComponentInstance(IPOJOHelper.java:151) at org.apache.felix.ipojo.junit4osgi.helpers.IPOJOHelper.createComponentInstance(IPOJOHelper.java:120) at org.apache.felix.ipojo.junit4osgi.helpers.IPOJOHelper.createComponentInstance(IPOJOHelper.java:268) at org.apache.felix.ipojo.test.scenarios.manipulation.POJOCreation.setUp(POJOCreation.java:64) at org.apache.felix.ipojo.junit4osgi.OSGiTestCase.runBare(OSGiTestCase.java:81) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at org.apache.felix.ipojo.junit4osgi.OSGiTestSuite.runTest(OSGiTestSuite.java:120) at junit.framework.TestSuite.run(TestSuite.java:203) at org.apache.felix.ipojo.junit4osgi.OSGiTestSuite.runTest(OSGiTestSuite.java:117) at junit.framework.TestSuite.run(TestSuite.java:203) at org.apache.felix.ipojo.junit4osgi.plugin.Junit4osgiPlugin.executeTest(Junit4osgiPlugin.java:582) at org.apache.felix.ipojo.junit4osgi.plugin.Junit4osgiPlugin.invokeRun(Junit4osgiPlugin.java:491) at org.apache.felix.ipojo.junit4osgi.plugin.Junit4osgiPlugin.execute(Junit4osgiPlugin.java:270) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) </error> <log-service>[ERROR] [ERROR] ManipulationCreation-FooProviderType-1 : The constructor parameter 1 is not managed</log-service> </testcase> <testcase time="0.0010" classname="org.apache.felix.ipojo.test.scenarios.manipulation.POJOCreation" name="testBundleContext"> <error message="Cannot create the component instance with the given configuration:The configuration is not correct for the type ManipulationCreation-FooProviderType-1 : The constructor parameter 1 is not managed" type="java.lang.IllegalArgumentException">java.lang.IllegalArgumentException: Cannot create the component instance with the given configuration:The configuration is not correct for the type ManipulationCreation-FooProviderType-1 : The constructor parameter 1 is not managed at org.apache.felix.ipojo.junit4osgi.helpers.IPOJOHelper.createComponentInstance(IPOJOHelper.java:151) at org.apache.felix.ipojo.junit4osgi.helpers.IPOJOHelper.createComponentInstance(IPOJOHelper.java:120) at org.apache.felix.ipojo.junit4osgi.helpers.IPOJOHelper.createComponentInstance(IPOJOHelper.java:268) at org.apache.felix.ipojo.test.scenarios.manipulation.POJOCreation.setUp(POJOCreation.java:64) at org.apache.felix.ipojo.junit4osgi.OSGiTestCase.runBare(OSGiTestCase.java:81) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at org.apache.felix.ipojo.junit4osgi.OSGiTestSuite.runTest(OSGiTestSuite.java:120) at junit.framework.TestSuite.run(TestSuite.java:203) at org.apache.felix.ipojo.junit4osgi.OSGiTestSuite.runTest(OSGiTestSuite.java:117) at junit.framework.TestSuite.run(TestSuite.java:203) at org.apache.felix.ipojo.junit4osgi.plugin.Junit4osgiPlugin.executeTest(Junit4osgiPlugin.java:582) at org.apache.felix.ipojo.junit4osgi.plugin.Junit4osgiPlugin.invokeRun(Junit4osgiPlugin.java:491) at org.apache.felix.ipojo.junit4osgi.plugin.Junit4osgiPlugin.execute(Junit4osgiPlugin.java:270) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) </error> <log-service>[ERROR] [ERROR] ManipulationCreation-FooProviderType-1 : The constructor parameter 1 is not managed</log-service> </testcase> <testcase time="0.0010" classname="org.apache.felix.ipojo.test.scenarios.manipulation.POJOCreation" name="testImmediateSingletonCreation"> <error message="Cannot create the component instance with the given configuration:The configuration is not correct for the type ManipulationCreation-FooProviderType-1 : The constructor parameter 1 is not managed" type="java.lang.IllegalArgumentException">java.lang.IllegalArgumentException: Cannot create the component instance with the given configuration:The configuration is not correct for the type ManipulationCreation-FooProviderType-1 : The constructor parameter 1 is not managed at org.apache.felix.ipojo.junit4osgi.helpers.IPOJOHelper.createComponentInstance(IPOJOHelper.java:151) at org.apache.felix.ipojo.junit4osgi.helpers.IPOJOHelper.createComponentInstance(IPOJOHelper.java:120) at org.apache.felix.ipojo.junit4osgi.helpers.IPOJOHelper.createComponentInstance(IPOJOHelper.java:268) at org.apache.felix.ipojo.test.scenarios.manipulation.POJOCreation.setUp(POJOCreation.java:64) at org.apache.felix.ipojo.junit4osgi.OSGiTestCase.runBare(OSGiTestCase.java:81) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at org.apache.felix.ipojo.junit4osgi.OSGiTestSuite.runTest(OSGiTestSuite.java:120) at junit.framework.TestSuite.run(TestSuite.java:203) at org.apache.felix.ipojo.junit4osgi.OSGiTestSuite.runTest(OSGiTestSuite.java:117) at junit.framework.TestSuite.run(TestSuite.java:203) at org.apache.felix.ipojo.junit4osgi.plugin.Junit4osgiPlugin.executeTest(Junit4osgiPlugin.java:582) at org.apache.felix.ipojo.junit4osgi.plugin.Junit4osgiPlugin.invokeRun(Junit4osgiPlugin.java:491) at org.apache.felix.ipojo.junit4osgi.plugin.Junit4osgiPlugin.execute(Junit4osgiPlugin.java:270) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) </error> <log-service>[ERROR] [ERROR] ManipulationCreation-FooProviderType-1 : The constructor parameter 1 is not managed</log-service> </testcase> <testcase time="0.0" classname="org.apache.felix.ipojo.test.scenarios.manipulation.POJOCreation" name="testLazyCreationSingletonM"> <error message="Cannot create the component instance with the given configuration:The configuration is not correct for the type ManipulationCreation-FooProviderType-1 : The constructor parameter 1 is not managed" type="java.lang.IllegalArgumentException">java.lang.IllegalArgumentException: Cannot create the component instance with the given configuration:The configuration is not correct for the type ManipulationCreation-FooProviderType-1 : The constructor parameter 1 is not managed at org.apache.felix.ipojo.junit4osgi.helpers.IPOJOHelper.createComponentInstance(IPOJOHelper.java:151) at org.apache.felix.ipojo.junit4osgi.helpers.IPOJOHelper.createComponentInstance(IPOJOHelper.java:120) at org.apache.felix.ipojo.junit4osgi.helpers.IPOJOHelper.createComponentInstance(IPOJOHelper.java:268) at org.apache.felix.ipojo.test.scenarios.manipulation.POJOCreation.setUp(POJOCreation.java:64) at org.apache.felix.ipojo.junit4osgi.OSGiTestCase.runBare(OSGiTestCase.java:81) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at org.apache.felix.ipojo.junit4osgi.OSGiTestSuite.runTest(OSGiTestSuite.java:120) at junit.framework.TestSuite.run(TestSuite.java:203) at org.apache.felix.ipojo.junit4osgi.OSGiTestSuite.runTest(OSGiTestSuite.java:117) at junit.framework.TestSuite.run(TestSuite.java:203) at org.apache.felix.ipojo.junit4osgi.plugin.Junit4osgiPlugin.executeTest(Junit4osgiPlugin.java:582) at org.apache.felix.ipojo.junit4osgi.plugin.Junit4osgiPlugin.invokeRun(Junit4osgiPlugin.java:491) at org.apache.felix.ipojo.junit4osgi.plugin.Junit4osgiPlugin.execute(Junit4osgiPlugin.java:270) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) </error> <log-service>[ERROR] [ERROR] ManipulationCreation-FooProviderType-1 : The constructor parameter 1 is not managed</log-service> </testcase> <testcase time="0.0" classname="org.apache.felix.ipojo.test.scenarios.manipulation.POJOCreation" name="testLazyCreationSeveralM"> <error message="Cannot create the component instance with the given configuration:The configuration is not correct for the type ManipulationCreation-FooProviderType-1 : The constructor parameter 1 is not managed" type="java.lang.IllegalArgumentException">java.lang.IllegalArgumentException: Cannot create the component instance with the given configuration:The configuration is not correct for the type ManipulationCreation-FooProviderType-1 : The constructor parameter 1 is not managed at org.apache.felix.ipojo.junit4osgi.helpers.IPOJOHelper.createComponentInstance(IPOJOHelper.java:151) at org.apache.felix.ipojo.junit4osgi.helpers.IPOJOHelper.createComponentInstance(IPOJOHelper.java:120) at org.apache.felix.ipojo.junit4osgi.helpers.IPOJOHelper.createComponentInstance(IPOJOHelper.java:268) at org.apache.felix.ipojo.test.scenarios.manipulation.POJOCreation.setUp(POJOCreation.java:64) at org.apache.felix.ipojo.junit4osgi.OSGiTestCase.runBare(OSGiTestCase.java:81) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at org.apache.felix.ipojo.junit4osgi.OSGiTestSuite.runTest(OSGiTestSuite.java:120) at junit.framework.TestSuite.run(TestSuite.java:203) at org.apache.felix.ipojo.junit4osgi.OSGiTestSuite.runTest(OSGiTestSuite.java:117) at junit.framework.TestSuite.run(TestSuite.java:203) at org.apache.felix.ipojo.junit4osgi.plugin.Junit4osgiPlugin.executeTest(Junit4osgiPlugin.java:582) at org.apache.felix.ipojo.junit4osgi.plugin.Junit4osgiPlugin.invokeRun(Junit4osgiPlugin.java:491) at org.apache.felix.ipojo.junit4osgi.plugin.Junit4osgiPlugin.execute(Junit4osgiPlugin.java:270) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) </error> <log-service>[ERROR] [ERROR] ManipulationCreation-FooProviderType-1 : The constructor parameter 1 is not managed</log-service> </testcase> <testcase time="0.0010" classname="org.apache.felix.ipojo.test.scenarios.manipulation.POJOCreation" name="testCustomConstuctor"> <error message="Cannot create the component instance with the given configuration:The configuration is not correct for the type ManipulationCreation-FooProviderType-1 : The constructor parameter 1 is not managed" type="java.lang.IllegalArgumentException">java.lang.IllegalArgumentException: Cannot create the component instance with the given configuration:The configuration is not correct for the type ManipulationCreation-FooProviderType-1 : The constructor parameter 1 is not managed at org.apache.felix.ipojo.junit4osgi.helpers.IPOJOHelper.createComponentInstance(IPOJOHelper.java:151) at org.apache.felix.ipojo.junit4osgi.helpers.IPOJOHelper.createComponentInstance(IPOJOHelper.java:120) at org.apache.felix.ipojo.junit4osgi.helpers.IPOJOHelper.createComponentInstance(IPOJOHelper.java:268) at org.apache.felix.ipojo.test.scenarios.manipulation.POJOCreation.setUp(POJOCreation.java:64) at org.apache.felix.ipojo.junit4osgi.OSGiTestCase.runBare(OSGiTestCase.java:81) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at org.apache.felix.ipojo.junit4osgi.OSGiTestSuite.runTest(OSGiTestSuite.java:120) at junit.framework.TestSuite.run(TestSuite.java:203) at org.apache.felix.ipojo.junit4osgi.OSGiTestSuite.runTest(OSGiTestSuite.java:117) at junit.framework.TestSuite.run(TestSuite.java:203) at org.apache.felix.ipojo.junit4osgi.plugin.Junit4osgiPlugin.executeTest(Junit4osgiPlugin.java:582) at org.apache.felix.ipojo.junit4osgi.plugin.Junit4osgiPlugin.invokeRun(Junit4osgiPlugin.java:491) at org.apache.felix.ipojo.junit4osgi.plugin.Junit4osgiPlugin.execute(Junit4osgiPlugin.java:270) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) </error> <log-service>[ERROR] [ERROR] ManipulationCreation-FooProviderType-1 : The constructor parameter 1 is not managed</log-service> </testcase> <testcase time="0.0010" classname="org.apache.felix.ipojo.test.scenarios.manipulation.POJOCreation" name="testSuperCall"> <error message="Cannot create the component instance with the given configuration:The configuration is not correct for the type ManipulationCreation-FooProviderType-1 : The constructor parameter 1 is not managed" type="java.lang.IllegalArgumentException">java.lang.IllegalArgumentException: Cannot create the component instance with the given configuration:The configuration is not correct for the type ManipulationCreation-FooProviderType-1 : The constructor parameter 1 is not managed at org.apache.felix.ipojo.junit4osgi.helpers.IPOJOHelper.createComponentInstance(IPOJOHelper.java:151) at org.apache.felix.ipojo.junit4osgi.helpers.IPOJOHelper.createComponentInstance(IPOJOHelper.java:120) at org.apache.felix.ipojo.junit4osgi.helpers.IPOJOHelper.createComponentInstance(IPOJOHelper.java:268) at org.apache.felix.ipojo.test.scenarios.manipulation.POJOCreation.setUp(POJOCreation.java:64) at org.apache.felix.ipojo.junit4osgi.OSGiTestCase.runBare(OSGiTestCase.java:81) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at org.apache.felix.ipojo.junit4osgi.OSGiTestSuite.runTest(OSGiTestSuite.java:120) at junit.framework.TestSuite.run(TestSuite.java:203) at org.apache.felix.ipojo.junit4osgi.OSGiTestSuite.runTest(OSGiTestSuite.java:117) at junit.framework.TestSuite.run(TestSuite.java:203) at org.apache.felix.ipojo.junit4osgi.plugin.Junit4osgiPlugin.executeTest(Junit4osgiPlugin.java:582) at org.apache.felix.ipojo.junit4osgi.plugin.Junit4osgiPlugin.invokeRun(Junit4osgiPlugin.java:491) at org.apache.felix.ipojo.junit4osgi.plugin.Junit4osgiPlugin.execute(Junit4osgiPlugin.java:270) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) </error> <log-service>[ERROR] [ERROR] ManipulationCreation-FooProviderType-1 : The constructor parameter 1 is not managed</log-service> </testcase> <testcase time="0.0010" classname="org.apache.felix.ipojo.test.scenarios.manipulation.POJOCreation" name="testSuperCallWithNew"> <error message="Cannot create the component instance with the given configuration:The configuration is not correct for the type ManipulationCreation-FooProviderType-1 : The constructor parameter 1 is not managed" type="java.lang.IllegalArgumentException">java.lang.IllegalArgumentException: Cannot create the component instance with the given configuration:The configuration is not correct for the type ManipulationCreation-FooProviderType-1 : The constructor parameter 1 is not managed at org.apache.felix.ipojo.junit4osgi.helpers.IPOJOHelper.createComponentInstance(IPOJOHelper.java:151) at org.apache.felix.ipojo.junit4osgi.helpers.IPOJOHelper.createComponentInstance(IPOJOHelper.java:120) at org.apache.felix.ipojo.junit4osgi.helpers.IPOJOHelper.createComponentInstance(IPOJOHelper.java:268) at org.apache.felix.ipojo.test.scenarios.manipulation.POJOCreation.setUp(POJOCreation.java:64) at org.apache.felix.ipojo.junit4osgi.OSGiTestCase.runBare(OSGiTestCase.java:81) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at org.apache.felix.ipojo.junit4osgi.OSGiTestSuite.runTest(OSGiTestSuite.java:120) at junit.framework.TestSuite.run(TestSuite.java:203) at org.apache.felix.ipojo.junit4osgi.OSGiTestSuite.runTest(OSGiTestSuite.java:117) at junit.framework.TestSuite.run(TestSuite.java:203) at org.apache.felix.ipojo.junit4osgi.plugin.Junit4osgiPlugin.executeTest(Junit4osgiPlugin.java:582) at org.apache.felix.ipojo.junit4osgi.plugin.Junit4osgiPlugin.invokeRun(Junit4osgiPlugin.java:491) at org.apache.felix.ipojo.junit4osgi.plugin.Junit4osgiPlugin.execute(Junit4osgiPlugin.java:270) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) </error> <log-service>[ERROR] [ERROR] ManipulationCreation-FooProviderType-1 : The constructor parameter 1 is not managed</log-service> </testcase> <testcase time="0.0" classname="org.apache.felix.ipojo.test.scenarios.manipulation.POJOCreation" name="testSuperSuperCallWithNew"> <error message="Cannot create the component instance with the given configuration:The configuration is not correct for the type ManipulationCreation-FooProviderType-1 : The constructor parameter 1 is not managed" type="java.lang.IllegalArgumentException">java.lang.IllegalArgumentException: Cannot create the component instance with the given configuration:The configuration is not correct for the type ManipulationCreation-FooProviderType-1 : The constructor parameter 1 is not managed at org.apache.felix.ipojo.junit4osgi.helpers.IPOJOHelper.createComponentInstance(IPOJOHelper.java:151) at org.apache.felix.ipojo.junit4osgi.helpers.IPOJOHelper.createComponentInstance(IPOJOHelper.java:120) at org.apache.felix.ipojo.junit4osgi.helpers.IPOJOHelper.createComponentInstance(IPOJOHelper.java:268) at org.apache.felix.ipojo.test.scenarios.manipulation.POJOCreation.setUp(POJOCreation.java:64) at org.apache.felix.ipojo.junit4osgi.OSGiTestCase.runBare(OSGiTestCase.java:81) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at org.apache.felix.ipojo.junit4osgi.OSGiTestSuite.runTest(OSGiTestSuite.java:120) at junit.framework.TestSuite.run(TestSuite.java:203) at org.apache.felix.ipojo.junit4osgi.OSGiTestSuite.runTest(OSGiTestSuite.java:117) at junit.framework.TestSuite.run(TestSuite.java:203) at org.apache.felix.ipojo.junit4osgi.plugin.Junit4osgiPlugin.executeTest(Junit4osgiPlugin.java:582) at org.apache.felix.ipojo.junit4osgi.plugin.Junit4osgiPlugin.invokeRun(Junit4osgiPlugin.java:491) at org.apache.felix.ipojo.junit4osgi.plugin.Junit4osgiPlugin.execute(Junit4osgiPlugin.java:270) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) </error> <log-service>[ERROR] [ERROR] ManipulationCreation-FooProviderType-1 : The constructor parameter 1 is not managed</log-service> </testcase> <testcase time="0.0" classname="org.apache.felix.ipojo.test.scenarios.manipulation.POJOCreation" name="testSuperCallWithBC"> <error message="Cannot create the component instance with the given configuration:The configuration is not correct for the type ManipulationCreation-FooProviderType-1 : The constructor parameter 1 is not managed" type="java.lang.IllegalArgumentException">java.lang.IllegalArgumentException: Cannot create the component instance with the given configuration:The configuration is not correct for the type ManipulationCreation-FooProviderType-1 : The constructor parameter 1 is not managed at org.apache.felix.ipojo.junit4osgi.helpers.IPOJOHelper.createComponentInstance(IPOJOHelper.java:151) at org.apache.felix.ipojo.junit4osgi.helpers.IPOJOHelper.createComponentInstance(IPOJOHelper.java:120) at org.apache.felix.ipojo.junit4osgi.helpers.IPOJOHelper.createComponentInstance(IPOJOHelper.java:268) at org.apache.felix.ipojo.test.scenarios.manipulation.POJOCreation.setUp(POJOCreation.java:64) at org.apache.felix.ipojo.junit4osgi.OSGiTestCase.runBare(OSGiTestCase.java:81) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at org.apache.felix.ipojo.junit4osgi.OSGiTestSuite.runTest(OSGiTestSuite.java:120) at junit.framework.TestSuite.run(TestSuite.java:203) at org.apache.felix.ipojo.junit4osgi.OSGiTestSuite.runTest(OSGiTestSuite.java:117) at junit.framework.TestSuite.run(TestSuite.java:203) at org.apache.felix.ipojo.junit4osgi.plugin.Junit4osgiPlugin.executeTest(Junit4osgiPlugin.java:582) at org.apache.felix.ipojo.junit4osgi.plugin.Junit4osgiPlugin.invokeRun(Junit4osgiPlugin.java:491) at org.apache.felix.ipojo.junit4osgi.plugin.Junit4osgiPlugin.execute(Junit4osgiPlugin.java:270) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) </error> <log-service>[ERROR] [ERROR] ManipulationCreation-FooProviderType-1 : The constructor parameter 1 is not managed</log-service> </testcase> To run the test: cd tests/manipulator/creation mvn clean install > iPOJO fails when using constructor injection and expecting BundleContext in > ctor > -------------------------------------------------------------------------------- > > Key: FELIX-3576 > URL: https://issues.apache.org/jira/browse/FELIX-3576 > Project: Felix > Issue Type: Bug > Components: iPOJO > Affects Versions: ipojo-core-1.8.2 > Reporter: Daan de Wit > Assignee: Göktürk Gezer > > When using constructor inject, and also expecting BundleContext to be passed > into the constructor, iPOJO gives and error: The constructor parameter 0 is > not managed > The constructor is defined as something like this: > public Constructor(BundleContext context, @Requires(id="my-id") Dependency1 > dep) { /* ... */ } -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira