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-1225091774-67.195.81.153-1451909566489, createdRollbackImages=true, finalizeTime=0, startTime=1451909568431})>

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

Check your pattern declaration or check your assert declaration.

Solutions on the web

via hadoop-hdfs-dev by Apache Jenkins Server, 1 year ago
=startTime,itemType=javax.management.openmbean.SimpleType(name=java.lang.Long)))),contents={blockPoolId=BP-1225091774-67.195.81.153-1451909566489, createdRollbackImages=true, finalizeTime=0, startTime=1451909568431})>
via hadoop-hdfs-dev by Apache Jenkins Server, 1 year ago
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
via hadoop-hdfs-dev by Apache Jenkins Server, 1 year ago
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
via GitHub by egonw
, 10 months ago
expected null, but was:<>
via GitHub by nishantmonu51
, 1 year ago
expected null, but was:<2,2,1461091070509,1461091070509,0,2,0,0,11,0,5 >
via GitHub by pjain1
, 2 years ago
expected null, but was:<10,10,1447436227166,1447436227166,0,0,0,94859180405555201,25,0,10>
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-1225091774-67.195.81.153-1451909566489, createdRollbackImages=true, finalizeTime=0, startTime=1451909568431})>
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)

Users with the same issue

3 times, 6 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 4 months ago
Once, 4 months ago
5 times, 6 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.