You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Patrick Hunt (Created) (JIRA)" <ji...@apache.org> on 2011/12/22 01:31:32 UTC

[jira] [Created] (ZOOKEEPER-1338) class cast exceptions may be thrown by multi ErrorResult class (invalid equals)

class cast exceptions may be thrown by multi ErrorResult class (invalid equals)
-------------------------------------------------------------------------------

                 Key: ZOOKEEPER-1338
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1338
             Project: ZooKeeper
          Issue Type: Bug
          Components: java client
    Affects Versions: 3.4.0
            Reporter: Patrick Hunt
            Assignee: Patrick Hunt
             Fix For: 3.5.0, 3.4.3


There's a bug in ErrorResult and perhaps some of the other OpResult equals methods in multi.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (ZOOKEEPER-1338) class cast exceptions may be thrown by multi ErrorResult class (invalid equals)

Posted by "Mahadev konar (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ZOOKEEPER-1338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mahadev konar updated ZOOKEEPER-1338:
-------------------------------------

    Attachment: ZOOKEEPER-1338.patch

Updated patch  that applies to trunk and 3.4 branch.
                
> class cast exceptions may be thrown by multi ErrorResult class (invalid equals)
> -------------------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-1338
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1338
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: java client
>    Affects Versions: 3.4.0
>            Reporter: Patrick Hunt
>            Assignee: Patrick Hunt
>             Fix For: 3.4.3, 3.5.0
>
>         Attachments: ZOOKEEPER-1338.patch, ZOOKEEPER-1338.patch
>
>
> There's a bug in ErrorResult and perhaps some of the other OpResult equals methods in multi.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (ZOOKEEPER-1338) class cast exceptions may be thrown by multi ErrorResult class (invalid equals)

Posted by "Hadoop QA (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-1338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13201190#comment-13201190 ] 

Hadoop QA commented on ZOOKEEPER-1338:
--------------------------------------

+1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12513417/ZOOKEEPER-1338.patch
  against trunk revision 1240949.

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 3 new or modified tests.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs (version 1.3.9) warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    +1 core tests.  The patch passed core unit tests.

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/950//testReport/
Findbugs warnings: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/950//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/950//console

This message is automatically generated.
                
> class cast exceptions may be thrown by multi ErrorResult class (invalid equals)
> -------------------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-1338
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1338
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: java client
>    Affects Versions: 3.4.0
>            Reporter: Patrick Hunt
>            Assignee: Patrick Hunt
>             Fix For: 3.4.3, 3.5.0
>
>         Attachments: ZOOKEEPER-1338.patch, ZOOKEEPER-1338.patch
>
>
> There's a bug in ErrorResult and perhaps some of the other OpResult equals methods in multi.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (ZOOKEEPER-1338) class cast exceptions may be thrown by multi ErrorResult class (invalid equals)

Posted by "Patrick Hunt (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ZOOKEEPER-1338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Patrick Hunt updated ZOOKEEPER-1338:
------------------------------------

    Attachment: ZOOKEEPER-1338.patch

Fixes the bugs in equals, also makes OpResult abstract.
                
> class cast exceptions may be thrown by multi ErrorResult class (invalid equals)
> -------------------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-1338
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1338
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: java client
>    Affects Versions: 3.4.0
>            Reporter: Patrick Hunt
>            Assignee: Patrick Hunt
>             Fix For: 3.5.0, 3.4.3
>
>         Attachments: ZOOKEEPER-1338.patch
>
>
> There's a bug in ErrorResult and perhaps some of the other OpResult equals methods in multi.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (ZOOKEEPER-1338) class cast exceptions may be thrown by multi ErrorResult class (invalid equals)

Posted by "Hadoop QA (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-1338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13174560#comment-13174560 ] 

Hadoop QA commented on ZOOKEEPER-1338:
--------------------------------------

+1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12508332/ZOOKEEPER-1338.patch
  against trunk revision 1221868.

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 3 new or modified tests.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs (version 1.3.9) warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    +1 core tests.  The patch passed core unit tests.

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/848//testReport/
Findbugs warnings: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/848//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/848//console

This message is automatically generated.
                
> class cast exceptions may be thrown by multi ErrorResult class (invalid equals)
> -------------------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-1338
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1338
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: java client
>    Affects Versions: 3.4.0
>            Reporter: Patrick Hunt
>            Assignee: Patrick Hunt
>             Fix For: 3.5.0, 3.4.3
>
>         Attachments: ZOOKEEPER-1338.patch
>
>
> There's a bug in ErrorResult and perhaps some of the other OpResult equals methods in multi.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (ZOOKEEPER-1338) class cast exceptions may be thrown by multi ErrorResult class (invalid equals)

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-1338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13201210#comment-13201210 ] 

Hudson commented on ZOOKEEPER-1338:
-----------------------------------

Integrated in ZooKeeper-trunk #1451 (See [https://builds.apache.org/job/ZooKeeper-trunk/1451/])
    ZOOKEEPER-1338. class cast exceptions may be thrown by multi ErrorResult class (invalid equals) (phunt via mahadev)

mahadev : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1240959
Files : 
* /zookeeper/trunk/CHANGES.txt
* /zookeeper/trunk/src/java/main/org/apache/zookeeper/OpResult.java
* /zookeeper/trunk/src/java/test/org/apache/zookeeper/test/MultiTransactionTest.java

                
> class cast exceptions may be thrown by multi ErrorResult class (invalid equals)
> -------------------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-1338
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1338
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: java client
>    Affects Versions: 3.4.0
>            Reporter: Patrick Hunt
>            Assignee: Patrick Hunt
>             Fix For: 3.4.3, 3.5.0
>
>         Attachments: ZOOKEEPER-1338.patch, ZOOKEEPER-1338.patch, ZOOKEEPER-1338.patch
>
>
> There's a bug in ErrorResult and perhaps some of the other OpResult equals methods in multi.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (ZOOKEEPER-1338) class cast exceptions may be thrown by multi ErrorResult class (invalid equals)

Posted by "Mahadev konar (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ZOOKEEPER-1338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mahadev konar updated ZOOKEEPER-1338:
-------------------------------------

    Attachment: ZOOKEEPER-1338.patch

Updated patch after ZOOKEEPER-1337 was committed.
                
> class cast exceptions may be thrown by multi ErrorResult class (invalid equals)
> -------------------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-1338
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1338
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: java client
>    Affects Versions: 3.4.0
>            Reporter: Patrick Hunt
>            Assignee: Patrick Hunt
>             Fix For: 3.4.3, 3.5.0
>
>         Attachments: ZOOKEEPER-1338.patch, ZOOKEEPER-1338.patch, ZOOKEEPER-1338.patch
>
>
> There's a bug in ErrorResult and perhaps some of the other OpResult equals methods in multi.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (ZOOKEEPER-1338) class cast exceptions may be thrown by multi ErrorResult class (invalid equals)

Posted by "Hadoop QA (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-1338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13201118#comment-13201118 ] 

Hadoop QA commented on ZOOKEEPER-1338:
--------------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12508332/ZOOKEEPER-1338.patch
  against trunk revision 1240905.

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 3 new or modified tests.

    -1 patch.  The patch command could not apply the patch.

Console output: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/945//console

This message is automatically generated.
                
> class cast exceptions may be thrown by multi ErrorResult class (invalid equals)
> -------------------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-1338
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1338
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: java client
>    Affects Versions: 3.4.0
>            Reporter: Patrick Hunt
>            Assignee: Patrick Hunt
>             Fix For: 3.4.3, 3.5.0
>
>         Attachments: ZOOKEEPER-1338.patch
>
>
> There's a bug in ErrorResult and perhaps some of the other OpResult equals methods in multi.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira