Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » Aggregator NPE when building repo with Maven
Aggregator NPE when building repo with Maven [message #510222] Tue, 26 January 2010 13:44 Go to next message
Marko Espig is currently offline Marko EspigFriend
Messages: 19
Registered: July 2009
Junior Member
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 #510252 is a reply to message #510222] Tue, 26 January 2010 22:20 Go to previous messageGo to next message
Filip Hrbek is currently offline Filip HrbekFriend
Messages: 233
Registered: July 2009
Senior Member
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 #510288 is a reply to message #510252] Wed, 27 January 2010 06:19 Go to previous messageGo to next message
Marko Espig is currently offline Marko EspigFriend
Messages: 19
Registered: July 2009
Junior Member
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 #510300 is a reply to message #510288] Wed, 27 January 2010 07:59 Go to previous messageGo to next message
Filip Hrbek is currently offline Filip HrbekFriend
Messages: 233
Registered: July 2009
Senior Member
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 #510397 is a reply to message #510300] Wed, 27 January 2010 12:41 Go to previous messageGo to next message
Filip Hrbek is currently offline Filip HrbekFriend
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 #510740 is a reply to message #510288] Thu, 28 January 2010 09:20 Go to previous messageGo to next message
Filip Hrbek is currently offline Filip HrbekFriend
Messages: 233
Registered: July 2009
Senior Member
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
>>>
>>>
>>>
>>>
>
Re: Aggregator NPE when building repo with Maven [message #510877 is a reply to message #510740] Thu, 28 January 2010 23:00 Go to previous message
Marko Espig is currently offline Marko EspigFriend
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
>>>>
>>>>
>>>>
>>>>
>>
Previous Topic:Creating Eclipse RCP plugins with a Maven dependency
Next Topic:Problems installing headless buckminster 3.6
Goto Forum:
  


Current Time: Fri Apr 26 09:14:23 GMT 2024

Powered by FUDForum. Page generated in 0.04051 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top