org.apache.shiro.authc.AuthenticationException: Authentication failed for token submission [org.apache.shiro.authc.UsernamePasswordToken - testUser, rememberMe=false]. Possible unexpected error? (Typical or expected login exceptions should extend from AuthenticationException).

Google Groups | Linus Nikander | 1 year ago
  1. 0

    Error login in using custom user table

    Google Groups | 1 year ago | Linus Nikander
    org.apache.shiro.authc.AuthenticationException: Authentication failed for token submission [org.apache.shiro.authc.UsernamePasswordToken - testUser, rememberMe=false]. Possible unexpected error? (Typical or expected login exceptions should extend from AuthenticationException).
  2. 0

    Marshalling RectifiedGridType results in ClassCastException

    GitHub | 1 year ago | avautour
    java.lang.ClassCastException: java.math.BigInteger cannot be cast to java.lang.String
  3. 0

    Exception while Deleting End Entity Profile

    ejbca | 5 years ago | newtoejbca
    java.lang.ClassCastException: java.math.BigDecimal cannot be cast to java.math.BigInteger
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Exception while Deleting End Entity Profile

    ejbca | 5 years ago | newtoejbca
    java.lang.ClassCastException: java.math.BigDecimal cannot be cast to java.math.BigInteger

    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

      java.lang.String cannot be cast to java.math.BigInteger

      at org.hibernate.type.descriptor.java.BigIntegerTypeDescriptor.unwrap()
    2. Hibernate
      Criteria$list$0.call
      1. org.hibernate.type.descriptor.java.BigIntegerTypeDescriptor.unwrap(BigIntegerTypeDescriptor.java:36)[hibernate-core-4.3.8.Final.jar:4.3.8.Final]
      2. org.hibernate.type.descriptor.sql.DecimalTypeDescriptor$1.doBind(DecimalTypeDescriptor.java:65)[hibernate-core-4.3.8.Final.jar:4.3.8.Final]
      3. org.hibernate.type.descriptor.sql.BasicBinder.bind(BasicBinder.java:90)[hibernate-core-4.3.8.Final.jar:4.3.8.Final]
      4. org.hibernate.type.AbstractStandardBasicType.nullSafeSet(AbstractStandardBasicType.java:286)[hibernate-core-4.3.8.Final.jar:4.3.8.Final]
      5. org.hibernate.type.AbstractStandardBasicType.nullSafeSet(AbstractStandardBasicType.java:281)[hibernate-core-4.3.8.Final.jar:4.3.8.Final]
      6. org.hibernate.loader.Loader.bindPositionalParameters(Loader.java:1995)[hibernate-core-4.3.8.Final.jar:4.3.8.Final]
      7. org.hibernate.loader.Loader.bindParameterValues(Loader.java:1966)[hibernate-core-4.3.8.Final.jar:4.3.8.Final]
      8. org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1901)[hibernate-core-4.3.8.Final.jar:4.3.8.Final]
      9. org.hibernate.loader.Loader.executeQueryStatement(Loader.java:1862)[hibernate-core-4.3.8.Final.jar:4.3.8.Final]
      10. org.hibernate.loader.Loader.executeQueryStatement(Loader.java:1839)[hibernate-core-4.3.8.Final.jar:4.3.8.Final]
      11. org.hibernate.loader.Loader.doQuery(Loader.java:910)[hibernate-core-4.3.8.Final.jar:4.3.8.Final]
      12. org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:355)[hibernate-core-4.3.8.Final.jar:4.3.8.Final]
      13. org.hibernate.loader.Loader.doList(Loader.java:2554)[hibernate-core-4.3.8.Final.jar:4.3.8.Final]
      14. org.hibernate.loader.Loader.doList(Loader.java:2540)[hibernate-core-4.3.8.Final.jar:4.3.8.Final]
      15. org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2370)[hibernate-core-4.3.8.Final.jar:4.3.8.Final]
      16. org.hibernate.loader.Loader.list(Loader.java:2365)[hibernate-core-4.3.8.Final.jar:4.3.8.Final]
      17. org.hibernate.loader.criteria.CriteriaLoader.list(CriteriaLoader.java:126)[hibernate-core-4.3.8.Final.jar:4.3.8.Final]
      18. org.hibernate.internal.SessionImpl.list(SessionImpl.java:1682)[hibernate-core-4.3.8.Final.jar:4.3.8.Final]
      19. org.hibernate.internal.CriteriaImpl.list(CriteriaImpl.java:380)[hibernate-core-4.3.8.Final.jar:4.3.8.Final]
      20. org.hibernate.Criteria$list$0.call(Unknown Source)[na:na]
      20 frames
    3. Unknown
      Security.doGetAuthenticationInfo
      1. Security.loadAuthenticationInfo(Security.groovy:142)[na:na]
      2. Security$loadAuthenticationInfo.callCurrent(Unknown Source)[na:na]
      3. Security.doGetAuthenticationInfo(Security.groovy:113)[na:na]
      3 frames
    4. Shiro
      AuthenticatingRealm.getAuthenticationInfo
      1. org.apache.shiro.realm.AuthenticatingRealm.getAuthenticationInfo(AuthenticatingRealm.java:568)[shiro-core-1.2.3.jar:1.2.3]
      1 frame
    5. com.manydesigns.portofino
      SecurityGroovyRealm.getAuthenticationInfo
      1. com.manydesigns.portofino.shiro.SecurityGroovyRealm.getAuthenticationInfo(SecurityGroovyRealm.java:213)[portofino-pageactions-4.1.3.jar:4.1.3]
      1 frame
    6. Shiro
      DelegatingSubject.login
      1. org.apache.shiro.authc.pam.ModularRealmAuthenticator.doSingleRealmAuthentication(ModularRealmAuthenticator.java:180)[shiro-core-1.2.3.jar:1.2.3]
      2. org.apache.shiro.authc.pam.ModularRealmAuthenticator.doAuthenticate(ModularRealmAuthenticator.java:267)[shiro-core-1.2.3.jar:1.2.3]
      3. org.apache.shiro.authc.AbstractAuthenticator.authenticate(AbstractAuthenticator.java:198)[shiro-core-1.2.3.jar:1.2.3]
      4. org.apache.shiro.mgt.AuthenticatingSecurityManager.authenticate(AuthenticatingSecurityManager.java:106)[shiro-core-1.2.3.jar:1.2.3]
      5. org.apache.shiro.mgt.DefaultSecurityManager.login(DefaultSecurityManager.java:270)[shiro-core-1.2.3.jar:1.2.3]
      6. org.apache.shiro.subject.support.DelegatingSubject.login(DelegatingSubject.java:256)[shiro-core-1.2.3.jar:1.2.3]
      6 frames
    7. com.manydesigns.portofino
      LoginAction.login
      1. com.manydesigns.portofino.actions.user.LoginAction.login(LoginAction.java:152)[portofino-base-4.1.3.jar:4.1.3]
      1 frame
    8. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.7.0_80]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[na:1.7.0_80]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.7.0_80]
      4. java.lang.reflect.Method.invoke(Method.java:606)[na:1.7.0_80]
      4 frames
    9. Stripes
      ExecutionContext.proceed
      1. net.sourceforge.stripes.controller.DispatcherHelper$6.intercept(DispatcherHelper.java:456)[stripes-1.5.8.jar:1.5.8]
      2. net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:158)[stripes-1.5.8.jar:1.5.8]
      2 frames
    10. com.manydesigns.portofino
      GuardsInterceptor.intercept
      1. com.manydesigns.portofino.interceptors.GuardsInterceptor.intercept(GuardsInterceptor.java:61)[portofino-base-4.1.3.jar:4.1.3]
      1 frame
    11. Stripes
      DispatcherServlet.service
      1. net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:155)[stripes-1.5.8.jar:1.5.8]
      2. net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor.intercept(BeforeAfterMethodInterceptor.java:113)[stripes-1.5.8.jar:1.5.8]
      3. net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:155)[stripes-1.5.8.jar:1.5.8]
      4. net.sourceforge.stripes.controller.ExecutionContext.wrap(ExecutionContext.java:74)[stripes-1.5.8.jar:1.5.8]
      5. net.sourceforge.stripes.controller.DispatcherHelper.invokeEventHandler(DispatcherHelper.java:454)[stripes-1.5.8.jar:1.5.8]
      6. net.sourceforge.stripes.controller.DispatcherServlet.invokeEventHandler(DispatcherServlet.java:278)[stripes-1.5.8.jar:1.5.8]
      7. net.sourceforge.stripes.controller.DispatcherServlet.service(DispatcherServlet.java:160)[stripes-1.5.8.jar:1.5.8]
      7 frames
    12. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:731)[servlet-api.jar:na]
      1 frame
    13. Stripes
      DynamicMappingFilter.doFilter
      1. net.sourceforge.stripes.controller.DynamicMappingFilter$2.doFilter(DynamicMappingFilter.java:453)[stripes-1.5.8.jar:1.5.8]
      2. net.sourceforge.stripes.controller.StripesFilter.doFilter(StripesFilter.java:260)[stripes-1.5.8.jar:1.5.8]
      3. net.sourceforge.stripes.controller.DynamicMappingFilter.doFilter(DynamicMappingFilter.java:440)[stripes-1.5.8.jar:1.5.8]
      3 frames
    14. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)[catalina.jar:7.0.62]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)[catalina.jar:7.0.62]
      2 frames
    15. com.manydesigns.portofino
      I18nFilter.doFilter
      1. com.manydesigns.portofino.servlets.I18nFilter.doFilter(I18nFilter.java:60)[portofino-base-4.1.3.jar:4.1.3]
      1 frame
    16. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)[catalina.jar:7.0.62]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)[catalina.jar:7.0.62]
      2 frames
    17. Stripes
      StripesFilter.doFilter
      1. net.sourceforge.stripes.controller.StripesFilter.doFilter(StripesFilter.java:260)[stripes-1.5.8.jar:1.5.8]
      1 frame
    18. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)[catalina.jar:7.0.62]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)[catalina.jar:7.0.62]
      2 frames
    19. com.manydesigns.portofino
      CleanupFilter.doFilter
      1. com.manydesigns.portofino.servlets.CleanupFilter.doFilter(CleanupFilter.java:47)[portofino-database-4.1.3.jar:4.1.3]
      1 frame
    20. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)[catalina.jar:7.0.62]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)[catalina.jar:7.0.62]
      2 frames
    21. com.manydesigns.portofino
      DispatcherFilter.doFilter
      1. com.manydesigns.portofino.servlets.DispatcherFilter.doFilter(DispatcherFilter.java:61)[portofino-pageactions-4.1.3.jar:4.1.3]
      1 frame
    22. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)[catalina.jar:7.0.62]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)[catalina.jar:7.0.62]
      2 frames
    23. Shiro
      OncePerRequestFilter.doFilter
      1. org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)[shiro-web-1.2.3.jar:1.2.3]
      2. org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)[shiro-web-1.2.3.jar:1.2.3]
      3. org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)[shiro-core-1.2.3.jar:1.2.3]
      4. org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)[shiro-core-1.2.3.jar:1.2.3]
      5. org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383)[shiro-core-1.2.3.jar:1.2.3]
      6. org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)[shiro-web-1.2.3.jar:1.2.3]
      7. org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)[shiro-web-1.2.3.jar:1.2.3]
      7 frames
    24. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)[catalina.jar:7.0.62]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)[catalina.jar:7.0.62]
      2 frames
    25. com.manydesigns.elements
      ElementsFilter.doFilter
      1. com.manydesigns.elements.servlet.ElementsFilter.doHttpFilter(ElementsFilter.java:132)[elements-4.1.3.jar:4.1.3]
      2. com.manydesigns.elements.servlet.ElementsFilter.doFilter(ElementsFilter.java:83)[elements-4.1.3.jar:4.1.3]
      2 frames
    26. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)[catalina.jar:7.0.62]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)[catalina.jar:7.0.62]
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)[catalina.jar:7.0.62]
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)[catalina.jar:7.0.62]
      5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)[catalina.jar:7.0.62]
      6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)[catalina.jar:7.0.62]
      7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)[catalina.jar:7.0.62]
      8. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:957)[catalina.jar:7.0.62]
      9. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)[catalina.jar:7.0.62]
      10. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423)[catalina.jar:7.0.62]
      10 frames
    27. Grizzly HTTP
      JIoEndpoint$SocketProcessor.run
      1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1079)[tomcat-coyote.jar:7.0.62]
      2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:620)[tomcat-coyote.jar:7.0.62]
      3. org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318)[tomcat-coyote.jar:7.0.62]
      3 frames
    28. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[na:1.7.0_80]
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[na:1.7.0_80]
      2 frames
    29. Tomcat Util
      TaskThread$WrappingRunnable.run
      1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)[tomcat-coyote.jar:7.0.62]
      1 frame
    30. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)[na:1.7.0_80]
      1 frame