You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Reinhard Pötz <re...@apache.org> on 2011/04/27 18:50:13 UTC

Re: svn commit: r1096155 - in /cocoon/cocoon3/trunk/cocoon-optional/src: main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/ test/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/

On 04/23/2011 04:49 PM, simonetripodi@apache.org wrote:
> Author: simonetripodi
> Date: Sat Apr 23 14:49:10 2011
> New Revision: 1096155
>
> URL: http://svn.apache.org/viewvc?rev=1096155&view=rev
> Log:
> fix for COCOON3-58: The org.apache.cocoon.optional.pipeline.components.sax.jaxb.JAXBGenerator is incomplete
> test cases included

Unfortunately this commit breaks the build:

-------------------------------------------------------------------------------
Test set: 
org.apache.cocoon.optional.pipeline.components.sax.jaxb.JAXBGeneratorTestCase
-------------------------------------------------------------------------------
Tests run: 6, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.802 
sec <<< FAILURE!
testPipelineWithUncountableNamedBean(org.apache.cocoon.optional.pipeline.components.sax.jaxb.JAXBGeneratorTestCase) 
  Time elapsed: 0.004 sec  <<< ERROR!
java.lang.IndexOutOfBoundsException: No group 1
	at java.util.regex.Matcher.group(Matcher.java:470)
	at java.util.regex.Matcher.appendReplacement(Matcher.java:737)
	at java.util.regex.Matcher.replaceFirst(Matcher.java:861)
	at 
org.apache.cocoon.optional.pipeline.components.sax.jaxb.PluralStemmer.toPlural(PluralStemmer.java:187)
<snip/>

-- 
Reinhard Pötz         Founder & Managing Director, Indoqa and Deepsearch
                         http://www.indoqa.com/people/reinhard-poetz.html

Member of the Apache Software Foundation
Apache Cocoon Committer, PMC member                  reinhard@apache.org
________________________________________________________________________

       Furthermore, I think Oracle has to honor the JSPA agreement.
     http://s.apache.org/JCPIsDead       http://s.apache.org/tck-trap

Re: svn commit: r1096155 - in /cocoon/cocoon3/trunk/cocoon-optional/src: main/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/ test/java/org/apache/cocoon/optional/pipeline/components/sax/jaxb/

Posted by Simone Tripodi <si...@apache.org>.
Apologizes ;(
I accidentally modified the matching pattern before committing, then I
broke the build; anyway I already fixed it on trunk, it works now
(Francesco already confirmed in chat :P)
Have a nice day,
Simo

http://people.apache.org/~simonetripodi/
http://www.99soft.org/



On Wed, Apr 27, 2011 at 6:50 PM, Reinhard Pötz <re...@apache.org> wrote:
> On 04/23/2011 04:49 PM, simonetripodi@apache.org wrote:
>>
>> Author: simonetripodi
>> Date: Sat Apr 23 14:49:10 2011
>> New Revision: 1096155
>>
>> URL: http://svn.apache.org/viewvc?rev=1096155&view=rev
>> Log:
>> fix for COCOON3-58: The
>> org.apache.cocoon.optional.pipeline.components.sax.jaxb.JAXBGenerator is
>> incomplete
>> test cases included
>
> Unfortunately this commit breaks the build:
>
> -------------------------------------------------------------------------------
> Test set:
> org.apache.cocoon.optional.pipeline.components.sax.jaxb.JAXBGeneratorTestCase
> -------------------------------------------------------------------------------
> Tests run: 6, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.802 sec
> <<< FAILURE!
> testPipelineWithUncountableNamedBean(org.apache.cocoon.optional.pipeline.components.sax.jaxb.JAXBGeneratorTestCase)
>  Time elapsed: 0.004 sec  <<< ERROR!
> java.lang.IndexOutOfBoundsException: No group 1
>        at java.util.regex.Matcher.group(Matcher.java:470)
>        at java.util.regex.Matcher.appendReplacement(Matcher.java:737)
>        at java.util.regex.Matcher.replaceFirst(Matcher.java:861)
>        at
> org.apache.cocoon.optional.pipeline.components.sax.jaxb.PluralStemmer.toPlural(PluralStemmer.java:187)
> <snip/>
>
> --
> Reinhard Pötz         Founder & Managing Director, Indoqa and Deepsearch
>                        http://www.indoqa.com/people/reinhard-poetz.html
>
> Member of the Apache Software Foundation
> Apache Cocoon Committer, PMC member                  reinhard@apache.org
> ________________________________________________________________________
>
>      Furthermore, I think Oracle has to honor the JSPA agreement.
>    http://s.apache.org/JCPIsDead       http://s.apache.org/tck-trap
>