You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Svatopluk Dedic (JIRA)" <ji...@apache.org> on 2019/05/30 13:55:00 UTC

[jira] [Resolved] (NETBEANS-2565) NB-based application fails to verify NB plugin signatures

     [ https://issues.apache.org/jira/browse/NETBEANS-2565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Svatopluk Dedic resolved NETBEANS-2565.
---------------------------------------
    Resolution: Fixed

> NB-based application fails to verify NB plugin signatures
> ---------------------------------------------------------
>
>                 Key: NETBEANS-2565
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-2565
>             Project: NetBeans
>          Issue Type: Bug
>          Components: updatecenters - Pluginportal
>    Affects Versions: 11.0
>            Reporter: Svatopluk Dedic
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: Next
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> I have a NB platform app application, which includes *updatecenters* module from the *nb* cluster.  
> I am now trying to upgrade to NB11 and it seems that the file *nb/core/ide.ks* file is not copied to the application distribution.
> Steps to reproduce:
>  # Create NB Platform Application project
>  # include *Update Centers* module from *nb* cluster
>  # Build
>  # Package as > ZIP
>  # unzip the zipfile
> There's no *ide.ks* file.
> Effects:
>  # When run with assertion disabled, all modules downloaded from NB update center or plugin portal appear unsigned
>  # When run with assertions enabled, the following assertion is thrown / displayed as error dialog:
> {noformat}
> java.lang.AssertionError: File found at core/ide.ks 
>         at org.netbeans.modules.updatecenters.resources.NetBeansKeyStoreProvider.getKeyStoreFile(NetBeansKeyStoreProvider.java:48) 
>         at org.netbeans.modules.updatecenters.resources.NetBeansKeyStoreProvider.getKeyStore(NetBeansKeyStoreProvider.java:43) 
>         at org.netbeans.modules.autoupdate.services.Utilities.getKeyStore(Utilities.java:121) 
>         at org.netbeans.modules.autoupdate.services.InstallSupportImpl.verifyNbm(InstallSupportImpl.java:1056) 
>         at org.netbeans.modules.autoupdate.services.InstallSupportImpl.doValidate(InstallSupportImpl.java:847) 
>         at org.netbeans.modules.autoupdate.services.InstallSupportImpl.doValidate(InstallSupportImpl.java:800) 
>         at org.netbeans.modules.autoupdate.services.InstallSupportImpl.access$900(InstallSupportImpl.java:73) 
>         at org.netbeans.modules.autoupdate.services.InstallSupportImpl$2.call(InstallSupportImpl.java:245) 
>         at org.netbeans.modules.autoupdate.services.InstallSupportImpl$2.call(InstallSupportImpl.java:218) 
>         at java.util.concurrent.FutureTask.run(FutureTask.java:266){noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists