Grrr argh!

Just spent 10 minutes wondering why three tests were failing....

The JDK I was running with had a different StAX implementation in
lib/endorsed... so Woodstox was being ignored...

Looks like I'll have to bind to the woodstox classes directly in order to
ensure that the only StAX parser I have been able to hack to rewrite XML is
the one that gets used...

-Stephen

On Sat, Aug 30, 2008 at 8:17 PM, Stephen Connolly <
[EMAIL PROTECTED]> wrote:

> Vincent
>
> Hopefully fixed in rev 7522
>
>
> On Fri, Aug 29, 2008 at 9:21 PM, Vincent Massol <[EMAIL PROTECTED]>wrote:
>
>> Hi Stephen,
>>
>> This looks really useful. However it worked on one module I tried it on
>> and failed on another one with this error:
>>
>> [DEBUG] Configuring mojo
>> 'org.codehaus.mojo:versions-maven-plugin:1.0.0-alpha-1-SNAPSHOT:display-plugin-updates'
>> -->
>> [DEBUG]   (f) localRepository = [local] ->
>> file:///Users/vmassol/.m2/repository
>> [DEBUG]   (s) project = MavenProject:
>> com.xpn.xwiki.platform:xwiki-core:1.6-SNAPSHOT @
>> /Users/vmassol/dev/xwiki/trunks/platform/core/xwiki-core/pom.xml
>> [DEBUG]   (f) reactorProjects = [MavenProject:
>> com.xpn.xwiki.platform:xwiki-core:1.6-SNAPSHOT @
>> /Users/vmassol/dev/xwiki/trunks/platform/core/xwiki-core/pom.xml]
>> [DEBUG]   (f) remoteRepositories = [[apache.snapshots] ->
>> http://people.apache.org/maven-snapshot-repository, [xwiki-externals] ->
>> http://maven.xwiki.org/externals, [xwiki-releases] ->
>> http://maven.xwiki.org/releases, [xwiki-snapshots] ->
>> http://maven.xwiki.org/snapshots, [central] ->
>> http://repo1.maven.org/maven2]
>> [DEBUG] -- end configuration --
>> [INFO] [versions:display-plugin-updates]
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] FATAL ERROR
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] null
>> [INFO]
>> ------------------------------------------------------------------------
>> [DEBUG] Trace
>> java.lang.NullPointerException
>>        at
>> org.codehaus.mojo.versions.DisplayPluginUpdatesMojo$1.compare(DisplayPluginUpdatesMojo.java:65)
>>        at java.util.TreeMap.compare(TreeMap.java:1093)
>>        at java.util.TreeMap.put(TreeMap.java:465)
>>        at java.util.TreeSet.add(TreeSet.java:210)
>>        at java.util.AbstractCollection.addAll(AbstractCollection.java:318)
>>        at java.util.TreeSet.addAll(TreeSet.java:258)
>>        at
>> org.codehaus.mojo.versions.DisplayPluginUpdatesMojo.execute(DisplayPluginUpdatesMojo.java:71)
>>        at
>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
>>
>> The module that failed can be found here if it helps:
>> http://svn.xwiki.org/svnroot/xwiki/platform/core/trunk/xwiki-core/
>>
>> Thanks
>> -Vincent
>>
>>
>> On Aug 28, 2008, at 1:03 PM, Stephen Connolly wrote:
>>
>>  Hi Everyone,
>>>
>>> The versions-maven-plugin is currently in the *sandbox*.
>>>
>>> This is the first step for a future 1.0.0-alpha-1 release
>>>
>>> http://mojo.codehaus.org/versions-maven-plugin
>>>
>>> Please vote for the *promotion* of versions-maven-plugin out of the *
>>> sandbox*:
>>>
>>> +1 [ move out]
>>> 0 [ ]
>>> -1 [stay in sandbox ]
>>>
>>> The vote is open for at least 72 hours.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe from this list, please visit:
>>>
>>>  http://xircles.codehaus.org/manage_email
>>>
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>   http://xircles.codehaus.org/manage_email
>>
>>
>>
>

Reply via email to