You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Christoph Gritschenberger (JIRA)" <ji...@apache.org> on 2012/05/16 10:15:02 UTC

[jira] [Created] (KARAF-1482) NullPointerException when deploying a feature without specified "install"-attribute

Christoph Gritschenberger created KARAF-1482:
------------------------------------------------

             Summary: NullPointerException when deploying a feature without specified "install"-attribute
                 Key: KARAF-1482
                 URL: https://issues.apache.org/jira/browse/KARAF-1482
             Project: Karaf
          Issue Type: Bug
            Reporter: Christoph Gritschenberger


{code}
2012-05-15 14:44:04,249 | ERROR | lixDispatchQueue | FeatureDeploymentListener        | 3 - org.apache.karaf.deployer.features - 3.0.0.SNAPSHOT | Unable to install features
java.lang.NullPointerException
	at org.apache.karaf.deployer.features.FeatureDeploymentListener.bundleChanged(FeatureDeploymentListener.java:135)[3:org.apache.karaf.deployer.features:3.0.0.SNAPSHOT]
	at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:868)[org.apache.felix.framework-4.0.2.jar:]
	at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:789)[org.apache.felix.framework-4.0.2.jar:]
	at org.apache.felix.framework.util.EventDispatcher.run(EventDispatcher.java:1088)[org.apache.felix.framework-4.0.2.jar:]
	at org.apache.felix.framework.util.EventDispatcher.access$000(EventDispatcher.java:54)[org.apache.felix.framework-4.0.2.jar:]
	at org.apache.felix.framework.util.EventDispatcher$1.run(EventDispatcher.java:101)[org.apache.felix.framework-4.0.2.jar:]
	at java.lang.Thread.run(Thread.java:679)[:1.6.0_23]
{code}

--
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

        

[jira] [Work started] (KARAF-1482) NullPointerException when deploying a feature without specified "install"-attribute

Posted by "Andreas Pieber (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-1482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on KARAF-1482 started by Andreas Pieber.

> NullPointerException when deploying a feature without specified "install"-attribute
> -----------------------------------------------------------------------------------
>
>                 Key: KARAF-1482
>                 URL: https://issues.apache.org/jira/browse/KARAF-1482
>             Project: Karaf
>          Issue Type: Bug
>            Reporter: Christoph Gritschenberger
>            Assignee: Andreas Pieber
>         Attachments: 0001-KARAF-1482-fix-possible-NullPointerException-in-Feat.patch, persistence-feature.xml
>
>
> {code}
> 2012-05-15 14:44:04,249 | ERROR | lixDispatchQueue | FeatureDeploymentListener        | 3 - org.apache.karaf.deployer.features - 3.0.0.SNAPSHOT | Unable to install features
> java.lang.NullPointerException
> 	at org.apache.karaf.deployer.features.FeatureDeploymentListener.bundleChanged(FeatureDeploymentListener.java:135)[3:org.apache.karaf.deployer.features:3.0.0.SNAPSHOT]
> 	at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:868)[org.apache.felix.framework-4.0.2.jar:]
> 	at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:789)[org.apache.felix.framework-4.0.2.jar:]
> 	at org.apache.felix.framework.util.EventDispatcher.run(EventDispatcher.java:1088)[org.apache.felix.framework-4.0.2.jar:]
> 	at org.apache.felix.framework.util.EventDispatcher.access$000(EventDispatcher.java:54)[org.apache.felix.framework-4.0.2.jar:]
> 	at org.apache.felix.framework.util.EventDispatcher$1.run(EventDispatcher.java:101)[org.apache.felix.framework-4.0.2.jar:]
> 	at java.lang.Thread.run(Thread.java:679)[:1.6.0_23]
> {code}

--
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

        

[jira] [Resolved] (KARAF-1482) NullPointerException when deploying a feature without specified "install"-attribute

Posted by "Andreas Pieber (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-1482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Pieber resolved KARAF-1482.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0.0

Committed r1342150
        M       deployer/features/src/main/java/org/apache/karaf/deployer/features/FeatureDeploymentListener.java
r1342150 = 720d004566567f33f8848d545361d4e49e8332b8 (refs/remotes/origin/trunk)

                
> NullPointerException when deploying a feature without specified "install"-attribute
> -----------------------------------------------------------------------------------
>
>                 Key: KARAF-1482
>                 URL: https://issues.apache.org/jira/browse/KARAF-1482
>             Project: Karaf
>          Issue Type: Bug
>            Reporter: Christoph Gritschenberger
>            Assignee: Andreas Pieber
>             Fix For: 3.0.0
>
>         Attachments: 0001-KARAF-1482-fix-possible-NullPointerException-in-Feat.patch, persistence-feature.xml
>
>
> {code}
> 2012-05-15 14:44:04,249 | ERROR | lixDispatchQueue | FeatureDeploymentListener        | 3 - org.apache.karaf.deployer.features - 3.0.0.SNAPSHOT | Unable to install features
> java.lang.NullPointerException
> 	at org.apache.karaf.deployer.features.FeatureDeploymentListener.bundleChanged(FeatureDeploymentListener.java:135)[3:org.apache.karaf.deployer.features:3.0.0.SNAPSHOT]
> 	at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:868)[org.apache.felix.framework-4.0.2.jar:]
> 	at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:789)[org.apache.felix.framework-4.0.2.jar:]
> 	at org.apache.felix.framework.util.EventDispatcher.run(EventDispatcher.java:1088)[org.apache.felix.framework-4.0.2.jar:]
> 	at org.apache.felix.framework.util.EventDispatcher.access$000(EventDispatcher.java:54)[org.apache.felix.framework-4.0.2.jar:]
> 	at org.apache.felix.framework.util.EventDispatcher$1.run(EventDispatcher.java:101)[org.apache.felix.framework-4.0.2.jar:]
> 	at java.lang.Thread.run(Thread.java:679)[:1.6.0_23]
> {code}

--
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

        

[jira] [Updated] (KARAF-1482) NullPointerException when deploying a feature without specified "install"-attribute

Posted by "Christoph Gritschenberger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-1482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christoph Gritschenberger updated KARAF-1482:
---------------------------------------------

    Attachment: persistence-feature.xml
    
> NullPointerException when deploying a feature without specified "install"-attribute
> -----------------------------------------------------------------------------------
>
>                 Key: KARAF-1482
>                 URL: https://issues.apache.org/jira/browse/KARAF-1482
>             Project: Karaf
>          Issue Type: Bug
>            Reporter: Christoph Gritschenberger
>         Attachments: persistence-feature.xml
>
>
> {code}
> 2012-05-15 14:44:04,249 | ERROR | lixDispatchQueue | FeatureDeploymentListener        | 3 - org.apache.karaf.deployer.features - 3.0.0.SNAPSHOT | Unable to install features
> java.lang.NullPointerException
> 	at org.apache.karaf.deployer.features.FeatureDeploymentListener.bundleChanged(FeatureDeploymentListener.java:135)[3:org.apache.karaf.deployer.features:3.0.0.SNAPSHOT]
> 	at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:868)[org.apache.felix.framework-4.0.2.jar:]
> 	at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:789)[org.apache.felix.framework-4.0.2.jar:]
> 	at org.apache.felix.framework.util.EventDispatcher.run(EventDispatcher.java:1088)[org.apache.felix.framework-4.0.2.jar:]
> 	at org.apache.felix.framework.util.EventDispatcher.access$000(EventDispatcher.java:54)[org.apache.felix.framework-4.0.2.jar:]
> 	at org.apache.felix.framework.util.EventDispatcher$1.run(EventDispatcher.java:101)[org.apache.felix.framework-4.0.2.jar:]
> 	at java.lang.Thread.run(Thread.java:679)[:1.6.0_23]
> {code}

--
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

        

[jira] [Assigned] (KARAF-1482) NullPointerException when deploying a feature without specified "install"-attribute

Posted by "Andreas Pieber (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-1482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Pieber reassigned KARAF-1482:
-------------------------------------

    Assignee: Andreas Pieber
    
> NullPointerException when deploying a feature without specified "install"-attribute
> -----------------------------------------------------------------------------------
>
>                 Key: KARAF-1482
>                 URL: https://issues.apache.org/jira/browse/KARAF-1482
>             Project: Karaf
>          Issue Type: Bug
>            Reporter: Christoph Gritschenberger
>            Assignee: Andreas Pieber
>         Attachments: 0001-KARAF-1482-fix-possible-NullPointerException-in-Feat.patch, persistence-feature.xml
>
>
> {code}
> 2012-05-15 14:44:04,249 | ERROR | lixDispatchQueue | FeatureDeploymentListener        | 3 - org.apache.karaf.deployer.features - 3.0.0.SNAPSHOT | Unable to install features
> java.lang.NullPointerException
> 	at org.apache.karaf.deployer.features.FeatureDeploymentListener.bundleChanged(FeatureDeploymentListener.java:135)[3:org.apache.karaf.deployer.features:3.0.0.SNAPSHOT]
> 	at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:868)[org.apache.felix.framework-4.0.2.jar:]
> 	at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:789)[org.apache.felix.framework-4.0.2.jar:]
> 	at org.apache.felix.framework.util.EventDispatcher.run(EventDispatcher.java:1088)[org.apache.felix.framework-4.0.2.jar:]
> 	at org.apache.felix.framework.util.EventDispatcher.access$000(EventDispatcher.java:54)[org.apache.felix.framework-4.0.2.jar:]
> 	at org.apache.felix.framework.util.EventDispatcher$1.run(EventDispatcher.java:101)[org.apache.felix.framework-4.0.2.jar:]
> 	at java.lang.Thread.run(Thread.java:679)[:1.6.0_23]
> {code}

--
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

        

[jira] [Updated] (KARAF-1482) NullPointerException when deploying a feature without specified "install"-attribute

Posted by "Christoph Gritschenberger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-1482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christoph Gritschenberger updated KARAF-1482:
---------------------------------------------

    Attachment: 0001-KARAF-1482-fix-possible-NullPointerException-in-Feat.patch

patch with extra-null-check
                
> NullPointerException when deploying a feature without specified "install"-attribute
> -----------------------------------------------------------------------------------
>
>                 Key: KARAF-1482
>                 URL: https://issues.apache.org/jira/browse/KARAF-1482
>             Project: Karaf
>          Issue Type: Bug
>            Reporter: Christoph Gritschenberger
>         Attachments: 0001-KARAF-1482-fix-possible-NullPointerException-in-Feat.patch, persistence-feature.xml
>
>
> {code}
> 2012-05-15 14:44:04,249 | ERROR | lixDispatchQueue | FeatureDeploymentListener        | 3 - org.apache.karaf.deployer.features - 3.0.0.SNAPSHOT | Unable to install features
> java.lang.NullPointerException
> 	at org.apache.karaf.deployer.features.FeatureDeploymentListener.bundleChanged(FeatureDeploymentListener.java:135)[3:org.apache.karaf.deployer.features:3.0.0.SNAPSHOT]
> 	at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:868)[org.apache.felix.framework-4.0.2.jar:]
> 	at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:789)[org.apache.felix.framework-4.0.2.jar:]
> 	at org.apache.felix.framework.util.EventDispatcher.run(EventDispatcher.java:1088)[org.apache.felix.framework-4.0.2.jar:]
> 	at org.apache.felix.framework.util.EventDispatcher.access$000(EventDispatcher.java:54)[org.apache.felix.framework-4.0.2.jar:]
> 	at org.apache.felix.framework.util.EventDispatcher$1.run(EventDispatcher.java:101)[org.apache.felix.framework-4.0.2.jar:]
> 	at java.lang.Thread.run(Thread.java:679)[:1.6.0_23]
> {code}

--
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