site.p2 fails with NPE [message #512395] |
Thu, 04 February 2010 12:10  |
Eclipse User |
|
|
|
Aaaaand me again... :)
Now that materialization and testing work again, I still can't get my site to build. I don't know if this problem is on buckminster's side
of things or on p2's, but the P2SiteGenerator always fails with a NPE caused by the IArtifactRepositoryManager service not being registered.
org.eclipse.equinox.internal.p2.artifact.repository.Activato r.addingService(ServiceReference) has not (yet?) been called when the repository
is created, leading to
java.lang.NullPointerException
at org.eclipse.equinox.internal.p2.artifact.repository.simple.S impleArtifactRepository.setProperty(SimpleArtifactRepository .java:967)
at org.eclipse.buckminster.pde.tasks.P2SiteGenerator.run(P2Site Generator.java:308)
at org.eclipse.buckminster.pde.tasks.P2SiteGenerator.internalPe rform(P2SiteGenerator.java:427)
at org.eclipse.buckminster.core.actor.AbstractActor.perform(Abs tractActor.java:201)
|
|
|
|
|
Re: site.p2 fails with NPE [message #514259 is a reply to message #512402] |
Sat, 13 February 2010 01:29   |
Eclipse User |
|
|
|
Hi Thomas,
I am encountering this same issue with the buckminster 3.6 I downloaded this morning. I downloaded from this location:
http://download.eclipse.org/tools/buckminster/headless-3.6/
or is there another download location with nightly builds?
gr. Martin
Thomas Hallgren wrote:
> Ahh, now I see. This is not the ds problem at all. The setProperty()
> method in SimpleArtifactRepository is not using the agent to obtain the
> manager. This is a p2 problem. I'll deal with it and get back to you.
>
> - thomas
>
>
> On 02/04/2010 11:49 PM, Thomas Hallgren wrote:
>> Hmm, that's odd. I had that problem and thought I had it fixed. This
>> happened when the declarative services (ds) bundle wasn't started. I
>> guess you're using the absolute latest 3.6?
>>
>> On what platform are you running? Do you get this with the sample that
>> you provided in bug 301798?
>>
>> - thomas
>>
>>
>> On 02/04/2010 10:55 PM, Carsten Reckord wrote:
>>> Aaaaand me again... :)
>>>
>>> Now that materialization and testing work again, I still can't get my
>>> site to build. I don't know if this problem is on buckminster's side of
>>> things or on p2's, but the P2SiteGenerator always fails with a NPE
>>> caused by the IArtifactRepositoryManager service not being registered.
>>> org.eclipse.equinox.internal.p2.artifact.repository.Activato r.addingService(ServiceReference)
>>>
>>>
>>> has not (yet?) been called when the repository is created, leading to
>>>
>>> java.lang.NullPointerException
>>> at
>>> org.eclipse.equinox.internal.p2.artifact.repository.simple.S impleArtifactRepository.setProperty(SimpleArtifactRepository .java:967)
>>>
>>>
>>>
>>> at
>>> org.eclipse.buckminster.pde.tasks.P2SiteGenerator.run(P2Site Generator.java:308)
>>>
>>>
>>>
>>> at
>>> org.eclipse.buckminster.pde.tasks.P2SiteGenerator.internalPe rform(P2SiteGenerator.java:427)
>>>
>>>
>>>
>>> at
>>> org.eclipse.buckminster.core.actor.AbstractActor.perform(Abs tractActor.java:201)
>>>
>>>
>>>
>>>
>>>
>>
>
--
With Regards, Martin Taal
Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
|
|
|
|
|
|
Re: site.p2 fails with NPE [message #514318 is a reply to message #514306] |
Sat, 13 February 2010 21:26  |
Eclipse User |
|
|
|
Me neither :-)
I updated the bugzilla I already had for this:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=302153
gr. Martin
Thomas Hallgren wrote:
> Don't particularly like that back trace :-). Something is obviously not
> right. Can you please add a bugzilla?
>
> Thanks,
> - thomas
>
> On 02/13/2010 06:00 PM, Martin Taal wrote:
>> Hi Thomas,
>> It indeed works better now! I can build and test (although the test
>> results are not yet found but that's another story).
>>
>> One thing I have not yet working is the sdk feature. I tried to
>> replicate the cdo structure but I get this:
>> Doing full workspace refresh
>> [java] Waiting for jobs to end
>> [java] org.eclipse.buckminster.core.metadata.AmbigousComponentExcep tion:
>> More then one version of component null is known to Buckminster
>> [java] at
>> org.eclipse.buckminster.core.internal.actor.PerformManager.a ddAttributeChildren(PerformManager.java:368)
>>
>>
>> [java] at
>> org.eclipse.buckminster.core.internal.actor.PerformManager.a ddAttributeChildren(PerformManager.java:321)
>>
>>
>> [java] at
>> org.eclipse.buckminster.core.internal.actor.PerformManager.a ddAttributeChildren(PerformManager.java:321)
>>
>>
>> [java] at
>> org.eclipse.buckminster.core.internal.actor.PerformManager.a ddAttributeChildren(PerformManager.java:321)
>>
>>
>> [java] at
>> org.eclipse.buckminster.core.internal.actor.PerformManager.a ddAttributeChildren(PerformManager.java:321)
>>
>>
>> [java] at
>> org.eclipse.buckminster.core.internal.actor.PerformManager.a ddAttributeChildren(PerformManager.java:321)
>>
>>
>> [java] at
>> org.eclipse.buckminster.core.internal.actor.PerformManager.a ddAttributeChildren(PerformManager.java:321)
>>
>>
>> [java] at
>> org.eclipse.buckminster.core.internal.actor.PerformManager.a ddAttributeChildren(PerformManager.java:321)
>>
>>
>> [java] at
>> org.eclipse.buckminster.core.internal.actor.PerformManager.g etOrderedActionList(PerformManager.java:392)
>>
>>
>> [java] at
>> org.eclipse.buckminster.core.internal.actor.PerformManager.i nternalPerform(PerformManager.java:413)
>>
>>
>> [java] at
>> org.eclipse.buckminster.core.internal.actor.PerformManager.p erform(PerformManager.java:285)
>>
>>
>> [java] at
>> org.eclipse.buckminster.core.internal.actor.PerformManager.p erform(PerformManager.java:297)
>>
>>
>>
>> I have run with buckminster debug:
>> https://build.eclipse.org/hudson/job/emf-teneo-nightly/41/co nsole
>>
>> gr. Martin
>>
>> Thomas Hallgren wrote:
>>> Hi Martin,
>>> You are using the right update site. I'm surprised that you get an NPE
>>> and I'm fairly certain that it isn't the same one that we experienced
>>> earlier. We have green Hudson builds with CDO using this build.
>>>
>>> Can you please run with --displaystacktrace so that we can see where
>>> this NPE comes from?
>>>
>>> Thanks,
>>> - thomas
>>>
>>>
>>> On 02/13/2010 07:29 AM, Martin Taal wrote:
>>>> Hi Thomas,
>>>> I am encountering this same issue with the buckminster 3.6 I downloaded
>>>> this morning. I downloaded from this location:
>>>> http://download.eclipse.org/tools/buckminster/headless-3.6/
>>>>
>>>> or is there another download location with nightly builds?
>>>>
>>>> gr. Martin
>>>>
>>
>>
>
--
With Regards, Martin Taal
Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
|
|
|
Powered by
FUDForum. Page generated in 0.04406 seconds