You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Richard S. Hall (JIRA)" <ji...@apache.org> on 2011/02/10 18:32:03 UTC

[jira] Commented: (FELIX-2796) felix.auto.deploy.action throws NPE with only "update" action

    [ https://issues.apache.org/jira/browse/FELIX-2796?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12993131#comment-12993131 ] 

Richard S. Hall commented on FELIX-2796:
----------------------------------------

I am definitely able to reproduce your NPE with the attached archive, thanks for providing it. We need to check if the bundle is actually installed before calling update on it.

> felix.auto.deploy.action throws NPE with only "update" action
> -------------------------------------------------------------
>
>                 Key: FELIX-2796
>                 URL: https://issues.apache.org/jira/browse/FELIX-2796
>             Project: Felix
>          Issue Type: Bug
>          Components: Main
>    Affects Versions: framework-3.0.5
>         Environment: JDK6, Win7
>            Reporter: Zhou
>            Priority: Minor
>             Fix For: framework-3.2.0
>
>         Attachments: FELIX-2796.zip
>
>
> I used: 
> felix.auto.deploy.action=install,update,start
> and expected it to update a bundle when I overwrite the jar file in the deploy dir and restart the framework.
> Felix simply ignores and no update is done to the bundle regardless the jar file has been updated.
> if I used:
> felix.auto.deploy.actioin=update
> Felix would not be able to start. it would fail with NullPointerException.
> Generally, my goal was to auto update bundles with their jar files updated in the folder whenever felix is restarted.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira