java.lang.AssertionError

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

Check your pattern declaration or check your assert declaration.


rafaelrafael

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • Hadoop-Hdfs-trunk - Build # 2711 - Still Failing
    via by Apache Jenkins Server,
  • Hadoop-Hdfs-trunk - Build # 2685 - Still Failing
    via by Apache Jenkins Server,
  • Hadoop-Hdfs-trunk - Build # 2684 - Failure
    via by Apache Jenkins Server,
  • How to test delete method
    via Stack Overflow by gstackoverflow
    ,
    • java.lang.AssertionError: expected null, but was:<javax.management.openmbean.CompositeDataSupport(compositeType=javax.management.openmbean.CompositeType(name=org.apache.hadoop.hdfs.protocol.RollingUpgradeInfo$Bean,items=((itemName=blockPoolId,itemType=javax.management.openmbean.SimpleType(name=java.lang.String)),(itemName=createdRollbackImages,itemType=javax.management.openmbean.SimpleType(name=java.lang.Boolean)),(itemName=finalizeTime,itemType=javax.management.openmbean.SimpleType(name=java.lang.Long)),(itemName=startTime,itemType=javax.management.openmbean.SimpleType(name=java.lang.Long)))),contents={blockPoolId=BP-421661364-67.195.81.153-1452420365057, createdRollbackImages=true, finalizeTime=0, startTime=1452420366966})> at org.junit.Assert.fail(Assert.java:88) at org.junit.Assert.failNotNull(Assert.java:664) at org.junit.Assert.assertNull(Assert.java:646) at org.junit.Assert.assertNull(Assert.java:656) at org.apache.hadoop.hdfs.TestRollingUpgrade.checkMxBeanIsNull(TestRollingUpgrade.java:294) at org.apache.hadoop.hdfs.TestRollingUpgrade.testDFSAdminRollingUpgradeCommands(TestRollingUpgrade.java:101)

    Users with the same issue

    osvzsosvzs
    3 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    marcbouvierdavmarcbouvierdav
    1 times, last one,
    jf-astjf-ast
    1 times, last one,
    oddodd
    3 times, last one,
    95 more bugmates