You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bval.apache.org by "Jeremy Bauer (JIRA)" <bv...@incubator.apache.org> on 2010/05/18 20:53:41 UTC

[jira] Created: (BVAL-48) jUnit failure during build on Windows - trunk rev 945800

jUnit failure during build on Windows - trunk rev 945800
--------------------------------------------------------

                 Key: BVAL-48
                 URL: https://issues.apache.org/jira/browse/BVAL-48
             Project: BeanValidation
          Issue Type: Bug
          Components: jsr303
         Environment: Windows XP, Sun JDK 1.6 SR16, Maven 2.2.0
            Reporter: Jeremy Bauer


I am unable to build trunk on Windows due to a failing jUnit test.  Here is the relevant part of the failure:

Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec <<< FAILURE!
testMandatoryAttributesPresentInConstraintDescriptor(org.apache.bval.jsr303.BeanDescriptorTest)  Time elapsed: 0 sec  <<< FAILURE!
junit.framework.AssertionFailedError: payload attribute not present
        at junit.framework.Assert.fail(Assert.java:47)
        at junit.framework.Assert.assertTrue(Assert.java:20)
        at org.apache.bval.jsr303.BeanDescriptorTest.testMandatoryAttributesPres
entInConstraintDescriptor(BeanDescriptorTest.java:69)
<snip>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (BVAL-48) jUnit failure during build on Windows - trunk rev 945800

Posted by "Jeremy Bauer (JIRA)" <bv...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/BVAL-48?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeremy Bauer resolved BVAL-48.
------------------------------

    Fix Version/s: 0.1-incubating
       Resolution: Fixed

Fixed under rev 945869.

> jUnit failure during build on Windows - trunk rev 945800
> --------------------------------------------------------
>
>                 Key: BVAL-48
>                 URL: https://issues.apache.org/jira/browse/BVAL-48
>             Project: BeanValidation
>          Issue Type: Bug
>          Components: jsr303
>         Environment: Windows XP, Sun JDK 1.6 SR16, Maven 2.2.0
>            Reporter: Jeremy Bauer
>            Assignee: Jeremy Bauer
>             Fix For: 0.1-incubating
>
>
> I am unable to build trunk on Windows due to a failing jUnit test.  Here is the relevant part of the failure:
> Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec <<< FAILURE!
> testMandatoryAttributesPresentInConstraintDescriptor(org.apache.bval.jsr303.BeanDescriptorTest)  Time elapsed: 0 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: payload attribute not present
>         at junit.framework.Assert.fail(Assert.java:47)
>         at junit.framework.Assert.assertTrue(Assert.java:20)
>         at org.apache.bval.jsr303.BeanDescriptorTest.testMandatoryAttributesPres
> entInConstraintDescriptor(BeanDescriptorTest.java:69)
> <snip>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (BVAL-48) jUnit failure during build on Windows - trunk rev 945800

Posted by "Jeremy Bauer (JIRA)" <bv...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/BVAL-48?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12868794#action_12868794 ] 

Jeremy Bauer commented on BVAL-48:
----------------------------------

I tried building with IBM SDK 1.6 SR5 on XP and the build was successful.  Looks to be either a JDK issue or a test ordering issue.

> jUnit failure during build on Windows - trunk rev 945800
> --------------------------------------------------------
>
>                 Key: BVAL-48
>                 URL: https://issues.apache.org/jira/browse/BVAL-48
>             Project: BeanValidation
>          Issue Type: Bug
>          Components: jsr303
>         Environment: Windows XP, Sun JDK 1.6 SR16, Maven 2.2.0
>            Reporter: Jeremy Bauer
>
> I am unable to build trunk on Windows due to a failing jUnit test.  Here is the relevant part of the failure:
> Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec <<< FAILURE!
> testMandatoryAttributesPresentInConstraintDescriptor(org.apache.bval.jsr303.BeanDescriptorTest)  Time elapsed: 0 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: payload attribute not present
>         at junit.framework.Assert.fail(Assert.java:47)
>         at junit.framework.Assert.assertTrue(Assert.java:20)
>         at org.apache.bval.jsr303.BeanDescriptorTest.testMandatoryAttributesPres
> entInConstraintDescriptor(BeanDescriptorTest.java:69)
> <snip>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (BVAL-48) jUnit failure during build on Windows - trunk rev 945800

Posted by "Jeremy Bauer (JIRA)" <bv...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/BVAL-48?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeremy Bauer reassigned BVAL-48:
--------------------------------

    Assignee: Jeremy Bauer

> jUnit failure during build on Windows - trunk rev 945800
> --------------------------------------------------------
>
>                 Key: BVAL-48
>                 URL: https://issues.apache.org/jira/browse/BVAL-48
>             Project: BeanValidation
>          Issue Type: Bug
>          Components: jsr303
>         Environment: Windows XP, Sun JDK 1.6 SR16, Maven 2.2.0
>            Reporter: Jeremy Bauer
>            Assignee: Jeremy Bauer
>
> I am unable to build trunk on Windows due to a failing jUnit test.  Here is the relevant part of the failure:
> Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec <<< FAILURE!
> testMandatoryAttributesPresentInConstraintDescriptor(org.apache.bval.jsr303.BeanDescriptorTest)  Time elapsed: 0 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: payload attribute not present
>         at junit.framework.Assert.fail(Assert.java:47)
>         at junit.framework.Assert.assertTrue(Assert.java:20)
>         at org.apache.bval.jsr303.BeanDescriptorTest.testMandatoryAttributesPres
> entInConstraintDescriptor(BeanDescriptorTest.java:69)
> <snip>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (BVAL-48) jUnit failure during build on Windows - trunk rev 945800

Posted by "Carlos Vara (JIRA)" <bv...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/BVAL-48?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12868830#action_12868830 ] 

Carlos Vara commented on BVAL-48:
---------------------------------

Hi Jeremy,

nice catch there. I ran across the same problem these last days. I included the same patch as part of BVAL-47, which also fixed it for me.

Pretty funny to debug tho, as in my env the groups attribute was always evaluated first when debugging and last when running...

> jUnit failure during build on Windows - trunk rev 945800
> --------------------------------------------------------
>
>                 Key: BVAL-48
>                 URL: https://issues.apache.org/jira/browse/BVAL-48
>             Project: BeanValidation
>          Issue Type: Bug
>          Components: jsr303
>         Environment: Windows XP, Sun JDK 1.6 SR16, Maven 2.2.0
>            Reporter: Jeremy Bauer
>            Assignee: Jeremy Bauer
>             Fix For: 0.1-incubating
>
>
> I am unable to build trunk on Windows due to a failing jUnit test.  Here is the relevant part of the failure:
> Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec <<< FAILURE!
> testMandatoryAttributesPresentInConstraintDescriptor(org.apache.bval.jsr303.BeanDescriptorTest)  Time elapsed: 0 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: payload attribute not present
>         at junit.framework.Assert.fail(Assert.java:47)
>         at junit.framework.Assert.assertTrue(Assert.java:20)
>         at org.apache.bval.jsr303.BeanDescriptorTest.testMandatoryAttributesPres
> entInConstraintDescriptor(BeanDescriptorTest.java:69)
> <snip>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.