This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 240838

Summary: SecurityException: SHA-256 digest error for netbeans/modules/ext/org.netbeans.libs.scala.compiler/1/org-scala-lang/scala-compiler.jar
Product: updatecenters Reporter: Exceptions Reporter <exceptions_reporter>
Component: PluginportalAssignee: Jiri Kovalsky <jkovalsky>
Status: RESOLVED WORKSFORME    
Severity: normal CC: alexyarm, jrechtacek
Priority: P3    
Version: 7.4   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 206858
Attachments: stacktrace

Description Exceptions Reporter 2014-01-22 18:43:09 UTC
This bug was originally marked as duplicate of bug 220589, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.4 (Build 201310111528)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.25-b01, Java(TM) SE Runtime Environment, 1.7.0_25-b17
OS: Windows 7

User Comments:
GUEST: i didn't do anythings just updating plugins

GUEST: really troublesome

GUEST: I was updating the plugins.

GUEST: don't show up my projects!!How i do they came up!!




Stacktrace: 
java.lang.SecurityException: SHA-256 digest error for netbeans/modules/ext/org.netbeans.libs.scala.compiler/1/org-scala-lang/scala-compiler.jar
   at sun.security.util.ManifestEntryVerifier.verify(ManifestEntryVerifier.java:220)
   at java.util.jar.JarVerifier.processEntry(JarVerifier.java:229)
   at java.util.jar.JarVerifier.update(JarVerifier.java:216)
   at java.util.jar.JarVerifier$VerifierStream.read(JarVerifier.java:468)
   at org.netbeans.modules.autoupdate.services.Utilities.verifyEntry(Utilities.java:196)
   at org.netbeans.modules.autoupdate.services.Utilities.getNbmCertificates(Utilities.java:172)
Comment 1 Exceptions Reporter 2014-01-22 18:43:11 UTC
Created attachment 144262 [details]
stacktrace
Comment 2 Jiri Rechtacek 2014-01-27 14:11:28 UTC
It's a problem with signing the Scala plugin, it doesn't belong in the Autoupdate code.
Comment 3 Jiri Rechtacek 2014-01-27 14:19:10 UTC
Btw. it works for me on NetBeans 7.4 - I can install Scala compiler without any problems.
Comment 4 Jiri Kovalsky 2014-01-27 16:33:44 UTC
Product Version: NetBeans IDE 7.4 (Build 201310111528)
Updates: Updates available to version NetBeans 7.4 Patch 2
Java: 1.7.0_51; Java HotSpot(TM) Client VM 24.51-b03
Runtime: Java(TM) SE Runtime Environment 1.7.0_51-b13
System: Linux version 3.0.0-12-generic running on i386; UTF-8; cs_CZ (nb)
User directory: /home/cesilko/.netbeans/7.4
Cache directory: /home/cesilko/.cache/netbeans/7.4

I cannot reproduce it either. If somebody has steps to reproduce this exception, don't hesitate to reopen this bug.