|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
[jira] Created: (FELIX-1842) iPOJO The 1.4.2 Eclipse Sample (MyiPOJOBundle-1.4.2) does not runiPOJO The 1.4.2 Eclipse Sample (MyiPOJOBundle-1.4.2) does not run
----------------------------------------------------------------- Key: FELIX-1842 URL: https://issues.apache.org/jira/browse/FELIX-1842 Project: Felix Issue Type: Bug Components: iPOJO Affects Versions: iPOJO-1.4.0 Reporter: Kai Toedter I just tries the Eclipse Example, downloaded from http://felix.apache.org/site/apache-felix-ipojo-eclipse-integration.data/MyiPOJOBundle-1.4.2.zip After setting the target platform I get the following error after launching: osgi> [ERROR] org.apache.felix.ipojo.sample.MyComponentImpl : [org.apache.felix.ipojo.sample.MyComponentImpl-0] createInstance -> Cannot invoke the constructor (method not found) : org.apache.felix.ipojo.sample.MyComponentImpl.<init>(org.apache.felix.ipojo.InstanceManager) [ERROR] org.apache.felix.ipojo.sample.MyComponentImpl : Cannot create a POJO instance, the POJO constructor cannot be found : org.apache.felix.ipojo.sample.MyComponentImpl.<init>(org.apache.felix.ipojo.InstanceManager) java.lang.RuntimeException: Cannot create a POJO instance, the POJO constructor cannot be found : org.apache.felix.ipojo.sample.MyComponentImpl.<init>(org.apache.felix.ipojo.InstanceManager) at org.apache.felix.ipojo.InstanceManager.createObject(InstanceManager.java:632) at org.apache.felix.ipojo.InstanceManager.getPojoObject(InstanceManager.java:776) at org.apache.felix.ipojo.handlers.lifecycle.callback.LifecycleCallbackHandler.__stateChanged(LifecycleCallbackHandler.java:156) at org.apache.felix.ipojo.handlers.lifecycle.callback.LifecycleCallbackHandler.stateChanged(LifecycleCallbackHandler.java) at org.apache.felix.ipojo.InstanceManager.setState(InstanceManager.java:440) at org.apache.felix.ipojo.InstanceManager.start(InstanceManager.java:321) at org.apache.felix.ipojo.ComponentFactory.createInstance(ComponentFactory.java:155) at org.apache.felix.ipojo.IPojoFactory.createComponentInstance(IPojoFactory.java:298) at org.apache.felix.ipojo.IPojoFactory.createComponentInstance(IPojoFactory.java:235) at org.apache.felix.ipojo.InstanceCreator$ManagedInstance.create(InstanceCreator.java:360) at org.apache.felix.ipojo.InstanceCreator.addInstance(InstanceCreator.java:89) at org.apache.felix.ipojo.Extender.parse(Extender.java:269) at org.apache.felix.ipojo.Extender.startManagementFor(Extender.java:208) at org.apache.felix.ipojo.Extender.access$600(Extender.java:52) at org.apache.felix.ipojo.Extender$CreatorThread.run(Extender.java:669) at java.lang.Thread.run(Thread.java:619) [ERROR] org.apache.felix.ipojo.sample.MyComponentImpl : Cannot create a POJO instance, the POJO constructor cannot be found : org.apache.felix.ipojo.sample.MyComponentImpl.<init>(org.apache.felix.ipojo.InstanceManager) [ERROR] iPOJO Instance Creator : A matching factory was found for {component=org.apache.felix.ipojo.sample.MyComponentImpl, instance.name=org.apache.felix.ipojo.sample.MyComponentImpl-0}, but the instantiation failed : The configuration is not correct for the type org.apache.felix.ipojo.sample.MyComponentImpl : Cannot create a POJO instance, the POJO constructor cannot be found : org.apache.felix.ipojo.sample.MyComponentImpl.<init>(org.apache.felix.ipojo.InstanceManager) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
|
[jira] Commented: (FELIX-1842) iPOJO The 1.4.2 Eclipse Sample (MyiPOJOBundle-1.4.2) does not run[ https://issues.apache.org/jira/browse/FELIX-1842?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12773438#action_12773438 ] Clement Escoffier commented on FELIX-1842: ------------------------------------------ Hi, I reproduce the issue. It sounds like after importing, you have to close / re-open the project to hook the Ant builder correctly... (I'm not an Eclipse expoert, so maybe there is others turn around). Then, the console should display something like: Buildfile: /Users/clement/workspaces/chameleon-dev/MyiPOJOBundle/build.xml manipulate: [ipojo] Input directory : /Users/clement/workspaces/chameleon-dev/MyiPOJOBundle/bin [ipojo] Metadata file : /Users/clement/workspaces/chameleon-dev/MyiPOJOBundle/metadata.xml [ipojo] Start manipulation [ipojo] Manipulation - SUCCESS [ipojo] Output files : /Users/clement/workspaces/chameleon-dev/MyiPOJOBundle/bin [ipojo] Manifest : /Users/clement/workspaces/chameleon-dev/MyiPOJOBundle/META-INF/MANIFEST.MF BUILD SUCCESSFUL Total time: 267 milliseconds which means that the manipulation is done. Then you can launch the framework. If you know how I can 'force' to recompile the code after importing, feel free to give me the hint :-) Thanks for reporting, Regards, Clement > iPOJO The 1.4.2 Eclipse Sample (MyiPOJOBundle-1.4.2) does not run > ----------------------------------------------------------------- > > Key: FELIX-1842 > URL: https://issues.apache.org/jira/browse/FELIX-1842 > Project: Felix > Issue Type: Bug > Components: iPOJO > Affects Versions: iPOJO-1.4.0 > Reporter: Kai Toedter > > I just tries the Eclipse Example, downloaded from http://felix.apache.org/site/apache-felix-ipojo-eclipse-integration.data/MyiPOJOBundle-1.4.2.zip > After setting the target platform I get the following error after launching: > osgi> [ERROR] org.apache.felix.ipojo.sample.MyComponentImpl : [org.apache.felix.ipojo.sample.MyComponentImpl-0] createInstance -> Cannot invoke the constructor (method not found) : org.apache.felix.ipojo.sample.MyComponentImpl.<init>(org.apache.felix.ipojo.InstanceManager) > [ERROR] org.apache.felix.ipojo.sample.MyComponentImpl : Cannot create a POJO instance, the POJO constructor cannot be found : org.apache.felix.ipojo.sample.MyComponentImpl.<init>(org.apache.felix.ipojo.InstanceManager) > java.lang.RuntimeException: Cannot create a POJO instance, the POJO constructor cannot be found : org.apache.felix.ipojo.sample.MyComponentImpl.<init>(org.apache.felix.ipojo.InstanceManager) > at org.apache.felix.ipojo.InstanceManager.createObject(InstanceManager.java:632) > at org.apache.felix.ipojo.InstanceManager.getPojoObject(InstanceManager.java:776) > at org.apache.felix.ipojo.handlers.lifecycle.callback.LifecycleCallbackHandler.__stateChanged(LifecycleCallbackHandler.java:156) > at org.apache.felix.ipojo.handlers.lifecycle.callback.LifecycleCallbackHandler.stateChanged(LifecycleCallbackHandler.java) > at org.apache.felix.ipojo.InstanceManager.setState(InstanceManager.java:440) > at org.apache.felix.ipojo.InstanceManager.start(InstanceManager.java:321) > at org.apache.felix.ipojo.ComponentFactory.createInstance(ComponentFactory.java:155) > at org.apache.felix.ipojo.IPojoFactory.createComponentInstance(IPojoFactory.java:298) > at org.apache.felix.ipojo.IPojoFactory.createComponentInstance(IPojoFactory.java:235) > at org.apache.felix.ipojo.InstanceCreator$ManagedInstance.create(InstanceCreator.java:360) > at org.apache.felix.ipojo.InstanceCreator.addInstance(InstanceCreator.java:89) > at org.apache.felix.ipojo.Extender.parse(Extender.java:269) > at org.apache.felix.ipojo.Extender.startManagementFor(Extender.java:208) > at org.apache.felix.ipojo.Extender.access$600(Extender.java:52) > at org.apache.felix.ipojo.Extender$CreatorThread.run(Extender.java:669) > at java.lang.Thread.run(Thread.java:619) > [ERROR] org.apache.felix.ipojo.sample.MyComponentImpl : Cannot create a POJO instance, the POJO constructor cannot be found : org.apache.felix.ipojo.sample.MyComponentImpl.<init>(org.apache.felix.ipojo.InstanceManager) > [ERROR] iPOJO Instance Creator : A matching factory was found for {component=org.apache.felix.ipojo.sample.MyComponentImpl, instance.name=org.apache.felix.ipojo.sample.MyComponentImpl-0}, but the instantiation failed : The configuration is not correct for the type org.apache.felix.ipojo.sample.MyComponentImpl : Cannot create a POJO instance, the POJO constructor cannot be found : org.apache.felix.ipojo.sample.MyComponentImpl.<init>(org.apache.felix.ipojo.InstanceManager) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
|
[jira] Updated: (FELIX-1842) iPOJO The 1.4.2 Eclipse Sample (MyiPOJOBundle-1.4.2) does not run[ https://issues.apache.org/jira/browse/FELIX-1842?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Clement Escoffier updated FELIX-1842: ------------------------------------- Remaining Estimate: 0h Original Estimate: 0h > iPOJO The 1.4.2 Eclipse Sample (MyiPOJOBundle-1.4.2) does not run > ----------------------------------------------------------------- > > Key: FELIX-1842 > URL: https://issues.apache.org/jira/browse/FELIX-1842 > Project: Felix > Issue Type: Bug > Components: iPOJO > Affects Versions: iPOJO-1.4.0 > Reporter: Kai Toedter > Original Estimate: 0h > Remaining Estimate: 0h > > I just tries the Eclipse Example, downloaded from http://felix.apache.org/site/apache-felix-ipojo-eclipse-integration.data/MyiPOJOBundle-1.4.2.zip > After setting the target platform I get the following error after launching: > osgi> [ERROR] org.apache.felix.ipojo.sample.MyComponentImpl : [org.apache.felix.ipojo.sample.MyComponentImpl-0] createInstance -> Cannot invoke the constructor (method not found) : org.apache.felix.ipojo.sample.MyComponentImpl.<init>(org.apache.felix.ipojo.InstanceManager) > [ERROR] org.apache.felix.ipojo.sample.MyComponentImpl : Cannot create a POJO instance, the POJO constructor cannot be found : org.apache.felix.ipojo.sample.MyComponentImpl.<init>(org.apache.felix.ipojo.InstanceManager) > java.lang.RuntimeException: Cannot create a POJO instance, the POJO constructor cannot be found : org.apache.felix.ipojo.sample.MyComponentImpl.<init>(org.apache.felix.ipojo.InstanceManager) > at org.apache.felix.ipojo.InstanceManager.createObject(InstanceManager.java:632) > at org.apache.felix.ipojo.InstanceManager.getPojoObject(InstanceManager.java:776) > at org.apache.felix.ipojo.handlers.lifecycle.callback.LifecycleCallbackHandler.__stateChanged(LifecycleCallbackHandler.java:156) > at org.apache.felix.ipojo.handlers.lifecycle.callback.LifecycleCallbackHandler.stateChanged(LifecycleCallbackHandler.java) > at org.apache.felix.ipojo.InstanceManager.setState(InstanceManager.java:440) > at org.apache.felix.ipojo.InstanceManager.start(InstanceManager.java:321) > at org.apache.felix.ipojo.ComponentFactory.createInstance(ComponentFactory.java:155) > at org.apache.felix.ipojo.IPojoFactory.createComponentInstance(IPojoFactory.java:298) > at org.apache.felix.ipojo.IPojoFactory.createComponentInstance(IPojoFactory.java:235) > at org.apache.felix.ipojo.InstanceCreator$ManagedInstance.create(InstanceCreator.java:360) > at org.apache.felix.ipojo.InstanceCreator.addInstance(InstanceCreator.java:89) > at org.apache.felix.ipojo.Extender.parse(Extender.java:269) > at org.apache.felix.ipojo.Extender.startManagementFor(Extender.java:208) > at org.apache.felix.ipojo.Extender.access$600(Extender.java:52) > at org.apache.felix.ipojo.Extender$CreatorThread.run(Extender.java:669) > at java.lang.Thread.run(Thread.java:619) > [ERROR] org.apache.felix.ipojo.sample.MyComponentImpl : Cannot create a POJO instance, the POJO constructor cannot be found : org.apache.felix.ipojo.sample.MyComponentImpl.<init>(org.apache.felix.ipojo.InstanceManager) > [ERROR] iPOJO Instance Creator : A matching factory was found for {component=org.apache.felix.ipojo.sample.MyComponentImpl, instance.name=org.apache.felix.ipojo.sample.MyComponentImpl-0}, but the instantiation failed : The configuration is not correct for the type org.apache.felix.ipojo.sample.MyComponentImpl : Cannot create a POJO instance, the POJO constructor cannot be found : org.apache.felix.ipojo.sample.MyComponentImpl.<init>(org.apache.felix.ipojo.InstanceManager) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
|
[jira] Resolved: (FELIX-1842) iPOJO The 1.4.2 Eclipse Sample (MyiPOJOBundle-1.4.2) does not run[ https://issues.apache.org/jira/browse/FELIX-1842?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Clement Escoffier resolved FELIX-1842. -------------------------------------- Resolution: Fixed > iPOJO The 1.4.2 Eclipse Sample (MyiPOJOBundle-1.4.2) does not run > ----------------------------------------------------------------- > > Key: FELIX-1842 > URL: https://issues.apache.org/jira/browse/FELIX-1842 > Project: Felix > Issue Type: Bug > Components: iPOJO > Affects Versions: iPOJO-1.4.0 > Reporter: Kai Toedter > Original Estimate: 0h > Remaining Estimate: 0h > > I just tries the Eclipse Example, downloaded from http://felix.apache.org/site/apache-felix-ipojo-eclipse-integration.data/MyiPOJOBundle-1.4.2.zip > After setting the target platform I get the following error after launching: > osgi> [ERROR] org.apache.felix.ipojo.sample.MyComponentImpl : [org.apache.felix.ipojo.sample.MyComponentImpl-0] createInstance -> Cannot invoke the constructor (method not found) : org.apache.felix.ipojo.sample.MyComponentImpl.<init>(org.apache.felix.ipojo.InstanceManager) > [ERROR] org.apache.felix.ipojo.sample.MyComponentImpl : Cannot create a POJO instance, the POJO constructor cannot be found : org.apache.felix.ipojo.sample.MyComponentImpl.<init>(org.apache.felix.ipojo.InstanceManager) > java.lang.RuntimeException: Cannot create a POJO instance, the POJO constructor cannot be found : org.apache.felix.ipojo.sample.MyComponentImpl.<init>(org.apache.felix.ipojo.InstanceManager) > at org.apache.felix.ipojo.InstanceManager.createObject(InstanceManager.java:632) > at org.apache.felix.ipojo.InstanceManager.getPojoObject(InstanceManager.java:776) > at org.apache.felix.ipojo.handlers.lifecycle.callback.LifecycleCallbackHandler.__stateChanged(LifecycleCallbackHandler.java:156) > at org.apache.felix.ipojo.handlers.lifecycle.callback.LifecycleCallbackHandler.stateChanged(LifecycleCallbackHandler.java) > at org.apache.felix.ipojo.InstanceManager.setState(InstanceManager.java:440) > at org.apache.felix.ipojo.InstanceManager.start(InstanceManager.java:321) > at org.apache.felix.ipojo.ComponentFactory.createInstance(ComponentFactory.java:155) > at org.apache.felix.ipojo.IPojoFactory.createComponentInstance(IPojoFactory.java:298) > at org.apache.felix.ipojo.IPojoFactory.createComponentInstance(IPojoFactory.java:235) > at org.apache.felix.ipojo.InstanceCreator$ManagedInstance.create(InstanceCreator.java:360) > at org.apache.felix.ipojo.InstanceCreator.addInstance(InstanceCreator.java:89) > at org.apache.felix.ipojo.Extender.parse(Extender.java:269) > at org.apache.felix.ipojo.Extender.startManagementFor(Extender.java:208) > at org.apache.felix.ipojo.Extender.access$600(Extender.java:52) > at org.apache.felix.ipojo.Extender$CreatorThread.run(Extender.java:669) > at java.lang.Thread.run(Thread.java:619) > [ERROR] org.apache.felix.ipojo.sample.MyComponentImpl : Cannot create a POJO instance, the POJO constructor cannot be found : org.apache.felix.ipojo.sample.MyComponentImpl.<init>(org.apache.felix.ipojo.InstanceManager) > [ERROR] iPOJO Instance Creator : A matching factory was found for {component=org.apache.felix.ipojo.sample.MyComponentImpl, instance.name=org.apache.felix.ipojo.sample.MyComponentImpl-0}, but the instantiation failed : The configuration is not correct for the type org.apache.felix.ipojo.sample.MyComponentImpl : Cannot create a POJO instance, the POJO constructor cannot be found : org.apache.felix.ipojo.sample.MyComponentImpl.<init>(org.apache.felix.ipojo.InstanceManager) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
| Free embeddable forum powered by Nabble | Forum Help |