java.lang.AssertionError: expected:</stacks> but was:<null>

Apache's JIRA Issue Tracker | Tsz Wo Nicholas Sze | 5 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    When a servlet filter throws a ServletException in init(..), the exception is logged by Jetty but not re-throws to the caller. As a result, the Jetty server failed silently.

    Apache's JIRA Issue Tracker | 5 years ago | Tsz Wo Nicholas Sze
    java.lang.AssertionError: expected:</stacks> but was:<null>
  2. 0

    [HADOOP-7688] When a servlet filter throws an exception in init(..), the Jetty server failed silently. - ASF JIRA

    apache.org | 1 year ago
    java.lang.AssertionError: expected:</stacks> but was:<null>
  3. 0

    When a servlet filter throws a ServletException in init(..), the exception is logged by Jetty but not re-throws to the caller. As a result, the Jetty server failed silently.

    Apache's JIRA Issue Tracker | 5 years ago | Tsz Wo Nicholas Sze
    java.lang.AssertionError: expected:</stacks> but was:<null>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [jira] [Assigned] (HDFS-5666) TestBPOfferService#/testBPInitErrorHandling fails intermittently

    hadoop-hdfs-issues | 3 years ago | Jimmy Xiang (JIRA)
    java.lang.AssertionError: expected:<1> but was:<2>
  6. 0

    [jira] [Commented] (HDFS-5666) TestBPOfferService#/testBPInitErrorHandling fails intermittently

    hadoop-hdfs-issues | 3 years ago | Jimmy Xiang (JIRA)
    java.lang.AssertionError: expected:<1> but was:<2>

  1. odd 1 times, last 4 days ago
  2. jf-ast 2 times, last 7 days ago
  3. rsprangemeijer 1 times, last 3 weeks ago
  4. aldrinleal 1 times, last 4 weeks ago
  5. treefolk 3 times, last 2 months ago
8 more registered users
33 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.AssertionError

    expected:</stacks> but was:<null>

    at org.junit.Assert.fail()
  2. JUnit
    Assert.assertEquals
    1. org.junit.Assert.fail(Assert.java:91)
    2. org.junit.Assert.failNotEquals(Assert.java:645)
    3. org.junit.Assert.assertEquals(Assert.java:126)
    4. org.junit.Assert.assertEquals(Assert.java:145)
    4 frames
  3. Hadoop
    TestServletFilter.testServletFilter
    1. org.apache.hadoop.http.TestServletFilter.testServletFilter(TestServletFilter.java:133)
    1 frame