|
|
|
|
Re: Aggregator NPE when building repo with Maven [message #510397 is a reply to message #510300] |
Wed, 27 January 2010 12:41 |
Filip Hrbek Messages: 233 Registered: July 2009 |
Senior Member |
|
|
I found and (hopefully) fixed the problem. Unfortunately, for some reason, I am unable to rebuild the update site right now (some problems at build.eclipse.org). I'll try later.
Filip
Filip Hrbek napsal(a):
> Hi Marko,
>
> sorry for the confusion - I had the p2 repos (not maven repos) you map
> in my mind :-)
>
> So your answer is galileo + your own (private) repos.
>
> I'll let you know when I find something.
>
>
> Filip
>
>
> Marko Espig napsal(a):
>> Hi Filip,
>>
>> thanks for your quick response. I'm not using any public maven repos.
>> I only map galileo p2 and some own p2 repos, and mirror the bundles to
>> produce a Maven repo, like mentioned in the Aggregator Example.
>> I like to consume the generated repo in nexus.
>>
>> When the build is almost complete, the build process is logging
>> "Writing maven metadata" and then the NPE occours.
>>
>>
>>
>> Kind regards
>> Marko
>>
>>
>>
>>
>>> I will look into this and let you know tomorrow.
>>>
>>> Is the maven repository you map anything that is public? If so, please
>>> post it here so that I could debug easier.
>>>
>>> Thanks.
>>>
>>> Kind regards
>>> Filip
>>>
>>> exquisitus napsal(a):
>>>> Hi,
>>>>
>>>> we're using the Aggregator to generate Maven-conformant Repositories
>>>> with the Option Maven Result.
>>>>
>>>> At the end of the build, while adding maven metadata we get an NPE
>>>>
>>>> Build failed! Exception was java.lang.NullPointerException:
>>>> java.lang.NullPointerException
>>>> at
>>>> org.eclipse.buckminster.aggregator.engine.maven.MavenManager .getVersionString(MavenManager.java:228)
>>>>
>>>>
>>>> at
>>>> org.eclipse.buckminster.aggregator.engine.maven.MavenManager .saveXMLs(MavenManager.java:382)
>>>>
>>>>
>>>> at
>>>> org.eclipse.buckminster.aggregator.engine.maven.MavenManager .saveMetadata(MavenManager.java:242)
>>>>
>>>>
>>>> at
>>>> org.eclipse.buckminster.aggregator.engine.MirrorGenerator.ru n(MirrorGenerator.java:868)
>>>>
>>>>
>>>> at
>>>> org.eclipse.buckminster.aggregator.engine.Builder.runMirrori ng(Builder.java:1206)
>>>>
>>>>
>>>> at
>>>> org.eclipse.buckminster.aggregator.engine.Builder.run(Builde r.java:693)
>>>> at
>>>> org.eclipse.buckminster.aggregator.presentation.AggregatorAc tionBarContributor$BuildRepoAction$1.run(AggregatorActionBar Contributor.java:278)
>>>>
>>>>
>>>> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>>>>
>>>>
>>>>
>>>> We use Buckminster Aggregator Editor 1.0.0.r11086.
>>>>
>>>>
>>>>
>>>> Thanks in advance.
>>>> Regards
>>>>
>>>> Marko
>>>>
>>>>
>>>>
>>>>
>>
|
|
|
|
Re: Aggregator NPE when building repo with Maven [message #510877 is a reply to message #510740] |
Thu, 28 January 2010 23:00 |
Marko Espig Messages: 19 Registered: July 2009 |
Junior Member |
|
|
Hi Filip,
I have tried it, it works as expected now.
Thank's, I appreciate your immediate assistance.
Marko
Am 28.01.2010 15:08, schrieb Filip Hrbek:
> This problem has been fixed. The fixed version (Buckminster Aggregator
> Editor 1.0.0.r11118) is available on our update site:
>
> http://download.eclipse.org/tools/buckminster/updates-3.5
>
> Please try again and let me know if you succeed or not.
>
> Filip
>
>
> Marko Espig napsal(a):
>> Hi Filip,
>>
>> thanks for your quick response. I'm not using any public maven repos.
>> I only map galileo p2 and some own p2 repos, and mirror the bundles to
>> produce a Maven repo, like mentioned in the Aggregator Example.
>> I like to consume the generated repo in nexus.
>>
>> When the build is almost complete, the build process is logging
>> "Writing maven metadata" and then the NPE occours.
>>
>>
>>
>> Kind regards
>> Marko
>>
>>
>>
>>
>>> I will look into this and let you know tomorrow.
>>>
>>> Is the maven repository you map anything that is public? If so, please
>>> post it here so that I could debug easier.
>>>
>>> Thanks.
>>>
>>> Kind regards
>>> Filip
>>>
>>> exquisitus napsal(a):
>>>> Hi,
>>>>
>>>> we're using the Aggregator to generate Maven-conformant Repositories
>>>> with the Option Maven Result.
>>>>
>>>> At the end of the build, while adding maven metadata we get an NPE
>>>>
>>>> Build failed! Exception was java.lang.NullPointerException:
>>>> java.lang.NullPointerException
>>>> at
>>>> org.eclipse.buckminster.aggregator.engine.maven.MavenManager .getVersionString(MavenManager.java:228)
>>>>
>>>>
>>>> at
>>>> org.eclipse.buckminster.aggregator.engine.maven.MavenManager .saveXMLs(MavenManager.java:382)
>>>>
>>>>
>>>> at
>>>> org.eclipse.buckminster.aggregator.engine.maven.MavenManager .saveMetadata(MavenManager.java:242)
>>>>
>>>>
>>>> at
>>>> org.eclipse.buckminster.aggregator.engine.MirrorGenerator.ru n(MirrorGenerator.java:868)
>>>>
>>>>
>>>> at
>>>> org.eclipse.buckminster.aggregator.engine.Builder.runMirrori ng(Builder.java:1206)
>>>>
>>>>
>>>> at
>>>> org.eclipse.buckminster.aggregator.engine.Builder.run(Builde r.java:693)
>>>> at
>>>> org.eclipse.buckminster.aggregator.presentation.AggregatorAc tionBarContributor$BuildRepoAction$1.run(AggregatorActionBar Contributor.java:278)
>>>>
>>>>
>>>> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>>>>
>>>>
>>>>
>>>> We use Buckminster Aggregator Editor 1.0.0.r11086.
>>>>
>>>>
>>>>
>>>> Thanks in advance.
>>>> Regards
>>>>
>>>> Marko
>>>>
>>>>
>>>>
>>>>
>>
|
|
|
Powered by
FUDForum. Page generated in 0.04406 seconds