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

Apache's JIRA Issue Tracker | Tsz Wo Nicholas Sze | 5 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded 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

    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>
  3. 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>
  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. jf-ast 3 times, last 2 weeks ago
  2. treefolk 3 times, last 3 weeks ago
  3. kjhdofjosvs 1 times, last 2 months ago
  4. MoYapro 3 times, last 2 months ago
  5. andyglick 1 times, last 2 months ago
5 more registered users
32 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