java.lang.ClassCastException: com.icesoft.faces.webapp.http.servlet.ServletExternalContext$1

Icesoft | jefftalley | 8 years ago
  1. 0

    ClassCastException when using WebLogic authentication

    Icesoft | 8 years ago | jefftalley
    java.lang.ClassCastException: com.icesoft.faces.webapp.http.servlet.ServletExternalContext$1
  2. 0

    JSP Actor Not Working

    Oracle Community | 1 year ago | Jagdev Singh
    java.lang.ClassCastException: atg.servlet.DynamoHttpServletRequest **** Error Thu Jul 02 12:56:48 IST 2015 1435822008985 /atg/rest/processor/RestActorManager
  3. 0

    Classcastexception occurs randomly

    Stack Overflow | 7 years ago | HariKJ
    java.lang.RuntimeException: Unable to start activity ComponentInfo{}: java.lang.RuntimeException: Unable to start activity ComponentInfo{}: java.lang.ClassCastException: android.view.AbsSavedState$1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    App crashes after receving phone call

    Stack Overflow | 6 years ago | Aymon Fournier
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.bookcessed.booksearch/com.bookcessed.booksearch.activities.ChooseProviderActivity}: java.lang.ClassCastException: android.view.AbsSavedState$1
  6. 0

    I have a UDF that worked in 2.4 but fails in 3.1.1 with a class cast exception. It expects args[0].evaluate(eval) to return a List, but in 3.1.1 it returns an anonymous iterable from mondrian.rolap.RolapNamedSetEvaluator instead, resulting in a class cast exception. This was originally mentioned in MONDRIAN-588, but I should have provided a better reproduction case. The following test can be added tpo testsrc/main/mondrian/test/UdfTest to demonstrate the problem on the Reverse function: public void testListUdfWithSetArgument() { TestContext tc = TestContext.create( null, null, null, null, "<UserDefinedFunction name=\"Reverse\" className=\"" + ReverseFunction.class.getName() + "\"/>\n", null); tc.assertQueryReturns( "with set [RM] as '[Gender].Members'\n" + "select Reverse([RM]) on 0\n" + "from [Sales]", "Axis #0:\n" + "{}\n" + "Axis #1:\n" + "{[Gender].[All Gender].[M]}\n" + "{[Gender].[All Gender].[F]}\n" + "{[Gender].[All Gender]}\n" + "Row #0: 135,215\n" + "Row #0: 131,558\n" + "Row #0: 266,773\n"); } The resulting error: mondrian.olap.MondrianException: Mondrian Error:Internal error: Error while executing query [with set [RM] as '[Gender].Members' select Reverse([RM]) ON COLUMNS from [Sales] ] at mondrian.resource.MondrianResource$_Def0.ex( at mondrian.olap.Util.newInternal( at mondrian.olap.Util.newError( at mondrian.rolap.RolapConnection.execute( at mondrian.test.TestContext.executeQuery( at mondrian.test.TestContext.assertQueryReturns( at mondrian.test.UdfTest.testListUdfWithSetArgument( at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke( at sun.reflect.DelegatingMethodAccessorImpl.invoke( at com.intellij.rt.execution.junit.JUnitStarter.main( Caused by: java.lang.ClassCastException: mondrian.rolap.RolapNamedSetEvaluator$1 at mondrian.test.UdfTest$ReverseFunction.execute( at$ListCalcImpl.evaluateList( at mondrian.calc.impl.AbstractListCalc.evaluateMemberList( at mondrian.calc.impl.AbstractExpCompiler$MemberListIterCalc.evaluateMemberIterable( at mondrian.calc.impl.AbstractMemberIterCalc.evaluate( at mondrian.rolap.RolapResult.executeAxis( at mondrian.rolap.RolapResult.evalLoad( at mondrian.rolap.RolapResult.loadMembers( at mondrian.rolap.RolapResult.<init>( at mondrian.rolap.RolapConnection.execute( ... 19 more

    Pentaho BI Platform Tracking | 7 years ago | Eric McDermid
    mondrian.olap.MondrianException: Mondrian Error:Internal error: Error while executing query [with set [RM] as '[Gender].Members' select Reverse([RM]) ON COLUMNS from [Sales] ]

    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.ClassCastException


      at weblogic.servlet.internal.ServletRequestImpl.getOriginalRequest()
    2. Atmosphere weblogic
      1. weblogic.servlet.internal.ServletRequestImpl.getOriginalRequest(
      1 frame
      2 frames
    4. test
      1. test.CseSecurityBean.loginUser(
      1 frame