You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Filippo Diotalevi (JIRA)" <ji...@apache.org> on 2009/06/11 11:27:07 UTC

[jira] Created: (FELIX-1216) ClassCastException when running FileInstall with Knopflerfish

ClassCastException when running FileInstall with Knopflerfish
-------------------------------------------------------------

                 Key: FELIX-1216
                 URL: https://issues.apache.org/jira/browse/FELIX-1216
             Project: Felix
          Issue Type: Bug
          Components: File Install
    Affects Versions:  fileinstall-1.0.0
            Reporter: Filippo Diotalevi


See also mailing list thread at:
http://www.nabble.com/Felix-File-Install-td23964511.html

When running FileInstall on Knopflerfish, adding a property file in the watched directory can cause a ClassCastException.

This is caused by some additional entries added by Knopflerfishin the configuration dictionary that may not be Strings.

(I'm working on a patch).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (FELIX-1216) ClassCastException when running FileInstall with Knopflerfish

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

Filippo Diotalevi updated FELIX-1216:
-------------------------------------

    Fix Version/s: fileinstall-1.2.0

> ClassCastException when running FileInstall with Knopflerfish
> -------------------------------------------------------------
>
>                 Key: FELIX-1216
>                 URL: https://issues.apache.org/jira/browse/FELIX-1216
>             Project: Felix
>          Issue Type: Bug
>          Components: File Install
>    Affects Versions:  fileinstall-1.0.0
>            Reporter: Filippo Diotalevi
>             Fix For: fileinstall-1.2.0
>
>         Attachments: FELIX-1216.txt
>
>
> See also mailing list thread at:
> http://www.nabble.com/Felix-File-Install-td23964511.html
> When running FileInstall on Knopflerfish, adding a property file in the watched directory can cause a ClassCastException.
> This is caused by some additional entries added by Knopflerfishin the configuration dictionary that may not be Strings.
> (I'm working on a patch).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (FELIX-1216) ClassCastException when running FileInstall with Knopflerfish

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

Filippo Diotalevi updated FELIX-1216:
-------------------------------------

    Attachment: FELIX-1216.txt

The patch checks if the value of a property is a String before trying to apply substitution.

> ClassCastException when running FileInstall with Knopflerfish
> -------------------------------------------------------------
>
>                 Key: FELIX-1216
>                 URL: https://issues.apache.org/jira/browse/FELIX-1216
>             Project: Felix
>          Issue Type: Bug
>          Components: File Install
>    Affects Versions:  fileinstall-1.0.0
>            Reporter: Filippo Diotalevi
>             Fix For: fileinstall-1.2.0
>
>         Attachments: FELIX-1216.txt
>
>
> See also mailing list thread at:
> http://www.nabble.com/Felix-File-Install-td23964511.html
> When running FileInstall on Knopflerfish, adding a property file in the watched directory can cause a ClassCastException.
> This is caused by some additional entries added by Knopflerfishin the configuration dictionary that may not be Strings.
> (I'm working on a patch).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (FELIX-1216) ClassCastException when running FileInstall with Knopflerfish

Posted by "Richard S. Hall (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-1216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Richard S. Hall resolved FELIX-1216.
------------------------------------

    Resolution: Fixed
      Assignee: Richard S. Hall

I have applied the patch. Please close the issue if you are satisfied and thanks for submitting the patch!

> ClassCastException when running FileInstall with Knopflerfish
> -------------------------------------------------------------
>
>                 Key: FELIX-1216
>                 URL: https://issues.apache.org/jira/browse/FELIX-1216
>             Project: Felix
>          Issue Type: Bug
>          Components: File Install
>    Affects Versions:  fileinstall-1.0.0
>            Reporter: Filippo Diotalevi
>            Assignee: Richard S. Hall
>             Fix For: fileinstall-1.2.0
>
>         Attachments: FELIX-1216-2.txt, FELIX-1216.txt
>
>
> See also mailing list thread at:
> http://www.nabble.com/Felix-File-Install-td23964511.html
> When running FileInstall on Knopflerfish, adding a property file in the watched directory can cause a ClassCastException.
> This is caused by some additional entries added by Knopflerfishin the configuration dictionary that may not be Strings.
> (I'm working on a patch).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (FELIX-1216) ClassCastException when running FileInstall with Knopflerfish

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

Filippo Diotalevi updated FELIX-1216:
-------------------------------------

    Attachment: FELIX-1216-2.txt

Second version of the patch.

> ClassCastException when running FileInstall with Knopflerfish
> -------------------------------------------------------------
>
>                 Key: FELIX-1216
>                 URL: https://issues.apache.org/jira/browse/FELIX-1216
>             Project: Felix
>          Issue Type: Bug
>          Components: File Install
>    Affects Versions:  fileinstall-1.0.0
>            Reporter: Filippo Diotalevi
>             Fix For: fileinstall-1.2.0
>
>         Attachments: FELIX-1216-2.txt, FELIX-1216.txt
>
>
> See also mailing list thread at:
> http://www.nabble.com/Felix-File-Install-td23964511.html
> When running FileInstall on Knopflerfish, adding a property file in the watched directory can cause a ClassCastException.
> This is caused by some additional entries added by Knopflerfishin the configuration dictionary that may not be Strings.
> (I'm working on a patch).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (FELIX-1216) ClassCastException when running FileInstall with Knopflerfish

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

Filippo Diotalevi closed FELIX-1216.
------------------------------------


> ClassCastException when running FileInstall with Knopflerfish
> -------------------------------------------------------------
>
>                 Key: FELIX-1216
>                 URL: https://issues.apache.org/jira/browse/FELIX-1216
>             Project: Felix
>          Issue Type: Bug
>          Components: File Install
>    Affects Versions:  fileinstall-1.0.0
>            Reporter: Filippo Diotalevi
>            Assignee: Richard S. Hall
>             Fix For: fileinstall-1.2.0
>
>         Attachments: FELIX-1216-2.txt, FELIX-1216.txt
>
>
> See also mailing list thread at:
> http://www.nabble.com/Felix-File-Install-td23964511.html
> When running FileInstall on Knopflerfish, adding a property file in the watched directory can cause a ClassCastException.
> This is caused by some additional entries added by Knopflerfishin the configuration dictionary that may not be Strings.
> (I'm working on a patch).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.