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-2750152-67.195.81.153-1451894542455, createdRollbackImages=true, finalizeTime=0, startTime=1451894544449})>

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-2750152-67.195.81.153-1451894542455, createdRollbackImages=true, finalizeTime=0, startTime=1451894544449})>
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 navis
, 1 year ago
expected null, but was:<11,11,1450659858789,1450659858789,0,0,0,95070444354404353,25,0,11 >
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-2750152-67.195.81.153-1451894542455, createdRollbackImages=true, finalizeTime=0, startTime=1451894544449})>
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.