Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cross-project-issues-dev] Verification of feature unsuccessful.Installation cancelled. [java.lang.NullPointerException]

Hello Marcin,

What you are seeing seems to be a duplicate of
https://bugs.eclipse.org/bugs/show_bug.cgi?id=175284

The org.eclipse.pde.build bundle also failed due to
its nested jars. Their workaround is described here:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=175284#c25

In your bundle, create a file META-INF/eclipse.inf 
that gets compiled into the nested jar. The contents
should be:
jarprocessor.exclude.pack=true
jarprocessor.exclude.sign=true

As an alternative, you can also create META-INF/eclipse.inf
for the outer container jar, with contents:
jarprocessor.exclude.children.pack=true
jarprocessor.exclude.children.sign=true

Looking at the contents of org.eclipse.pde.build in CVS
can also be helpful.

Cheers,
--
Martin Oberhuber
Wind River Systems, Inc.
Target Management Project Lead, DSDP PMC Member
http://www.eclipse.org/dsdp/tm 

> -----Original Message-----
> From: cross-project-issues-dev-bounces@xxxxxxxxxxx 
> [mailto:cross-project-issues-dev-bounces@xxxxxxxxxxx] On 
> Behalf Of Marcin Okraszewski
> Sent: Friday, April 06, 2007 12:55 PM
> To: Cross project issues
> Subject: Re: [cross-project-issues-dev] Verification of 
> feature unsuccessful.Installation cancelled. 
> [java.lang.NullPointerException]
> 
> I there any magical switch that would turn off the repacking 
> of nested 
> jars? I couldn't find one on:
> http://wiki.eclipse.org/index.php/Pack200
> 
> Regards,
> Marcin Okraszewski
> 
> Marcin Okraszewski wrote:
> > I think I found the problem. The pack200 also repacks nested jars, 
> > which were previously signed. This changes jar content and the 
> > signature doesn't work. When I removed all pack.gz for 
> plugins which 
> > contain the nested jars the update manager worked without 
> any problem.
> >
> > Marcin Okraszewski
> >
> >
> > Marcin Okraszewski wrote:
> >> I'm having an exception while installing my Corona feature through 
> >> update manager. It warns me that it is a singed feature, gives 
> >> certificate details and then it says that it failed to do it. The 
> >> exception and installation details at the bottom.
> >>
> >> I don't know if might be a problem, but I'm behind 
> firewall. I must 
> >> go through HTTP proxy, which is set up in both General -> 
> Network as 
> >> well as in Update settings.
> >>
> >> I think we might do something wrong with signing. 
> Currently the build 
> >> is done. All jars are copied to build.eclipse.org for 
> signing. After 
> >> sighing, I make the update site optimalization by:
> >> java -Xmx512m -jar /usr/local/eclipse-3.3M6/startup.jar 
> -application 
> >> org.eclipse.update.core.siteOptimizer -digestBuilder 
> >> -digestOutputDir=/home/mokraszew/update-site/digests 
> >> -siteXML=/home/mokraszew/update-site/site.xml -jarProcessor -pack 
> >> -verbose -processAll -outputDir /home/mokraszew/update-site 
> >> /home/mokraszew/update-site
> >>
> >> Thanks for help.
> >> Marcin Okraszewski
> >>
> >>
> >>
> >> java.lang.NullPointerException
> >> at 
> >> 
> org.eclipse.update.internal.verifier.CertVerifier.alreadyValid
> ated(CertVerifier.java:221) 
> >>
> >> at 
> >> 
> org.eclipse.update.internal.verifier.CertVerifier.verify(CertV
> erifier.java:152) 
> >>
> >> at 
> >> 
> org.eclipse.update.internal.verifier.CertVerifier.verify(CertV
> erifier.java:133) 
> >>
> >> at 
> >> 
> org.eclipse.update.internal.verifier.CertVerifier.verify(CertV
> erifier.java:122) 
> >>
> >> at 
> org.eclipse.update.core.Feature.verifyReferences(Feature.java:967)
> >> at org.eclipse.update.core.Feature.install(Feature.java:377)
> >> at 
> org.eclipse.update.internal.core.SiteFile.install(SiteFile.java:129)
> >> at org.eclipse.update.core.Feature.install(Feature.java:414)
> >> at 
> org.eclipse.update.internal.core.SiteFile.install(SiteFile.java:96)
> >> at 
> >> 
> org.eclipse.update.internal.core.ConfiguredSite.install(Config
> uredSite.java:155) 
> >>
> >> at 
> >> 
> org.eclipse.update.internal.core.ConfiguredSite.install(Config
> uredSite.java:119) 
> >>
> >> at 
> >> 
> org.eclipse.update.internal.operations.InstallOperation.execut
> e(InstallOperation.java:92) 
> >>
> >> at 
> >> 
> org.eclipse.update.internal.operations.BatchInstallOperation.e
> xecute(BatchInstallOperation.java:84) 
> >>
> >> at 
> >> 
> org.eclipse.update.internal.ui.wizards.InstallWizard2.install(
> InstallWizard2.java:373) 
> >>
> >> at 
> >> 
> org.eclipse.update.internal.ui.wizards.InstallWizard2.access$1
> (InstallWizard2.java:370) 
> >>
> >> at 
> >> 
> org.eclipse.update.internal.ui.wizards.InstallWizard2$1.run(In
> stallWizard2.java:483) 
> >>
> >> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
> >>
> >>
> >> eclipse.buildId=I20070323-1616
> >> java.version=1.6.0
> >> java.vendor=Sun Microsystems Inc.
> >> BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=pl_PL
> >> Framework arguments:  -startup 
> >> 
> /home/okrasz/tmp/m9/server/plugins/org.eclipse.equinox.launche
> r_1.0.0.v20070319.jar 
> >>
> >> Command-line arguments:  -os linux -ws gtk -arch x86 -startup 
> >> 
> /home/okrasz/tmp/m9/server/plugins/org.eclipse.equinox.launche
> r_1.0.0.v20070319.jar 
> >>
> >>
> >> The contents of this e-mail are intended for the named addressee 
> >> only. It contains information that may be confidential. Unless you 
> >> are the named addressee or an authorized designee, you may 
> not copy 
> >> or use it, or disclose it to anyone else. If you received 
> it in error 
> >> please notify us immediately and then destroy it. 
> >> _______________________________________________
> >> cross-project-issues-dev mailing list
> >> cross-project-issues-dev@xxxxxxxxxxx
> >> https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev
> >>
> >>
> > The contents of this e-mail are intended for the named 
> addressee only. 
> > It contains information that may be confidential. Unless 
> you are the 
> > named addressee or an authorized designee, you may not copy 
> or use it, 
> > or disclose it to anyone else. If you received it in error please 
> > notify us immediately and then destroy it. 
> > _______________________________________________
> > cross-project-issues-dev mailing list
> > cross-project-issues-dev@xxxxxxxxxxx
> > https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev
> >
> >
> The contents of this e-mail are intended for the named 
> addressee only. It contains information that may be 
> confidential. Unless you are the named addressee or an 
> authorized designee, you may not copy or use it, or disclose 
> it to anyone else. If you received it in error please notify 
> us immediately and then destroy it. 
> _______________________________________________
> cross-project-issues-dev mailing list
> cross-project-issues-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev
> 


Back to the top