Svatopluk Dedic created NETBEANS-2565:
-----------------------------------------

             Summary: 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
    Affects Versions: 11.0
            Reporter: Svatopluk Dedic


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 *updatecenters* 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-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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

Reply via email to