| Summary: | Aggreagtor headless/UI fails with NPE when having categories | ||
|---|---|---|---|
| Product: | [Technology] CBI | Reporter: | David Samuelsson <david.samuelsson.se> |
| Component: | CBI p2 Repository Aggregator | Assignee: | Filip Hrbek <filip.hrbek> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | filip.hrbek |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
David Samuelsson
Could you provide an sample of your b3aggr file? I tried to do something similar and it worked fine for me which means that there must be a difference that I can't figure out. here ya go: <?xml version="1.0" encoding="ASCII"?> <aggregator:Aggregator xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:aggregator="http://www.eclipse.org/b3/2010/aggregator/1.0.0" description="Helios mirror" buildmaster="//@contacts[email='david.samuelsson@skatteverket.se']" label="Helios mirror" buildRoot="Y:\VE_Update_Site_libraries\lib\Hudson_aggregated\Helios\se.rsv.zz.org.eclipse.helios.mirror.b3aggr"> <configurations/> <contributions description="Helios mirror" label="Helios mirror" contacts="//@contacts[email='david.samuelsson@skatteverket.se']"> <repositories location="http://download.eclipse.org/releases/helios/" categoryPrefix=""> <products name="org.eclipse.sdk.ide"/> <categories name="Business Intelligence, Reporting and Charting"/> <categories name="Collaboration"/> <categories name="Database Development"/> <categories name="General Purpose Tools"/> <categories name="Modeling"/> <categories name="Programming Languages"/> <categories name="Web, XML, and Java EE Development"/> <categories name="Test and Performance"/> <categories name="SOA Development"/> </repositories> </contributions> <contacts name="David Samuelsson" email="david.samuelsson@skatteverket.se"/> </aggregator:Aggregator> This fails with an NPE for me. Only that comes to mind is that the eclipse i am using is an RC3 upgraded to the final helios release. java.lang.NullPointerException at org.eclipse.b3.aggregator.engine.VerificationFeatureAction.addRequirementFor(VerificationFeatureAction.java:374) at org.eclipse.b3.aggregator.engine.VerificationFeatureAction.addRequirementFor(VerificationFeatureAction.java:289) at org.eclipse.b3.aggregator.engine.VerificationFeatureAction.addCategoryContent(VerificationFeatureAction.java:247) at org.eclipse.b3.aggregator.engine.VerificationFeatureAction.perform(VerificationFeatureAction.java:155) at org.eclipse.equinox.p2.publisher.Publisher$ArtifactProcess.run(Publisher.java:207) at org.eclipse.equinox.p2.publisher.Publisher.publish(Publisher.java:237) at org.eclipse.b3.aggregator.engine.VerificationFeatureGenerator.run(VerificationFeatureGenerator.java:58) at org.eclipse.b3.aggregator.engine.Builder.runVerificationFeatureGenerator(Builder.java:1096) at org.eclipse.b3.aggregator.engine.Builder.run(Builder.java:605) at org.eclipse.b3.aggregator.presentation.AggregatorActionBarContributor$BuildRepoAction$1.run(AggregatorActionBarContributor.java:267) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Fixed. New version is available at http://download.eclipse.org/modeling/emft/b3/updates-3.7milestones and http://download.eclipse.org/modeling/emft/b3/headless-3.7milestones [Bookkeeping change only. Moving bugs to the new "home" of aggregator, CBI. No change to assignee for resolved and verified bugs.] |